Hello, I'm trying to pair one of my BLE devices which require to enter a pairing key to get paired. I see that the library has method _binc_agent_set_request_passkeycb that get called in case pairing key is requested by the BLE device. But on connection this callback method is not getting called and hence I'm not able to enter the pairing key. Hence, the connection gets timed out.
Sorry, have to take my post back. Seems I don't get the callback if I bond the device. I set up the code not to bond with the devices and now I get the prompt to enter the code.
Hello, I'm trying to pair one of my BLE devices which require to enter a pairing key to get paired. I see that the library has method _binc_agent_set_request_passkeycb that get called in case pairing key is requested by the BLE device. But on connection this callback method is not getting called and hence I'm not able to enter the pairing key. Hence, the connection gets timed out.