Page 1 of 1

Alternating between 2 different Advertising Packets

Posted: Tue Dec 05, 2017 10:16 am
by formus14
Hello ,

right now I'm working on getting to alternate between 2 pre-defined Advertising signal per each Advertising interval.

I'm working with the framework 2.1

My function is pretty much consisting of these follow API functions in a loop

esp_ble_gap_stop_advertising()
esp_ble_gap_config_adv_data_raw() - > each loop i change the function parameters based on a certain condition
esp_ble_gap_start_advertising() -> Advertise for some time, then using a timer it repeat the loop again

but it seems to keep the same advertising packet of the same loop though, any tips for such implementation?

Thanks in advance!