Alternating between 2 different Advertising Packets

formus14
Posts: 8
Joined: Wed Nov 15, 2017 3:22 pm

Alternating between 2 different Advertising Packets

Postby formus14 » Tue Dec 05, 2017 10:16 am

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!

Who is online

Users browsing this forum: nullbert and 115 guests