Hello ,
i am trying to find out advertisement handler while SD advertising in SYSTEM ON mode.
i have added a simple counter to see if it is increasing or not but it is not.
I can connect to the device , it is advertising , i can see from the sniffer but some how it is not hitting to this on_adv_evt function.
1-) is this the correct handler function ?
2-) if it is not , how can i hook to the softdevices advertisement handler in system on sleep mode.
i am developing on segger embedded studio + SDK15 + nrf52832
/**@brief Function for handling advertising events. * * @details This function will be called for advertising events which are passed to the application. * * @param[in] ble_adv_evt Advertising event. */ volatile uint32_t count_adv = 0 ; void on_adv_evt(ble_adv_evt_t ble_adv_evt) { uint32_t err_code; count_adv++;