I'm using the BlueNRG-MS as HID peripheral and having trouble with the re-connection process.
In order to reconnect with the central, I use directed advertising.
The central recognize the slave and I get pairing complete event. The problem is that HID service remains encrypted for some reason and thus I cannot send HID reports (GATT services works). I can see that the device is connected.
What is the correct procedure of initiating a reconnecting between bonded devices ? pseudo code will be welcome.