ad_len parameter is not length of complete advertising data, but number of bt_data structs passed to bt_le_per_adv_set_data - we pass only one. Also memset target buffer before converting hex string so data shorter than specified will be right-padded with zeroes instead of some leftovers. Signed-off-by: Andrzej Kaczmarek <andrzej.kaczmarek@codecoup.pl> |
||
|---|---|---|
| .. | ||
| bredr.c | ||
| bt.c | ||
| bt.h | ||
| CMakeLists.txt | ||
| gatt.c | ||
| hci.c | ||
| hci.h | ||
| iso.c | ||
| Kconfig | ||
| l2cap.c | ||
| ll.c | ||
| ll.h | ||
| rfcomm.c | ||
| ticker.c | ||