<?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>Change The Subscription Addresses Of Client In Mesh</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38694/change-the-subscription-addresses-of-client-in-mesh</link><description>Hi, 
 I am working on light switch example. I am broadcasting a message from client to servers using the API access_model_publish() with the opcode SIMPLE_ON_OFF_OPCODE_SET_UNRELIABLE. there are 3 servers in total, 0x105, 0x106, 0x107. Even though message</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Sep 2018 07:10:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38694/change-the-subscription-addresses-of-client-in-mesh" /><item><title>RE: Change The Subscription Addresses Of Client In Mesh</title><link>https://devzone.nordicsemi.com/thread/150599?ContentTypeID=1</link><pubDate>Thu, 27 Sep 2018 07:10:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38d3dd71-b19b-4c89-acee-fd133f491001</guid><dc:creator>Arya</dc:creator><description>&lt;p&gt;Hi Joakim, How can I send message to the client from servers 0x0107 and 0x0108? Is it possible? I looked in node setup.c and found that we have to more clients to do this. Is there any other way?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change The Subscription Addresses Of Client In Mesh</title><link>https://devzone.nordicsemi.com/thread/149431?ContentTypeID=1</link><pubDate>Thu, 13 Sep 2018 11:15:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70958a3b-d1ad-4c23-9665-15f7ac532917</guid><dc:creator>Arya</dc:creator><description>&lt;p&gt;Hi Joakim,&lt;/p&gt;
&lt;p&gt;We can send unicast message to only two servers right (0x105, 0x106)? That is why I am getting status back to client only from them right? I want to get status of some more servers in client. How is that possible? Should I change everything in node_setup.c?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change The Subscription Addresses Of Client In Mesh</title><link>https://devzone.nordicsemi.com/thread/149430?ContentTypeID=1</link><pubDate>Thu, 13 Sep 2018 11:10:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6662d5f1-086b-4ecb-b161-79544a0c3bf7</guid><dc:creator>Joakim Jakobsen</dc:creator><description>[quote user="Arya"]I want to make several servers to send message to client. Client should receive their uni-cast address too. I looked through node_setup.c and found that I have to change a whole lot to make that happen. I don&amp;#39;t need group cast, just uni-cast method. Each server should send message to client with their unicast address. Is that possible?[/quote]
&lt;p&gt;&amp;nbsp;Yes, you can use unicast address for sending messages to a particular node. You can find out how the light switch client node sends unicast messages to the server by taking a look at the button_event_handler() in the main.c file. The simple_on_off_client_set() function will send a unicast message to the first provisioned &amp;amp; configured server when button 1 is pressed on the client.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;simple_on_off_client_set() then calls access_model_reliable_publish(), which is where the unicast address of the server gets retrieved via the dsm_address_get() function.&lt;/p&gt;
&lt;p&gt;The unicast address also gets displayed in the provisioner during the app_health_event_callback() function in main.c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change The Subscription Addresses Of Client In Mesh</title><link>https://devzone.nordicsemi.com/thread/149428?ContentTypeID=1</link><pubDate>Tue, 11 Sep 2018 10:41:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6b98a87-8d9e-46d5-be29-6abb7b307d89</guid><dc:creator>Arya</dc:creator><description>&lt;p&gt;Hi Joakim,&lt;/p&gt;
&lt;p&gt;Thank you for replying. I have some doubts. Hope you will be able to help. Creating new case for each of them might take some time to get answered. That&amp;#39;s why I am asking here. I have made some progress.&lt;/p&gt;
&lt;p&gt;I want to make several servers to send message to client. Client should receive their uni-cast address too. I looked through node_setup.c and found that I have to change a whole lot to make that happen. I don&amp;#39;t need group cast, just uni-cast method. Each server should send message to client with their unicast address. Is that possible?&lt;/p&gt;
&lt;p&gt;I have another doubt too. Is there anyway I could find the current ttl value of the node? With each hop ttl decrements right?&amp;nbsp; I want to know whether the message is initiated by current node and/or how many nodes message have hoped to get the current node.&lt;/p&gt;
&lt;p&gt;Can I receive a string message that I send from server to client from the function handle_status_cb() through access_message_rx_t. Or is it only possible through mesh_evt_cb()&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;Arya&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change The Subscription Addresses Of Client In Mesh</title><link>https://devzone.nordicsemi.com/thread/149427?ContentTypeID=1</link><pubDate>Tue, 11 Sep 2018 10:25:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6222283-7bd1-410f-a49a-8b74f438f127</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry about the delay.&lt;/p&gt;
&lt;p&gt;Have you made any progress on your issue?&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll get back to you by the end of the day with an answer for you.&lt;/p&gt;
&lt;p&gt;Best regards, &lt;br /&gt;Joakim.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>