NRF_SDH_BLE_OBSERVER(m_ble_observer, APP_BLE_OBSERVER_PRIO, ble_evt_handler, NULL);
What does m_ble_observer stand for ? i don't see any explanation in the whole project. if you know ,guide me thank you
NRF_SDH_BLE_OBSERVER(m_ble_observer, APP_BLE_OBSERVER_PRIO, ble_evt_handler, NULL);
What does m_ble_observer stand for ? i don't see any explanation in the whole project. if you know ,guide me thank you
Hello,
The NRF_SDH_BLE_OBSERVER macro is used to register application layer functions as observers to specific SoftDevice events. In essence, this means that events from the SoftDevice's different components will be sent to the application layer of your program.
You can read more in-depth about this in the SoftDevice Handler Library documentation. Specifically, you might be interested in the Registering with the nrf_sdh_* components section.
Best regards,
Karl
No problem at all, I am happy to help!
If my comment answered your question please click on the 'verify answer' button, to help anyone else having the same question.
Please do not hesitate to open another ticket if you should encounter any other issues or questions in the future.
Best regards,
Karl