Reset the channel sounding parameters after a disconnection

Hi, I am trying to sound two reflectors from a single initiator, and since the CS works on a one-to-one ACL system, I wanted to know how I can reset the CS-related stuff in the code. I did try this without reboot, the data becomes stagnant after a reconnection or when I connect 2 reflectors (not sound, but just connect)  

The sample provided by Nordic does a soft reboot, so it works flawlessly. I am trying to take a different path of not connecting to both of my nodes at once and do a soft reboot every time I wanna switch the sounding, but I wanted to know if a manual reset was possible for the CS params and buffer, so that I can continue with sounding another device without doing a soft reboot.

  • I know it's not correct to comment another persons thread, but I am commenting directly on this sample here... Slight smile

    So for this two connection example, it really doesn't scale well, due to the large buffer requirements of  latest_local_steps_storage and latest_peer_steps_storage.

    How can Channel Sounding be effectively used to support 100's of connections then?

  • I am not sure channel sounding is the best option if you plan to support 100's of connections. Bluetooth Low Energy even without channel sounding is challenging to maintain that many connections (probably impossible). 
    You can read about the scheduling in the link in my previous reply. 

    One option is probably to reconnect/disconnect whenever you change the device, but it will not be as fast, so you will not be able to get channel sounding data from all 100 devices that often. It depends on the use case. For tracking location in a storage, it might be fine, but not for real time locationing of a lot of devices. 

    Best regards,

    Edvin

Related