<?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>Retrieve MAC address from a mesh message in connect sdk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97579/retrieve-mac-address-from-a-mesh-message-in-connect-sdk</link><description>Hi, 
 I am using the mesh_chat example in ncs v2.2.0 
 Whether it is possible to retrieve the MAC address of the source node of a received mesh message (not the mesh address)?? 
 Thanks!</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Mar 2023 14:58:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97579/retrieve-mac-address-from-a-mesh-message-in-connect-sdk" /><item><title>RE: Retrieve MAC address from a mesh message in connect sdk</title><link>https://devzone.nordicsemi.com/thread/415523?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2023 14:58:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db94a845-deac-481d-8e51-8018ad4a4238</guid><dc:creator>Elfving</dc:creator><description>[quote user="mahesh vicky"]&lt;p&gt;In the above mentioned ticket, he said that it is possible to get the MAC of the previous node, can u guide me how to get that MAC address into the user handler?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;No I believe he said you could get the Mesh address from the previous node, which could be enough if the customer just wanted to differentiate between the different servers. That should be easy to find in&amp;nbsp;bt_mesh_msg_ctx. If its enough for you as well, I guess you can take it and append it to the message itself somehow.&lt;/p&gt;
&lt;p&gt;However, I assume you really need the MAC addresses. for some reason? Could you expand a bit on your use case? What you are trying to do seems very difficult for a number of reasons.&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: Retrieve MAC address from a mesh message in connect sdk</title><link>https://devzone.nordicsemi.com/thread/414902?ContentTypeID=1</link><pubDate>Mon, 13 Mar 2023 12:12:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:350a388c-9292-4e58-a55e-22503ea997a0</guid><dc:creator>Vignesh R</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I saw the reply, but since the range covered by the relay packets are way less than 15 mts, so i implemented a custom relay function that forwards the received packet.&lt;/p&gt;
&lt;p&gt;But i need to add the MAC addresses of each device along the route(not the mesh address).&lt;/p&gt;
&lt;p&gt;In the above mentioned ticket, he said that it is possible to get the MAC of the previous node, can u guide me how to get that MAC address into the user handler?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Retrieve MAC address from a mesh message in connect sdk</title><link>https://devzone.nordicsemi.com/thread/414878?ContentTypeID=1</link><pubDate>Mon, 13 Mar 2023 11:36:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abba1f42-c4e4-4f5f-b658-7c1500435281</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/93601/how-to-get-mac-addresses-of-all-connected-mesh-devices/394508"&gt;Please take a look at this previous reply by a colleague of mine.&lt;/a&gt;&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>