hi, I am switch from sdk 12.2.0 to sdk 14.2.0, I could not find softdevice_ble_evt_handler_set() and softdevice_sys_evt_handler_set(). what should I do with these two? and how can I get the information about your function changes?
Thanks.
hi, I am switch from sdk 12.2.0 to sdk 14.2.0, I could not find softdevice_ble_evt_handler_set() and softdevice_sys_evt_handler_set(). what should I do with these two? and how can I get the information about your function changes?
Thanks.
Hi,
This thread might be of help to you:
https://devzone.nordicsemi.com/f/nordic-q-a/30470/dynamic-allocate-ble-observers/120786#120786
To register a system event, you should use the macro "NRF_SDH_SOC_OBSERVER", like done in for instance ble_advertising (BLE_ADVERTISING_DEF) and nrf_fstorage_sd.c.
The SDK documentation around the softdevice handler also lists a couple of examples:
Best regards,
Håkon