2025-02-27 4:58 AM - edited 2025-02-27 4:58 AM
Hi,
not really an issue here, but I want to understand what goes on in my BLE project.
I'm using the B-WB1M-WPAN board, starting out from the BLE_HR_p2pSensor example.
I see that my device stops advertising after I connect to it, but I can't find in the code where that happens.
I discovered that the functions:
Are used to start and stop advertising.
I also noticed that Adv_Cancel is registered as callback for a task here:
UTIL_SEQ_RegTask(1<<CFG_TASK_ADV_CANCEL_ID, UTIL_SEQ_RFU, Adv_Cancel);