This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

bt_le_ext_adv_set_data fails in NCS v1.8.0

I recently updated to nRF Connect SDK v1.8.0 from v1.5.0 and am encountering a new error with the same code. The error occurs when I call bt_le_ext_adv_set_data. My advertising set has 4 elements in it and it only fails if the total number of bytes is greater than 62 bytes. I discovered the 62 byte boundary by adding a printk statement at the end of set_data_add_complete(...) in zephyr/subsys/bluetooth/host/adv.c. Anything 62 bytes or less will advertise just fine but once I go above 62 bytes I get the following warning:

<wrn> bt_hci_core: opcode 0x2037 status 0x07

and the advertisement is empty. This error did not occur with the same code using NCS v1.5.0.

Parents Reply Children
No Data
Related