#ble Refresh advertising data after disconnect #ble


In disconnect callback event I was try to update advertising data but function "bt_le_adv_update_data" return with -11 (error code).
As I understand BLE stack start to advwrise after disconnect automaticly. Is there and event or callback function that indicate this.
I can not use disconnect event because this event is fired befor stack start to advertise.

Any suggestion?

Best regards


Join devel@lists.zephyrproject.org to automatically receive all group messages.