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

What can cause BLE_HIDS_EVT_NOTIF_ENABLED not to be sent by Host.

I have situation as follows:

I have HOGP mouse device that does pair with Host (Linux, Windows). After pairing also the mouse does work. Now if I power the mouse off suddenly and power it on again, the reconnection does work but the host does not allow the mouse to send notifications. I.e. mouse does not receive the BLE_HIDS_EVT_NOTIF_ENABLED event from host. This does efficiently make the mouse unable to send events to host. This happens with Linux and W8. If I will send the movement events without getting the ...ENABLED event (i.e. ignoring it), I will receive NRF_ERROR_INVALID_STATE as return of sending datagram, the bluetooth connection is established at that point.

If I unpair the mouse and repair again, the mouse starts to work and the BLE_HIDS_EVT_NOTIF_ENABLED event will arraive to device.

I have been reading lots of documents around, and I have not been lucky to read the correct place if there is such a document available.

So, my question is, what can cause BLE_HIDS_EVT_NOTIF_ENABLED not to be sent by the Host on reconnect?

Related