<?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>server and client model in same element index</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53016/server-and-client-model-in-same-element-index</link><description>Can a server and a client of dimming example, have same element instead of different element ID. 
 I got worked for server and client model in single node, but they are in different element index. 
 When I combined in single element index, they worked</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 May 2020 13:39:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53016/server-and-client-model-in-same-element-index" /><item><title>RE: server and client model in same element index</title><link>https://devzone.nordicsemi.com/thread/249503?ContentTypeID=1</link><pubDate>Tue, 12 May 2020 13:39:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bd8329f-27b4-4325-adb4-e6c8f65766bd</guid><dc:creator>bivay</dc:creator><description>&lt;p&gt;Is this issue solved in newer Mesh SDK 4.1.0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: server and client model in same element index</title><link>https://devzone.nordicsemi.com/thread/214999?ContentTypeID=1</link><pubDate>Tue, 15 Oct 2019 08:56:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e43b8f0d-d60c-4608-adfa-85c273e7a79b</guid><dc:creator>bivay</dc:creator><description>&lt;p&gt;Thank You&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: server and client model in same element index</title><link>https://devzone.nordicsemi.com/thread/214996?ContentTypeID=1</link><pubDate>Tue, 15 Oct 2019 08:35:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5301fd92-a8a3-4899-a7a6-87f5009abe3c</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Yes, that is correct :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: server and client model in same element index</title><link>https://devzone.nordicsemi.com/thread/214945?ContentTypeID=1</link><pubDate>Tue, 15 Oct 2019 05:29:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe03524c-8676-4a86-85a6-87cab1b9e7c3</guid><dc:creator>bivay</dc:creator><description>&lt;p&gt;As you said when client and server is in different element, I can use above function to communicate.&lt;/p&gt;
&lt;p&gt;Thank you for segmented message idea, I think I should try unsegmented method.&lt;/p&gt;
&lt;p&gt;As in code message length for unsegmented message is 11 byte. I am right?&amp;nbsp;&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: server and client model in same element index</title><link>https://devzone.nordicsemi.com/thread/214883?ContentTypeID=1</link><pubDate>Mon, 14 Oct 2019 14:01:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c56aafdd-1675-4f47-9772-222fb28104bc</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;I&amp;#39;m a little bit confused, you said &amp;quot;&lt;span&gt;I got worked for server and client model in single node, but they are in different element index.&amp;quot; but now it doesn&amp;#39;t work?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: server and client model in same element index</title><link>https://devzone.nordicsemi.com/thread/214401?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2019 13:39:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02e04495-7c2e-4ca5-a08e-a0b2f7c29d35</guid><dc:creator>bivay</dc:creator><description>&lt;p&gt;Mesh SDK: 3.2.0&lt;/p&gt;
&lt;p&gt;I also tried to use two element one for server with health and config server.&lt;/p&gt;
&lt;p&gt;and another for client.&lt;/p&gt;
&lt;p&gt;and used this function:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static uint32_t set_model_publish_address(uint16_t publish_address, access_model_handle_t model_handle) {
  if (!m_device_provisioned) return;
  if(get_model_publish_address(model_handle)==publish_address) return;
  uint32_t status = NRF_SUCCESS;
  //publish_address=0xc000;
  dsm_handle_t publish_address_handle = DSM_HANDLE_INVALID;
  access_model_publish_address_get(model_handle, &amp;amp;publish_address_handle);
  NRF_MESH_ASSERT(dsm_address_publish_remove(publish_address_handle) == NRF_SUCCESS);
  status = dsm_address_publish_add(publish_address, &amp;amp;publish_address_handle);
  if (status != NRF_SUCCESS) {
    return status;
  } else {
    return access_model_publish_address_set(model_handle, publish_address_handle);
  }
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;when I use group address : 0xC000 and other this function works,&lt;/p&gt;
&lt;p&gt;but when I use unicast address it didn&amp;#39;t work&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: server and client model in same element index</title><link>https://devzone.nordicsemi.com/thread/214391?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2019 13:27:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d2146c0-caec-4efe-83e5-fc810af07f01</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which Mesh SDK are you using? I think your issue is 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></channel></rss>