Skip to content
Permalink
Browse files

Bluetooth: Host: Fix bluetooth address string length

The string "xx:xx:xx:xx:xx:xx (random-id)" is 30 characters including
zero termination.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
  • Loading branch information...
joerchan authored and carlescufi committed Aug 5, 2019
1 parent 6228a18 commit 67c66bd09d2d19cab8f0ccd77ee5f6bc3b9a8fc0
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/bluetooth/bluetooth.h
@@ -641,7 +641,7 @@ int bt_br_oob_get_local(struct bt_br_oob *oob);
* conversion will not lose valuable information about address being
* processed.
*/
#define BT_ADDR_LE_STR_LEN 27
#define BT_ADDR_LE_STR_LEN 30

/** @brief Converts binary Bluetooth address to string.
*

0 comments on commit 67c66bd

Please sign in to comment.
You can’t perform that action at this time.