<?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>Ranging quality is NOT OK after a while</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124208/ranging-quality-is-not-ok-after-a-while</link><description>Hi, 
 I have been making a sequential channel sounding program. I tried very hard to get rid of memory leaks and now the program is able to sequentially range with three reflectors and send the readings through GATT to another device. The issue is, after</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 15 Sep 2025 14:15:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124208/ranging-quality-is-not-ok-after-a-while" /><item><title>RE: Ranging quality is NOT OK after a while</title><link>https://devzone.nordicsemi.com/thread/548767?ContentTypeID=1</link><pubDate>Mon, 15 Sep 2025 14:15:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8cfadff-64b1-4549-9661-1336aa260c7b</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;I see. Well&amp;nbsp;&lt;span&gt;CS_DE_QUALITY_OK&amp;nbsp;being false would mean that the sample is discardable, my coworker expands a bit on &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/121855/inquiry-on-the-meaning-and-calculation-of-local-and-remote-i-q-values-in-the-sdk/537552"&gt;this here as well&lt;/a&gt;. My first thought is that this would be due other external factors, like rf noise or objects being in the way. Though if you do not think that is applicable, and if it happens after the same amount of time every time then it does sound like a bug, eg. a memory leak. It is still a bit strange to me that it would impact the range as well though.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Could you try lowering the memory, and see if that makes the issue happen even sooner?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Elfving&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ranging quality is NOT OK after a while</title><link>https://devzone.nordicsemi.com/thread/548532?ContentTypeID=1</link><pubDate>Thu, 11 Sep 2025 18:24:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42011d47-79c9-4881-82ba-f0162e536afc</guid><dc:creator>Triscuit</dc:creator><description>&lt;p&gt;Hi Elfving. This project I would say is very heavily modified, since I have been working on this for the past few months. I took the original sample and added a lot onto it, but the&amp;nbsp;CS connection and ranging procedure are pretty much the same as the original. Oh Sorry, I think &amp;#39;ranging quality is NOT OK&amp;#39; is my own message, it is just in an else statement for when the CS_DE_QUALITY_OK is false in the ranging_data_cb function. Another question I have is, if I were to reverse the devices and use three initiators connect to one reflector, would that make concurrent channel sounding possible?&amp;nbsp;Because right now I am using three reflectors and one initiator. Is the initiator doing more work by starting it or would it be the same since the reflector also has to hold a stable connection? And sometimes when it is ranging it says parsing empty step data, is there any way to reduce or stop this? Thank you so much.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Sincerely,&lt;/p&gt;
&lt;p&gt;Triscuit&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ranging quality is NOT OK after a while</title><link>https://devzone.nordicsemi.com/thread/548452?ContentTypeID=1</link><pubDate>Thu, 11 Sep 2025 08:31:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32158f35-ed36-4aff-9c16-28f31a0cee42</guid><dc:creator>Elfving</dc:creator><description>[quote user="Triscuit"]By sequentially it is connecting and disconnecting from one node at the time. I am just not sure how data quality would be affected?[/quote]
&lt;p&gt;No, me neither. The sequential way is what we currently recommend as well, though I guess what you say about RAM resources could make sense.&amp;nbsp;&lt;/p&gt;
[quote user="Triscuit"]Right now I implemented a GATT messaging system where after the initiator ranges it would send the readings to my laptop via Bluetooth GATT, and the laptop would calculate the trilateration results. However, I noticed that when it sends the readings wirelessly as well as range at the same time, the distance at which it can range decreases, going from over 20m to not even 10m. Would this be because the device is holding two concurrent connections, making it split its radio, resulting in worse readings? Or would this just be a software bug?[/quote]
&lt;p&gt;Ah so one reason why we recommend doing this sequentially is to avoid multiple connections potentially colliding, as we haven&amp;#39;t yet optimized the SDC to avoid this for channel sounding. So even though you do things correctly by having the CS connections sequentially, it could be best if you did the GATT messaging in a timeslot of its own as well. Although I am surprised that this would result in just a worse range/ readings.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is this project something heavily modified, or essentially the default samples with a few additions? I guess it could be a bug, but I wouldn&amp;#39;t expect any in the default samples.&lt;/p&gt;
[quote user=""]ranging quality is NOT OK[/quote]
&lt;p&gt;Btw, I am not immediately seeing where this could be coming from in the initiator.&amp;nbsp;This isn&amp;#39;t your own error message, right?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ranging quality is NOT OK after a while</title><link>https://devzone.nordicsemi.com/thread/548281?ContentTypeID=1</link><pubDate>Tue, 09 Sep 2025 17:46:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d9596c6-6ba9-460a-aae3-feeadde3044a</guid><dc:creator>Triscuit</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes I am using the channel sounding with ras samples. I am using 54l15 dk&amp;#39;s and VCS version 3.0.99. By sequentially it is connecting and disconnecting from one node at the time. I am just not sure how data quality would be affected? Maybe because the device is now using more memory as it should so it does not have enough resources to dedicate to the ranging?&lt;br /&gt;&lt;br /&gt;This brings me to another point. Right now I implemented a GATT messaging system where after the initiator ranges it would send the readings to my laptop via Bluetooth GATT, and the laptop would calculate the trilateration results. However, I noticed that when it sends the readings wirelessly as well as range at the same time, the distance at which it can range decreases, going from over 20m to not even 10m. Would this be because the device is holding two concurrent connections, making it split its radio, resulting in worse readings? Or would this just be a software bug?&lt;br /&gt;&lt;br /&gt;Thank you.&lt;br /&gt;&lt;br /&gt;Sincerely,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Triscuit&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ranging quality is NOT OK after a while</title><link>https://devzone.nordicsemi.com/thread/548049?ContentTypeID=1</link><pubDate>Mon, 08 Sep 2025 11:29:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:244f5ac7-032e-49ba-ac58-332696625056</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I assume this is based on the nRF/ nordic channel sounding samples, that you are using SDC, and nRF54L15DKs? What NCS version are you using? And by doing it sequentially, you connect and disconnect from one node at the time?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>