I am using a nrf52832 with SDK 15.2 and softdevice s132 v6.1
My peripharal should transmit an iBeacon to wake up an application on the smartphone and also transmit a connectable advertising telegram so the smartphone can establish a connection with me after the wake up.
Can I setup 2 broadcasters in parallel to broadcast the IBeacon and the connectable advertising? I have searched the docu and I think it is not possible.
I am therefor trying to to stop the iBeacon advertising and init a new advertising for the connectable advertising. When doing this, I get the error "NO_MEMORY" when calling sd_ble_gap_adv_set_configure.
In the docu of sd_ble_gap_adv_start, the EVENT BLE_GAP_EVT_ADV_SET_TERMINATED is mentioned. When is this Event triggered? Or what is required to trigger this event?
What is the correct sequence to switch the advertising mode in this way:
init IBeacon advertising
start IBeacon advertising
stop IBeacon advertising
init connectable advertising
start connectable advertising
stop connectable advertising
init IBeacon advertising
start IBeacon advertising
stop IBeacon advertising
init connectable advertising
start connectable advertising
stop connectable advertising
and so on....
Happy coding
Christian