Channel Sounding WARNING: "conn failed to establish. RF noise?"

Hi,

I am almost done with my code for channel sounding with multiconnections. It all works, but somethimes i get this after a certain period of time:




This Warning pops up and there is no more output... I would like to have a process that DOES NOT stop and continues with ranging even if 1 connection fails (so move on to the next device in my list).

Does anyone knows where and how i can solve this warning problem so that i can define that if this happens, we go one with the next device and so on...?

Parents
  • Hi

    This log message seems to be generated in the case of a BT_CONN_DISCONNECT_COMPLETE when the reason for disconnection is "BT_HCI_ERR_CONN_FAIL_TO_ESTAB". So upon a disconnection, what does your application do? It should be fine to just restart advertising/scanning in order to reconnect. Also, what version of the nRF Connect SDK are you using for development here, and do you see any kind of logging on the device it tries to connect to when this occurs?

    Best regards,

    Simon

  • Hi,

    This is what my code does:






    The main() function initializes the Bluetooth stack and scans for multiple devices. It stores their addresses, then sequentially reconnects to each one using stored addresses and manages connections to perform secure Bluetooth Channel Sounding (CS) based ranging. For each connection, it handles security, MTU exchange, GATT discovery, configuration, and retrieves ranging data to estimate distance.


    I am wondering if I should change my disconnected_cb() function whenever i am in the ranging phases, or if i should add something in my main() code.

    Kind regards,

    Nick De Leenheer

Reply
  • Hi,

    This is what my code does:






    The main() function initializes the Bluetooth stack and scans for multiple devices. It stores their addresses, then sequentially reconnects to each one using stored addresses and manages connections to perform secure Bluetooth Channel Sounding (CS) based ranging. For each connection, it handles security, MTU exchange, GATT discovery, configuration, and retrieves ranging data to estimate distance.


    I am wondering if I should change my disconnected_cb() function whenever i am in the ranging phases, or if i should add something in my main() code.

    Kind regards,

    Nick De Leenheer

Children
Related