<?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>can&amp;#39;t Send data to server from client with unicast address of server</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52805/can-t-send-data-to-server-from-client-with-unicast-address-of-server</link><description>I set the publish address of client using function: 
 
 Unicast address of sever is 0x0003. 
 After setting publish address by this function, I check publish address from mobile Nrf Mesh App, and it reflects the publish address to 0x0003. 
 but when I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 02 Oct 2021 21:16:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52805/can-t-send-data-to-server-from-client-with-unicast-address-of-server" /><item><title>RE: can't Send data to server from client with unicast address of server</title><link>https://devzone.nordicsemi.com/thread/332227?ContentTypeID=1</link><pubDate>Sat, 02 Oct 2021 21:16:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c824d486-0c40-4f1e-a2ca-5c611912f403</guid><dc:creator>urvilsuthar</dc:creator><description>&lt;p&gt;Hello Bivay,&lt;/p&gt;
&lt;p&gt;I am implementing something similar, has one client and multiple servers.&lt;/p&gt;
&lt;p&gt;Tried to change the unicast address for publishing works perfectly with button event. But when I tried to send message after changing unicast address it&amp;#39;s fall in to assert.&lt;/p&gt;
&lt;p&gt;Here is more details,&lt;/p&gt;
&lt;p&gt;Case 1:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;A: Get server node address and data over serial.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;B: Only change the unicast address.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;C: Manually press the button. This will send data to desired server.&lt;/p&gt;
&lt;p&gt;Case2:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Here step A and B are same.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; C: here I call button event function internally using function call. This get me to some assert s.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't Send data to server from client with unicast address of server</title><link>https://devzone.nordicsemi.com/thread/214878?ContentTypeID=1</link><pubDate>Mon, 14 Oct 2019 13:48:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c090ff04-e2a8-41ba-b00b-e704cb0cc7c8</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;As of now the only workaround is to have client and server model in seperate elements. But this only apply if the responses sent by the server model is segmented messages, if not client and server model can be on the same element. We are looking into the issue and try to fix this as soon as possible.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry for the inconvenience.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't Send data to server from client with unicast address of server</title><link>https://devzone.nordicsemi.com/thread/214404?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2019 13:49:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e449b87-1bd8-4ae7-92e5-53c7c9bb2197</guid><dc:creator>bivay</dc:creator><description>&lt;p&gt;I Think you are right when i use different element index for client , server and config and health, this method works.&lt;/p&gt;
&lt;p&gt;But I need all model in same element for proper addressing. How to solve this issue.&lt;/p&gt;
&lt;div style="bottom:0px;font-weight:400;left:0px;right:0px;top:0px;" id="mouseposition-extension-element-full-container"&gt;
&lt;div style="background:rgba(255, 255, 255, 0.7);color:#000000;cursor:default;display:none;font-family:&amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif;font-size:12px;height:0px;position:absolute;width:0px;" id="mouseposition-extension-element-rect-display"&gt;
&lt;pre style="background-color:rgba(255, 255, 255, 0.7);color:#000000;text-align:center;"&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;pre style="background:#ffffff;border-color:#222222 black #333333;border-radius:3px;border-style:solid;border-width:1px;color:#222222;cursor:default;display:none;font-family:&amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif;font-size:12px;line-height:14px;padding:3px;position:absolute;" id="mouseposition-extension-element-coordinate-display"&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't Send data to server from client with unicast address of server</title><link>https://devzone.nordicsemi.com/thread/214393?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2019 13:28:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe788d8c-1b31-401e-8f62-6e8e85c69682</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;I think your issue are related to &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/52488/unable-to-use-sar-for-both-request-and-response-using-loopback-with-sdk-for-mesh-v3-2-0" rel="noopener noreferrer" target="_blank"&gt;this&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't Send data to server from client with unicast address of server</title><link>https://devzone.nordicsemi.com/thread/214365?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2019 12:29:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7bdabff-797b-4dae-b884-07403faf6fa0</guid><dc:creator>bivay</dc:creator><description>&lt;p&gt;I am using latest mesh sdk: v3.2.0&lt;/p&gt;
&lt;p&gt;and nrf5 SDK 15.3.0.&lt;/p&gt;
&lt;div style="bottom:0px;font-weight:400;left:0px;right:0px;top:0px;" id="mouseposition-extension-element-full-container"&gt;
&lt;div style="background:rgba(255, 255, 255, 0.7);color:#000000;cursor:default;display:none;font-family:&amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif;font-size:12px;height:0px;position:absolute;width:0px;" id="mouseposition-extension-element-rect-display"&gt;
&lt;pre style="background-color:rgba(255, 255, 255, 0.7);color:#000000;text-align:center;"&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;pre style="background:#ffffff;border-color:#222222 black #333333;border-radius:3px;border-style:solid;border-width:1px;color:#222222;cursor:default;display:none;font-family:&amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif;font-size:12px;line-height:14px;padding:3px;position:absolute;" id="mouseposition-extension-element-coordinate-display"&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't Send data to server from client with unicast address of server</title><link>https://devzone.nordicsemi.com/thread/214310?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2019 09:15:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce127f4a-4a6e-4fc3-95a9-09292b041150</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Which Mesh SDK version are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't Send data to server from client with unicast address of server</title><link>https://devzone.nordicsemi.com/thread/214101?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2019 10:01:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a3e808b-9931-4e95-89b5-d6cf6776ef8c</guid><dc:creator>bivay</dc:creator><description>&lt;p&gt;I want to change publication address from uart data, So I need to this function to be call.&lt;/p&gt;
&lt;p&gt;what I have to do:&lt;/p&gt;
&lt;p&gt;&amp;gt; client and server node are in same element index, so have a unit node address,&lt;/p&gt;
&lt;p&gt;&amp;gt; Client sends some data to server and server response to it by using status publish function.&lt;/p&gt;
&lt;p&gt;&amp;gt; client verifies responses and task completed.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;issues are:&lt;/p&gt;
&lt;p&gt;when I use group address, I can see in log that in access.c &amp;gt;&amp;nbsp;access_incoming_handle function is called,&lt;/p&gt;
&lt;p&gt;but when I use unicast address, this function is not called.&lt;/p&gt;
&lt;p&gt;I think mesh address filtering is done here, so all mesh message passed through this function, am I right?&lt;/p&gt;
&lt;p&gt;I also tried this from app, too, but it didn&amp;#39;t work.&lt;/p&gt;
&lt;div style="background:rgba(255, 255, 255, 0.7);color:#000000;cursor:default;display:none;font-family:&amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif;font-size:12px;height:0px;position:absolute;width:0px;" id="mouseposition-extension-element-rect-display"&gt;
&lt;pre style="background-color:rgba(255, 255, 255, 0.7);color:#000000;text-align:center;"&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;pre style="background:#ffffff;border-color:#222222 black #333333;border-radius:3px;border-style:solid;border-width:1px;color:#222222;cursor:default;display:none;font-family:&amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif;font-size:12px;line-height:14px;padding:3px;position:absolute;" id="mouseposition-extension-element-coordinate-display"&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't Send data to server from client with unicast address of server</title><link>https://devzone.nordicsemi.com/thread/214063?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2019 08:20:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1dfba5f9-1286-4662-8eb6-ac4a8a0a6c41</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Is there are a reason why you are not using the nRF Mesh to set the publish as well? Can you try to commenting out the modifications you have done and set the publish address of the client via the app? Does it work?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't Send data to server from client with unicast address of server</title><link>https://devzone.nordicsemi.com/thread/213289?ContentTypeID=1</link><pubDate>Fri, 04 Oct 2019 04:49:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40dfac53-9970-4429-b862-b4d60d4bab8e</guid><dc:creator>bivay</dc:creator><description>&lt;p&gt;Yes I am using dimming example and made this modification only. And use a my android mobile to provisioning both.They have same keys.&lt;/p&gt;
&lt;div style="bottom:0px;font-weight:400;left:0px;right:0px;top:0px;" id="mouseposition-extension-element-full-container"&gt;
&lt;div style="background:rgba(255, 255, 255, 0.7);color:#000000;cursor:default;display:none;font-family:&amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif;font-size:12px;height:0px;position:absolute;width:0px;" id="mouseposition-extension-element-rect-display"&gt;
&lt;pre style="background-color:rgba(255, 255, 255, 0.7);color:#000000;text-align:center;"&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;pre style="background:#ffffff;border-color:#222222 black #333333;border-radius:3px;border-style:solid;border-width:1px;color:#222222;cursor:default;display:none;font-family:&amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif;font-size:12px;line-height:14px;padding:3px;position:absolute;" id="mouseposition-extension-element-coordinate-display"&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't Send data to server from client with unicast address of server</title><link>https://devzone.nordicsemi.com/thread/213169?ContentTypeID=1</link><pubDate>Thu, 03 Oct 2019 11:02:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:634897cd-69ef-4cb1-af52-6cc614c91d26</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you use the static provisioner form our SDK to provision both nodes? Also, is the function for setting the publish address the only modification you made to the example(assuming you are using the dimming example)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>