This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

NRF_SDH_SOC_OBSERVER compile error

Hi

I'm trying to register an fds_evt_handler() in SDK 14. I have several questions:

  1. Should I be registering fds_evt_handler() with NRF_SDH_SOC_OBSERVER or NRF_SDH_BLE_OBSERVER?

  2. When trying to register with NRF_SDK_SOC_OBSERVER, like so: NRF_SDH_SOC_OBSERVER(m_dfm_ble_observer, APP_BLE_OBSERVER_PRIO, dfm_fds_evt_handler, NULL), I get a compile error: "size of unnamed array is negative".

Any idea what I'm doing wrong?

Thanks

Related