<?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>Mesh 3.1: Client node send message to server node via unicast after provision by smartphone</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44239/mesh-3-1-client-node-send-message-to-server-node-via-unicast-after-provision-by-smartphone</link><description>Hi guys, 
 After i provision for client node or server node by smartphone i have unicast address for server model or client model. How can i send message from client to server via unicast address of server model. I have try example light switch and that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Jun 2019 12:53:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44239/mesh-3-1-client-node-send-message-to-server-node-via-unicast-after-provision-by-smartphone" /><item><title>RE: Mesh 3.1: Client node send message to server node via unicast after provision by smartphone</title><link>https://devzone.nordicsemi.com/thread/195370?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2019 12:53:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb396f8b-39dc-4b33-81a0-ad49c96707ca</guid><dc:creator>Murugan</dc:creator><description>&lt;p&gt;Are you successfully implemented this concept ?. I am also struggled same this issue. Please Support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh 3.1: Client node send message to server node via unicast after provision by smartphone</title><link>https://devzone.nordicsemi.com/thread/174650?ContentTypeID=1</link><pubDate>Wed, 06 Mar 2019 18:00:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac96a61c-463b-4233-bbd9-0915a84b80bf</guid><dc:creator>HuynhNgocThuong</dc:creator><description>&lt;p&gt;Thank you, I have understood how it works. I wonder how&amp;nbsp; can i change the publish address in my application code. I am try this code inside config_server.c and can I change publish address when there is an address exist in app nrf mesh? Do you think this code right ?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;void custom_change_publish_address(uint32_t publish_address){

uint32_t status = NRF_SUCCESS;
dsm_handle_t publish_address_handle = DSM_HANDLE_INVALID;
nrf_mesh_address_t publish_address_stored;


if (access_model_publish_address_get(m_clients[0].model_handle, &amp;amp;publish_address_handle) != NRF_SUCCESS) {
status = dsm_address_publish_add(publish_address, &amp;amp;publish_address_handle);
}
else {
if (dsm_address_get(publish_address_handle, &amp;amp;publish_address_stored) == NRF_SUCCESS) {
if ((publish_address_stored.type == NRF_MESH_ADDRESS_TYPE_VIRTUAL) ||
(publish_address_stored.type != NRF_MESH_ADDRESS_TYPE_VIRTUAL &amp;amp;&amp;amp; publish_address_stored.value != publish_address)) {
NRF_MESH_ASSERT(dsm_address_publish_remove(publish_address_handle) == NRF_SUCCESS);
status = dsm_address_publish_add(publish_address, &amp;amp;publish_address_handle);
} 
} else {
status = dsm_address_publish_add(publish_address, &amp;amp;publish_address_handle);
}
}
NRF_MESH_ASSERT(access_model_publish_address_set(m_clients[0].model_handle, publish_address_handle) == NRF_SUCCESS);
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh 3.1: Client node send message to server node via unicast after provision by smartphone</title><link>https://devzone.nordicsemi.com/thread/173709?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2019 13:13:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:082a6bd6-9d63-4946-b6bc-38cf45caba6a</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In the client Node Configuration, expand the Elements section.&lt;/li&gt;
&lt;li&gt;Select the first Generic OnOff Client model instance.&lt;/li&gt;
&lt;li&gt;In the Publish section, set the Publish Address to one of the following addresses of the server nodes:
&lt;ul&gt;
&lt;li&gt;the unicast address of any server node. This configures the client example as follows:
&lt;ul&gt;
&lt;li&gt;The Button 1 on the client board turns ON LED 1 on the corresponding server board.&lt;/li&gt;
&lt;li&gt;The Button 2 on the client board turns OFF LED 1 on the corresponding server board.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;group addresses – if you choose this option, remember to subscribe the server nodes to these group addresses.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;See more here &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/Mesh_SDK/v3-1-0/md_examples_light_switch_README"&gt;https://www.nordicsemi.com/DocLib/Content/SDK_Doc/Mesh_SDK/v3-1-0/md_examples_light_switch_README&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>