<?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>Get physical source of intermediate relay messages</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27900/get-physical-source-of-intermediate-relay-messages</link><description>Hi! 
 I have a question about the Mesh SDK. Is it currently possible to get the physical source of a relayed message (thus the relay that send it) out of it? I only seem to able to get out the initial sender and ultimate receiver out of the network packet</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 Dec 2017 11:14:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27900/get-physical-source-of-intermediate-relay-messages" /><item><title>RE: Get physical source of intermediate relay messages</title><link>https://devzone.nordicsemi.com/thread/110095?ContentTypeID=1</link><pubDate>Wed, 06 Dec 2017 11:14:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86c90c60-07b0-4395-b4ee-e1a80ccc7d9e</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Good to hear you found a solution, sounds like a good way to do it :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get physical source of intermediate relay messages</title><link>https://devzone.nordicsemi.com/thread/110094?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2017 10:42:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f577fb1-fb9b-4e02-b7fb-fa4b14d9f4aa</guid><dc:creator>Mathias</dc:creator><description>&lt;p&gt;We ultimately found out that we could use the BLE GAP Advertiser address that is in the metadata of the received packet, to find out which physical source relayed the specific packet. We then used the function in core.tx to change the advertister address for both roles to something more readable. Not fully BLE standard but it&amp;#39;s just for measurements. Thanks for your help again Torbjørn!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get physical source of intermediate relay messages</title><link>https://devzone.nordicsemi.com/thread/110093?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2017 10:39:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:308b63e2-baac-4e6f-b45c-a223550516b9</guid><dc:creator>Mathias</dc:creator><description>&lt;p&gt;Hi Torbjørn&lt;/p&gt;
&lt;p&gt;After some thought, we came to the conclusion that looking at the TTL counter alone could still give situations where a node doesn&amp;#39;t know where packets come from. We then looked a bit further still and found a possible solution that I put in the answer below.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get physical source of intermediate relay messages</title><link>https://devzone.nordicsemi.com/thread/110091?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2017 13:03:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ef7569f-bbef-4a8f-bcb9-e54195e25b15</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;I am happy to help. The best of luck with your project :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get physical source of intermediate relay messages</title><link>https://devzone.nordicsemi.com/thread/110092?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2017 12:23:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eee50f74-0e7b-4e30-b3ff-2b6b7dc8b08a</guid><dc:creator>Mathias</dc:creator><description>&lt;p&gt;Sounds like a great idea, thanks for the answer and clarification!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get physical source of intermediate relay messages</title><link>https://devzone.nordicsemi.com/thread/110090?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2017 12:12:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:813069e3-8643-4caf-b80c-d137a26224f2</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Mathias&lt;/p&gt;
&lt;p&gt;There is no built in mechanism for this, no. Since there is no routing in the mesh, having this included would add quite a lot of overhead to the communication.&lt;/p&gt;
&lt;p&gt;You might be able to add a proprietary system on top, where each node can report that it received a packet, and what the TTL counter was at the time, but this would have to be added in the application.&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;
Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>