I am using the following code during stack initialization: // Register with the SoftDevice handler module for BLE events. err_code = softdevice_ble_evt_handler_set(ble_evt_dispatch);
On starting advertising, I can see my board on the nRF MCP app. I try to connect to the board using the MCP app, the app shows connected, I can also disconnect and connect again. In all this, the "ble_evet_dispatch" should be called but it never does! Could someone please help me reason why?