<?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>How to refer to device id in mesh?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25860/how-to-refer-to-device-id-in-mesh</link><description>Hi All,
I am using light_control example from Mesh SDK and I need to get something that identify my device in mesh e.g id, address. I would like to send some message to the specific node.
Do you have any idea how to do it? 
 Regards,
Butu</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 Aug 2019 01:50:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25860/how-to-refer-to-device-id-in-mesh" /><item><title>RE: How to refer to device id in mesh?</title><link>https://devzone.nordicsemi.com/thread/205414?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2019 01:50:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34350b06-66fe-4586-852f-275d50ceda5f</guid><dc:creator>viper1983</dc:creator><description>&lt;p&gt;access_message_rx_t&amp;nbsp;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;So this is the original packet, and if you&amp;#39;re receiving data, you can put it all in here, like the MAC address of the sender,&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt"&gt;&lt;span class="tgt"&gt;The strength of the sender, a lot of information about the sender can be seen in this metadata&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to refer to device id in mesh?</title><link>https://devzone.nordicsemi.com/thread/124179?ContentTypeID=1</link><pubDate>Tue, 13 Mar 2018 13:42:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94ef6d11-61a4-4d78-a429-c85243df25ee</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Yes, I don&amp;#39;t think it&amp;#39;s a problem. You just need to modify the provisioner code to do so.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to refer to device id in mesh?</title><link>https://devzone.nordicsemi.com/thread/124053?ContentTypeID=1</link><pubDate>Tue, 13 Mar 2018 02:46:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d660a2a-b8bd-4d03-bd6f-a0b786931b84</guid><dc:creator>vanaja107</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;Thank you very much for your response.&lt;/p&gt;
&lt;p&gt;In light switch example, it looks like the address of the node is decided by provisioner in sequential order. is it possible to give specific address(eg. entered by user form serial port) to provisionee.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to refer to device id in mesh?</title><link>https://devzone.nordicsemi.com/thread/123854?ContentTypeID=1</link><pubDate>Mon, 12 Mar 2018 09:15:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99cc73cc-f6fb-4a07-a860-747ba21fbcce</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I don&amp;#39;t think it&amp;#39;s possible. You would need to do provisioning the node again as a new node to change the unicast address.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But you can always change the subscription address(es) of a node. I think it&amp;#39;s a better solution.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to refer to device id in mesh?</title><link>https://devzone.nordicsemi.com/thread/123842?ContentTypeID=1</link><pubDate>Mon, 12 Mar 2018 08:48:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bc90189-5218-49da-9d67-21e107a5fa2c</guid><dc:creator>vanaja107</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Is it possible to change node address after it get provisioned.&lt;/p&gt;
&lt;p&gt;how to assign a specific address to specific node.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to refer to device id in mesh?</title><link>https://devzone.nordicsemi.com/thread/101866?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2017 11:08:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f249532-3313-43cb-991b-7864b0e431f1</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Butu,&lt;/p&gt;
&lt;p&gt;You can print out the unique address of the node using dsm_local_unicast_addresses_get() call.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;dsm_local_unicast_address_t address;
dsm_local_unicast_addresses_get(&amp;amp;address);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You will have a list of address, for your elements on the node, start from address.address_start and have address.count addresses (count = 1 if you only have one element).&lt;/p&gt;
&lt;p&gt;You should call this after you have your device configured, suggest to call inside configuration_complete()&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>