Hi, I'm using SDK12.1 example ble_app_ancs_c. Is it possible keep advertising (non-connectable is ok) when ancs connecting? And how to do it?
I tried call advertising_start() at on_ble_evt->BLE_GAP_EVT_CONNECTED. But got error.
Sincerely, Kirby
Hi, I'm using SDK12.1 example ble_app_ancs_c. Is it possible keep advertising (non-connectable is ok) when ancs connecting? And how to do it?
I tried call advertising_start() at on_ble_evt->BLE_GAP_EVT_CONNECTED. But got error.
Sincerely, Kirby
This behavior is expected.
I had the same question, and came across this, but it's no good for SDK 15 - the advertising has changed significantly.
This one is for SDK 15: