Hey,
I encountered a very strange problem while I was trying to connect from nRF52832 (as a central device) to my nRF52805 as a peripheral. If I am trying to connect to the nRF52805 from any other device (tried with more than 10 different smartphones), it connects properly.
For some reason when I try to establish a connection with my nRF52832 (central device) by calling the function:
sd_ble_gap_connect to the nRF52805 address, It starts to establish a connection and I get one interrupt from the function ble_evt_handler with BLE_GAP_EVT_CONNECTED,
BUT then when I call the ble_db_discovery_start (and I see that I get SUCCESS error code), I don't get an interrupt from the function ble_nus_c_evt_handler and the connection procedure is stuck...
I know I should get an interrupt from this function with BLE_NUS_C_EVT_DISCOVERY_COMPLETE and it should recognizes my NUS (service 01), but for some reason its not happening.
(We successfully worked in the same setup in the past, with other product we developed) |
We suspect it could be somehow related to HW / noise issues in the channel, but as mentioned before, the initial connectivity is passed, and the process gets stuck only in a later stage (as part of the handshaking, as mentioned above)
Any ideas what can cause this problem?Post
Thanks in advance!