<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Reset the channel sounding parameters after a disconnection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126638/reset-the-channel-sounding-parameters-after-a-disconnection</link><description>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</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Mar 2026 08:22:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126638/reset-the-channel-sounding-parameters-after-a-disconnection" /><item><title>RE: Reset the channel sounding parameters after a disconnection</title><link>https://devzone.nordicsemi.com/thread/562996?ContentTypeID=1</link><pubDate>Wed, 11 Mar 2026 08:22:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f77485e7-3371-4fbb-a82d-6858cdb560e6</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I am not sure channel sounding is the best option if you plan to support 100&amp;#39;s of connections. Bluetooth Low Energy even without channel sounding is challenging to maintain that many connections (probably impossible).&amp;nbsp;&lt;br /&gt;You can read about the scheduling in the link in my previous reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;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.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset the channel sounding parameters after a disconnection</title><link>https://devzone.nordicsemi.com/thread/562759?ContentTypeID=1</link><pubDate>Sat, 07 Mar 2026 23:06:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb76748b-56e7-4d3a-b0e1-972e296a3f8a</guid><dc:creator>Application Ninja</dc:creator><description>&lt;p&gt;I know it&amp;#39;s not correct to&amp;nbsp;comment another persons thread, but I am commenting directly on this sample here... &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So for this two connection example, it really doesn&amp;#39;t scale well, due to the large buffer requirements of&amp;nbsp;&amp;nbsp;&lt;span&gt;&lt;span&gt;latest_local_steps_storage and&amp;nbsp;&lt;/span&gt;&lt;/span&gt;latest_peer_steps_storage.&lt;br /&gt;&lt;br /&gt;How can Channel Sounding be effectively used to support 100&amp;#39;s of connections then?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset the channel sounding parameters after a disconnection</title><link>https://devzone.nordicsemi.com/thread/562707?ContentTypeID=1</link><pubDate>Fri, 06 Mar 2026 09:37:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b226f0f-abb5-4073-b732-d592e83acdb1</guid><dc:creator>Vinayaka KS</dc:creator><description>&lt;p&gt;Thanks for the&amp;nbsp;information, Edvin.&lt;br /&gt;Now I see that&amp;nbsp;the problem of mismatch and disconnection actually lies in the scheduling of the events. I will port to v3.2.2&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Vinayaka KS&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset the channel sounding parameters after a disconnection</title><link>https://devzone.nordicsemi.com/thread/562624?ContentTypeID=1</link><pubDate>Thu, 05 Mar 2026 09:46:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07cb38ad-4a83-4720-817f-85931fe40c59</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;Yes, I see that this doesn&amp;#39;t build out of the box with v3.1.x, but it builds for v3.2.x. There are some API changes to the changes in the channel sounding API.&lt;/p&gt;
&lt;p&gt;It was our Channel Sounding team that suggested that I used 3.2, because they were not sure it would work with multiple connections in v3.1.x.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;They also suggested to have a look at this:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrfxlib/softdevice_controller/doc/scheduling.html#channel_sounding_timing"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrfxlib/softdevice_controller/doc/scheduling.html#channel_sounding_timing&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But that document doesn&amp;#39;t exist for NCS v3.1.x.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset the channel sounding parameters after a disconnection</title><link>https://devzone.nordicsemi.com/thread/562526?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2026 10:12:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d292ed5-9abe-4136-84eb-484306fc6c16</guid><dc:creator>Vinayaka KS</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;br /&gt;This works as intended on v3.2.2.&lt;/p&gt;
&lt;p&gt;I tried to test it on v3.1.1, and it had build issues. I might have to port my existing code to the new version of NCS.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Vinayaka KS&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset the channel sounding parameters after a disconnection</title><link>https://devzone.nordicsemi.com/thread/562309?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2026 11:43:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73db646b-9d09-4270-836a-c7bf762d11af</guid><dc:creator>Vinayaka KS</dc:creator><description>&lt;p&gt;Thanks, Edvin,&lt;br /&gt;I will test it from my side.&lt;br /&gt;&lt;br /&gt;I will use v3.1.1 first and try, if it doesnt then I will test it on v3.2.2&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Vinayaka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset the channel sounding parameters after a disconnection</title><link>https://devzone.nordicsemi.com/thread/562307?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2026 11:27:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f6a4572-c905-4575-a83a-6714afd08156</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Attached is a modified initiator sample that handles two connections, and starts channel sounding once it is connected to two reflectors. It is written for NCS v3.2.2. Perhaps you can give it a go, and let me know if it works on your end.&lt;/p&gt;
&lt;p&gt;Note that it doesn&amp;#39;t have the NUS service along side it. You would need to add that to your application if you want it.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/init_5F00_2_5F00_conn.zip"&gt;devzone.nordicsemi.com/.../init_5F00_2_5F00_conn.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset the channel sounding parameters after a disconnection</title><link>https://devzone.nordicsemi.com/thread/562030?ContentTypeID=1</link><pubDate>Wed, 25 Feb 2026 12:16:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a247d9a3-cb81-455a-86e4-c5f9fbae5779</guid><dc:creator>Vinayaka KS</dc:creator><description>&lt;p&gt;Okay, Thanks.&lt;br /&gt;If it works in 3.2.0, I will probably port.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;vinayaka KS&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset the channel sounding parameters after a disconnection</title><link>https://devzone.nordicsemi.com/thread/562022?ContentTypeID=1</link><pubDate>Wed, 25 Feb 2026 11:35:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d7224d4-99cb-473d-80b0-d29c03e0d275</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Ah, I see. I am looking into this, but it may be that this is simply not supported in NCS v3.1.1 (multiconnection channel sounding). I will try to port it to 3.2.0, and see if that changes anything.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset the channel sounding parameters after a disconnection</title><link>https://devzone.nordicsemi.com/thread/561864?ContentTypeID=1</link><pubDate>Mon, 23 Feb 2026 15:05:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1af8e5ce-3e2f-46c0-badc-18b4ab9e2cca</guid><dc:creator>Vinayaka KS</dc:creator><description>&lt;p&gt;It&amp;#39;s printing over the UART, and it&amp;#39;s getting generated in the reflector and sent via NUS.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And thanks for the update.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Vinayaka KS&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset the channel sounding parameters after a disconnection</title><link>https://devzone.nordicsemi.com/thread/561859?ContentTypeID=1</link><pubDate>Mon, 23 Feb 2026 14:48:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee0ec9fa-138f-4e51-bf78-343c59b28a4f</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Where is &amp;quot;Data from Reflector 1&amp;quot; printed from? I couldn&amp;#39;t find it.&lt;/p&gt;
&lt;p&gt;I was able to reproduce it, yes. I am discussing this with our channel sounding team. I will get back to you as soon as I know more. I am sorry for the delay.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset the channel sounding parameters after a disconnection</title><link>https://devzone.nordicsemi.com/thread/561574?ContentTypeID=1</link><pubDate>Thu, 19 Feb 2026 10:35:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6e0628a-d131-4ac9-9792-1bbe07baea5a</guid><dc:creator>Vinayaka KS</dc:creator><description>&lt;p&gt;Hi Edvin, were you able to recreate the issue?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Vinayaka&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset the channel sounding parameters after a disconnection</title><link>https://devzone.nordicsemi.com/thread/561383?ContentTypeID=1</link><pubDate>Tue, 17 Feb 2026 16:03:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04a1c0c5-e51e-47e2-b54c-bd7b4138ac76</guid><dc:creator>Vinayaka KS</dc:creator><description>&lt;p&gt;Can this be a scheduling problem?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset the channel sounding parameters after a disconnection</title><link>https://devzone.nordicsemi.com/thread/561119?ContentTypeID=1</link><pubDate>Fri, 13 Feb 2026 14:04:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4cfb0342-0442-479b-b8f0-5a3b796b3660</guid><dc:creator>Vinayaka KS</dc:creator><description>&lt;p&gt;Hi, Its okay,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have updated the code base now. I will share that&amp;nbsp;with you. &lt;br /&gt;The&amp;nbsp;build command I am using is&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;west build --build-dir cs/central_uart --pristine --board nrf54l15dk/nrf54l15/cpuapp --sysbuild -- -DCONF_FILE=&amp;quot;prj.conf&amp;quot; -DDEBUG_THREAD_INFO=On -DCONFIG_DEBUG_THREAD_INFO=y -Dcentral_uart_DEBUG_THREAD_INFO=On&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Yes, if you run the reflector and initiator with my code, you should be able to recreate the issue.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Vinayaka KS&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset the channel sounding parameters after a disconnection</title><link>https://devzone.nordicsemi.com/thread/561110?ContentTypeID=1</link><pubDate>Fri, 13 Feb 2026 13:19:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4aad85e0-6983-4b66-b3c8-4bd4b43224b9</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry for my previous reply. It was a bit off. It was originally intended for another ticket, and I thought it could be the same issue, as they were also trying to range between multiple reflectors/initiators (but alternating, by disconnecting from them).&lt;/p&gt;
&lt;p&gt;I tried to build your applications, but I couldn&amp;#39;t. I got a build error. Can you please let me know what NCS version you are using, and what build command you are using. If you are using nRF Connect for VS Code, you can copy the build command by right clicking the build folder and select &amp;quot;Copy build command&amp;quot; in VS Code.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/8524.pastedimage1770988769410v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;And is my understanding correct:&lt;/p&gt;
&lt;p&gt;If I build your applications, flash the central_uart... to one nRF54L15 DK, and the reflector to two other nRF54L15 DKs, I should be able to see the issue that you are seeing?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset the channel sounding parameters after a disconnection</title><link>https://devzone.nordicsemi.com/thread/560853?ContentTypeID=1</link><pubDate>Tue, 10 Feb 2026 22:16:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a0bffa2-8d0e-40da-acd0-8f44fba4ae01</guid><dc:creator>Vinayaka KS</dc:creator><description>&lt;p&gt;The reason why I&amp;nbsp;ask for counter reset on the reflector is&amp;nbsp;that I always have this &lt;span&gt;ranging counter mismatch&lt;/span&gt; or &lt;span&gt;empty step data&lt;/span&gt; when I&amp;nbsp;start measurement&amp;nbsp;to the device 0 (which gets connected first). I have some logs below.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I even use 2 Config_IDs to differentiate between these devices&lt;/p&gt;
&lt;p&gt;There are supposed to be at least 19 samples of distance measurement data, since I read and print distance results once every 500ms and switch between devices once every 10 seconds. But, I see this error either from the &lt;em&gt;ranging_data_cb()&lt;/em&gt; or from the &lt;em&gt;bt_ras_rreq_rd_subevent_data_parse()&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I: Disabling the CS procedure&lt;br /&gt;I: counters reset, local:-1, dropped:-1&lt;br /&gt;W: Procedure 584 aborted, reason - 0x1&lt;br /&gt;I: CS procedures disabled.&lt;br /&gt;I: Enabling the CS procedure&lt;br /&gt;I: Sounding to device 0&lt;br /&gt;I: CS procedures enabled:&lt;br /&gt; - config ID: 0&lt;br /&gt; - antenna configuration index: 0&lt;br /&gt; - TX power: 0 dbm&lt;br /&gt; - subevent length: 28198 us&lt;br /&gt; - subevents per event: 1&lt;br /&gt; - subevent interval: 0&lt;br /&gt; - event interval: 2&lt;br /&gt; - procedure interval: 5&lt;br /&gt; - procedure count: 0&lt;br /&gt; - maximum procedure length: 1000&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 691, local: 690)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 692, local: 691)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 693, local: 692)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 694, local: 693)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 695, local: 694)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 696, local: 695)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 697, local: 696)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 698, local: 697)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 699, local: 698)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 700, local: 699)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 701, local: 700)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 702, local: 701)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 703, local: 702)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 704, local: 703)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 705, local: 704)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 706, local: 705)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 707, local: 706)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 708, local: 707)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 709, local: 708)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 710, local: 709)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 711, local: 710)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 712, local: 711)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 713, local: 712)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 714, local: 713)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 715, local: 714)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 716, local: 715)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 717, local: 716)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 718, local: 717)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 719, local: 718)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 720, local: 719)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 721, local: 720)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 722, local: 721)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 723, local: 722)&lt;br /&gt;Data from Reflector 2&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 724, local: 723)&lt;br /&gt;Data from Reflector 1&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 725, local: 724)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 726, local: 725)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 727, local: 726)&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 728, local: 727)&lt;br /&gt;I: Disabling the CS procedure&lt;br /&gt;I: counters reset, local:-1, dropped:-1&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 729, local: 4294967295)&lt;br /&gt;I: CS procedures disabled.&lt;br /&gt;I: Enabling the CS procedure&lt;br /&gt;I: Sounding to device 1&lt;br /&gt;I: CS procedures enabled:&lt;br /&gt; - config ID: 1&lt;br /&gt; - antenna configuration index: 0&lt;br /&gt; - TX power: 0 dbm&lt;br /&gt; - subevent length: 28198 us&lt;br /&gt; - subevents per event: 1&lt;br /&gt; - subevent interval: 0&lt;br /&gt; - event interval: 2&lt;br /&gt; - procedure interval: 5&lt;br /&gt; - procedure count: 0&lt;br /&gt; - maximum procedure length: 1000&lt;br /&gt;I: Dropped subevent results. Waiting for ranging data from peer.&lt;br /&gt;I: Ranging data dropped as peer ranging counter doesn&amp;#39;t match local ranging data counter. (peer: 585, local: 728)&lt;br /&gt;I: 1.756596,3.513278,2.610804,2.604011&lt;br /&gt;I: 1.756596,3.427624,2.751654,2.049362&lt;br /&gt;I: 2.049362,3.427624,2.837012,2.049362&lt;br /&gt;I: 2.049362,3.427624,2.837012,2.049362&lt;br /&gt;I: 2.049362,3.427624,2.854575,2.049362&lt;br /&gt;I: 2.049362,3.427624,2.854575,2.049362&lt;br /&gt;I: 2.049362,3.451425,3.105397,2.049362&lt;br /&gt;I: 2.049362,3.534048,3.157910,2.049362&lt;br /&gt;I: 2.049362,3.534048,3.105397,2.049362&lt;br /&gt;I: 2.049362,3.534048,3.157910,2.049362&lt;br /&gt;I: 2.049362,3.546767,3.382754,2.049362&lt;br /&gt;I: 2.049362,3.424742,3.265795,2.049362&lt;br /&gt;I: 2.049362,3.424742,3.265795,2.049362&lt;br /&gt;I: 2.049362,3.424742,2.969308,2.049362&lt;br /&gt;Data from Reflector 2&lt;br /&gt;Data from Reflector 1&lt;br /&gt;I: 2.049362,3.360484,2.927473,2.049362&lt;br /&gt;I: 2.049362,3.360484,2.792185,2.342129&lt;br /&gt;I: 2.195745,3.360484,2.820416,2.342129&lt;br /&gt;I: Disabling the CS procedure&lt;br /&gt;I: counters reset, local:-1, dropped:-1&lt;br /&gt;W: Procedure 623 aborted, reason - 0x1&lt;br /&gt;I: CS procedures disabled.&lt;br /&gt;I: Enabling the CS procedure&lt;br /&gt;I: Sounding to device 0&lt;br /&gt;I: CS procedures enabled:&lt;br /&gt; - config ID: 0&lt;br /&gt; - antenna configuration index: 0&lt;br /&gt; - TX power: 0 dbm&lt;br /&gt; - subevent length: 28198 us&lt;br /&gt; - subevents per event: 1&lt;br /&gt; - subevent interval: 0&lt;br /&gt; - event interval: 2&lt;br /&gt; - procedure interval: 5&lt;br /&gt; - procedure count: 0&lt;br /&gt; - maximum procedure length: 1000&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;Data from Reflector 2&lt;br /&gt;E: empty step data&lt;br /&gt;Data from Reflector 1&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;I: Disabling the CS procedure&lt;br /&gt;I: counters reset, local:-1, dropped:-1&lt;br /&gt;E: empty step data&lt;br /&gt;I: CS procedures disabled.&lt;br /&gt;I: Enabling the CS procedure&lt;br /&gt;I: Sounding to device 1&lt;br /&gt;I: CS procedures enabled:&lt;br /&gt; - config ID: 1&lt;br /&gt; - antenna configuration index: 0&lt;br /&gt; - TX power: 0 dbm&lt;br /&gt; - subevent length: 28198 us&lt;br /&gt; - subevents per event: 1&lt;br /&gt; - subevent interval: 0&lt;br /&gt; - event interval: 2&lt;br /&gt; - procedure interval: 5&lt;br /&gt; - procedure count: 0&lt;br /&gt; - maximum procedure length: 1000&lt;br /&gt;I: 2.049362,3.392859,2.921039,2.049362&lt;br /&gt;I: 2.049362,3.392859,3.176355,2.049362&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset the channel sounding parameters after a disconnection</title><link>https://devzone.nordicsemi.com/thread/560746?ContentTypeID=1</link><pubDate>Tue, 10 Feb 2026 08:07:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6b7fbe4-949e-431e-a385-9dc2413a9a3e</guid><dc:creator>Vinayaka KS</dc:creator><description>&lt;p&gt;Hey, I tried it out, and It doesnt work. Also, I don&amp;#39;t think this is something related because I don&amp;#39;t disconnect the reflector, but stay connected and do the procedure consecutively with another reflector.&lt;br /&gt;&lt;br /&gt;Is there a specific way to reset my local counters on the reflector ? Either via the initiator or on the reflector directly?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset the channel sounding parameters after a disconnection</title><link>https://devzone.nordicsemi.com/thread/560683?ContentTypeID=1</link><pubDate>Mon, 09 Feb 2026 14:37:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e8858ff-4724-4665-adf6-c13368566a2b</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Ok, I did find an issue. You are restarting the the advertising directly in the .recycled callback.&lt;/p&gt;
&lt;p&gt;I saw that the channel_sounding_ras_reflector sample just rebooted in the disconnected_cb event. This is a quick (and dirty) way to just reset the state of the reflector. But of course, this is maybe not allwals desireable.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Attached is a modified channel_sounding_ras_reflector sample (tested in NCS v3.2.1):&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/cs_5F00_refl.zip"&gt;devzone.nordicsemi.com/.../cs_5F00_refl.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Note that the recycled_cb() calls advertising_start(), but this doesn&amp;#39;t directly call bt_le_adv_start(). This needs to be done through a work handler, like it is done in e.g. the NCS\nrf\samples\bluetooth\peripheral_uart sample. It is a bit more lines of code, but the idea is that you can&amp;#39;t call BT API directly from the recycled callback, as it will block itself. Therefore you need to add these small pieces of code:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;// in main.c:

static struct k_work adv_work;

...

static void adv_work_handler(struct k_work *work)
{
	int err = bt_le_adv_start(BT_LE_ADV_CONN_FAST_2, ad, ARRAY_SIZE(ad), NULL, 0);
	if (err) {
		LOG_ERR(&amp;quot;Advertising failed to start (err %d)&amp;quot;, err);
		return;
	}
}

...

static void recycled_cb(void)
{
	LOG_INF(&amp;quot;Connection object available from previous conn. Disconnect is complete!&amp;quot;);
	advertising_start();
}

BT_CONN_CB_DEFINE(conn_cb) = {
	...
	.recycled = recycled_cb,
};

...

int main(void)
{
...
	k_work_init(&amp;amp;adv_work, adv_work_handler);
	advertising_start();
...
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Try that, and let me know if it doesn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset the channel sounding parameters after a disconnection</title><link>https://devzone.nordicsemi.com/thread/560615?ContentTypeID=1</link><pubDate>Mon, 09 Feb 2026 09:21:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd25e4dd-c200-4124-9dda-258f54e72a95</guid><dc:creator>Vinayaka KS</dc:creator><description>&lt;p&gt;I found the issue, I was not setting one config&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BT_CTLR_CHANNEL_SOUNDING&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;And now I can sound, but the device has problems like this.&lt;br /&gt;W: Mismatch of local and peer step mode 1 != 2&lt;br /&gt;E: empty step data&lt;br /&gt;E: empty step data&lt;br /&gt;&lt;br /&gt;This happens to the device that gets connected first, and happens every time I sound it. The 2nd device is able to get the data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset the channel sounding parameters after a disconnection</title><link>https://devzone.nordicsemi.com/thread/560528?ContentTypeID=1</link><pubDate>Fri, 06 Feb 2026 10:28:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c7b576c-edb1-4607-b3f8-30909ebe9460</guid><dc:creator>Fhar</dc:creator><description>&lt;p&gt;Hi Vinayaka, have you got any update on your attempts to do multi connection channel sounding ? I am also trying to do it but unfortunately, without success.&amp;nbsp;&lt;br /&gt;Regards,&amp;nbsp;&lt;br /&gt;Fhar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset the channel sounding parameters after a disconnection</title><link>https://devzone.nordicsemi.com/thread/560342?ContentTypeID=1</link><pubDate>Wed, 04 Feb 2026 13:16:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6409481a-a86a-400d-9da1-6b8ad18390dc</guid><dc:creator>Vinayaka KS</dc:creator><description>&lt;p&gt;I have sent both the peripheral and central.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset the channel sounding parameters after a disconnection</title><link>https://devzone.nordicsemi.com/thread/559871?ContentTypeID=1</link><pubDate>Thu, 29 Jan 2026 10:08:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34b8cfc1-83c6-4534-af41-ed1ddbc1f9b0</guid><dc:creator>Vinayaka KS</dc:creator><description>&lt;p&gt;Sure, I can send it to you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset the channel sounding parameters after a disconnection</title><link>https://devzone.nordicsemi.com/thread/559868?ContentTypeID=1</link><pubDate>Thu, 29 Jan 2026 09:40:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0598e8b-b191-49ea-84eb-22086d9059df</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I don&amp;#39;t have a multi-connection channel sounding sample at hand. Do you mind sending me what you already have, then perhaps I can have a look at it, and give it a go.&lt;/p&gt;
&lt;p&gt;I will not be able to look into it tomorrow, but hopefully during the beginning of next week.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset the channel sounding parameters after a disconnection</title><link>https://devzone.nordicsemi.com/thread/559853?ContentTypeID=1</link><pubDate>Thu, 29 Jan 2026 07:21:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:125b3511-6bfb-4711-9fdd-b814c1f76953</guid><dc:creator>Vinayaka KS</dc:creator><description>&lt;p&gt;I am not able to enable the CS procedures for the 2nd device. Is this a problem with the memory?&lt;br /&gt;&lt;br /&gt;I: Disabling the CS procedure&lt;br /&gt;I: Free rreq 0x20002b18 for conn 0x200076d8&lt;br /&gt;I: CS procedures disabled.&lt;br /&gt;W: opcode 0x2094 status 0x07 &lt;br /&gt;I: Enabling the CS procedure&lt;br /&gt;E: Failed to enable CS procedures (err -5) for Device1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;void switch_CS_device(void){
	int err;
	while (1) {
		k_sleep(K_SECONDS(10));

		if(cs_device_count &amp;gt; 1){
			node_index_val = (node_index_val+1)%2; 

			struct bt_le_cs_procedure_enable_param enable_params = {
				.config_id = CS_CONFIG_ID,
				.enable = BT_CONN_LE_CS_PROCEDURES_ENABLED,
			};

			struct bt_le_cs_procedure_enable_param disable_params = {
				.config_id = CS_CONFIG_ID,
				.enable = BT_CONN_LE_CS_PROCEDURES_DISABLED,
			};

			err = bt_le_cs_procedure_enable(conn_contexts[(node_index_val+1)%2].conn, &amp;amp;disable_params);
			LOG_INF(&amp;quot;Disabling the CS procedure&amp;quot;);
			if (err) {
				LOG_ERR(&amp;quot;Failed to disable CS procedures (err %d) for Device%d&amp;quot;, err,node_index_val);
				return;
			}
			k_sem_take(&amp;amp;sem_cs_enable_disable,K_FOREVER);

			most_recent_local_ranging_counter = PROCEDURE_COUNTER_NONE;
			dropped_ranging_counter = PROCEDURE_COUNTER_NONE;
			buffer_index = 0;
			buffer_num_valid = 0;
			
			// Reset step buffers
			net_buf_simple_reset(&amp;amp;latest_local_steps);
			net_buf_simple_reset(&amp;amp;latest_peer_steps);
			
			// Clear distance estimate buffer
			memset(distance_estimate_buffer, 0, sizeof(distance_estimate_buffer));
			
			// Reset semaphores to clean state
			k_sem_reset(&amp;amp;sem_local_steps);
			k_sem_give(&amp;amp;sem_local_steps);
			bt_ras_rreq_free(conn_contexts[(node_index_val+1)%2].conn);
			k_msleep(1000);

			err = bt_le_cs_procedure_enable(conn_contexts[node_index_val].conn, &amp;amp;enable_params);
			LOG_INF(&amp;quot;Enabling the CS procedure&amp;quot;);
			if (err) {
				LOG_ERR(&amp;quot;Failed to enable CS procedures (err %d) for Device%d&amp;quot;, err,node_index_val);
				return;
			}
			else{
				LOG_INF(&amp;quot;Sounding to device%d&amp;quot;, node_index_val);
			}
			k_sem_take(&amp;amp;sem_cs_enable_disable,K_FOREVER);
		}
	}
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset the channel sounding parameters after a disconnection</title><link>https://devzone.nordicsemi.com/thread/559696?ContentTypeID=1</link><pubDate>Tue, 27 Jan 2026 14:16:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf8dc885-3214-497c-9b95-5a35f9c9b906</guid><dc:creator>Vinayaka KS</dc:creator><description>&lt;p&gt;Thanks a lot, I will try implementing this now.&lt;br /&gt;&lt;br /&gt;Regards,&lt;/p&gt;
&lt;p&gt;Vinayaka KS&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>