Hi all, Please can anyone explain when the device_manager_event_handler() is triggred ? And also, what difference between on_ble_evt() and on_sys_evt() and when they are executed ? Thanks.
Hi all, Please can anyone explain when the device_manager_event_handler() is triggred ? And also, what difference between on_ble_evt() and on_sys_evt() and when they are executed ? Thanks.
Hi mohBOSS,
device_manager_event_handler() is assigned to by param.evt_handler in device_manager_init. Then evt_handler is assigned to m_application_table[0].ntf_cb and it will be called in app_evt_notify() when dm_pstorage_cb_handler() and/or dm_ble_evt_handler() executed.
Regarding on_ble_evt() and on_sys_evt(), I think I gave an answer here. Please continue on that case.
I think that I got the answer. The device_manager_event_handler() is executed in these cases: link with the peer is established or torn down, Security procedure, link was re-established , etc
I think that I got the answer. The device_manager_event_handler() is executed in these cases: link with the peer is established or torn down, Security procedure, link was re-established , etc