2024-10-06 07:24 AM
HI
Would like to know if advertisement data can be safely changed , while advertising using :
ACI_GAP_UPDATE_ADV_DATA
Safely meaning , the data is changed as a bulk, and the current advertisement will not show 'half' of the old data and 'half' of the new data while switching.
or do I have to stop advertisement-> change the ad type-> start again ?
Thanks!
Solved! Go to Solution.
2024-10-07 01:34 AM
Hello @DS.4
Yes, it should be safely to change advertisement data during active advertisement. Since the BLE specification say:
" If advertising is currently enabled, the Controller shall use the new data in subsequent advertising events. If an advertising event is in progress when this command is issued, the Controller may use the old or new data for that event. If advertising is currently disabled, the data shall be kept by the Controller and used once advertising is enabled."
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-10-07 01:34 AM
Hello @DS.4
Yes, it should be safely to change advertisement data during active advertisement. Since the BLE specification say:
" If advertising is currently enabled, the Controller shall use the new data in subsequent advertising events. If an advertising event is in progress when this command is issued, the Controller may use the old or new data for that event. If advertising is currently disabled, the data shall be kept by the Controller and used once advertising is enabled."
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.