<?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>Distance measurement. NRF Mesh dm_cli and dm_srv communication issue:</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109668/distance-measurement-nrf-mesh-dm_cli-and-dm_srv-communication-issue</link><description>I was trying to establish a mesh network to perform distance measurement and localization. The source code is available at https://github.com/nrfconnect/sdk-nrf/blob/main/subsys/bluetooth/mesh/vnd/dm_srv.c#L221 and https://github.com/nrfconnect/sdk-nrf</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Apr 2024 09:11:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109668/distance-measurement-nrf-mesh-dm_cli-and-dm_srv-communication-issue" /><item><title>RE: Distance measurement. NRF Mesh dm_cli and dm_srv communication issue:</title><link>https://devzone.nordicsemi.com/thread/476787?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2024 09:11:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e21a3aa-bd68-45fe-8ce7-714556e614f7</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please have a look at the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/test_and_optimize/debugging.html"&gt;Debugging an application&lt;/a&gt; section of the nRF Connect SDK documentation.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Distance measurement. NRF Mesh dm_cli and dm_srv communication issue:</title><link>https://devzone.nordicsemi.com/thread/476003?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 16:41:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:594b0dd4-be18-4421-82f4-552e869c89ff</guid><dc:creator>Matthew_Max</dc:creator><description>&lt;p&gt;Hi Terje,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I also suspected that the timeout error might be originating from bt_mesh_msg_ackd_send(). As you suggested, I should do a debug session, but I&amp;#39;m not entirely sure how to proceed (apologies for the naive question, as I&amp;#39;m quite new to this). I also attempted to establish communication with one central node, one target, and one beacon, as I thought the issue could stem from multicasting a request from the client to two or more beacons, but the problem persisted.&lt;/p&gt;
&lt;p&gt;And hope you have a wonderful Easter holiday! :)&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Matthew&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Distance measurement. NRF Mesh dm_cli and dm_srv communication issue:</title><link>https://devzone.nordicsemi.com/thread/475991?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 15:37:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0b9d764-6115-4c07-9136-eeee756db50f</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Error return value -116 is ETIMEDOUT, and most likely it comes from bt_mesh_msg_ackd_send(), called from within bt_mesh_dm_cli_measurement_start_hp(). If that is the origin of the error code, it means the message was not acked (and the send has then timed out.)&lt;/p&gt;
&lt;p&gt;I order to figure out where exactly the node hangs, please do a debug session.&lt;/p&gt;
&lt;p&gt;Please note that we are entering the Easter holidays, with limited capacity this week and beginning of next week.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>