Hi all
I am wrking in an sample be program where ble is advertising everey 5 seconds. I have configured app timer with fire period = 5 seconds in order to read
a sensor. After reading sensor, i call sd_ble_gap_adv_data_set in order to update advdata, to be broadcasted next at the time of ble adv period.
Of course, I can change the app timer fire period for a short one, but my question is:
Is it possible to be updating the advdata (sd_ble_gap_adv_data_set) and before finishing this operation, the be advertisements starts and uncomplete
written data is broadcasted?
I have looked to function
sd_ble_gap_adv_data_set
ble_gap_adv_data_set_req_enc
and I did not see any protection (semaphore or related)
Thanks a lot
Alex