This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Context lost when using NRF_SDH_BLE_OBSERVER in a non-static context

Using NRF_SDH_BLE_OBSERVER in a non-static context doesn't work because the registered variable, and therefore the handler context is lost.  How can one register for ble events in a non-static context?  I'm using C++ and would like to maintain the ble handler and context in the scope of a class.

Parents Reply Children
Related