<?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>Controlling Servers using unicast address</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82886/controlling-servers-using-unicast-address</link><description>Hi everyone, I am looking into controlling servers using light_lightness server in 17.0.2 
 As far as I know, you can control the the publishing from client side by changing publishing address to the specific unicast address. Since I want to control quite</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Jan 2022 08:41:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82886/controlling-servers-using-unicast-address" /><item><title>RE: Controlling Servers using unicast address</title><link>https://devzone.nordicsemi.com/thread/349148?ContentTypeID=1</link><pubDate>Mon, 24 Jan 2022 08:41:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ca549ea-a48e-4022-95bf-90fc4dc872c3</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="kyle goldsteins"] I want to control all these servers from one client alone from a central location[/quote][quote user="kyle goldsteins"]I would like to be able to control these servers individually and not by group addresses.[/quote]
&lt;p&gt;Any particular reason why you do not want to control the servers using group addresses? You know, you could control them using both group addresses and unicast. You dont have to use just one of the two.&lt;/p&gt;
[quote user="kyle goldsteins"](Hence, looking at increasing elements so that each server is subscribed to their own respective element. No server will be subscribed in the same element)[/quote]
&lt;p&gt;This is only necessary when the servers handle the same types of messages. If the servers you are referring to here are more than just lights, then you could have them in the same element.&lt;/p&gt;
&lt;p&gt;And I don&amp;#39;t know if I follow your reasoning here. The amount of elements have nothing to do with whether or not group addresses are used. The spec simply doesn&amp;#39;t allow similar models in an element (as that wouldn&amp;#39;t allow them to be &amp;quot;identified&amp;quot;/addressed), it isnt an option for situations where one wouldn&amp;#39;t need them individually addressed.&lt;/p&gt;
&lt;p&gt;I think the use of the word &lt;em&gt;subscribe &lt;/em&gt;might confuse you, maybe &amp;quot;contain&amp;quot; would be better. Elements contain models.&lt;/p&gt;
[quote user="kyle goldsteins"]I am aware that you can allow all the servers to be subscribed to a single element and make the client publish to a specific unicast address if you want to talk to a&amp;nbsp;specific&amp;nbsp;server [/quote]
&lt;p&gt;As two individual statements I could agree with this, but the way you described it makes me think you&amp;#39;ve misunderstood.&amp;nbsp; The servers aren&amp;#39;t addressable, the elements are. A unicast address isn&amp;#39;t the address to a server per se, but the address to an element that could contain a server.&lt;/p&gt;
[quote user="kyle goldsteins"]However, if I have lots of servers, this process can be quite tedious and I would have to keep changing it.&amp;nbsp;[/quote]
&lt;p&gt;Why wouldn&amp;#39;t group addresses fix this for you?&lt;/p&gt;
[quote user="kyle goldsteins"]EDIT: Also you mentioned that the composition data is held in the model_handler.c. I can&amp;#39;t seem to find it. I am using Mesh v4.2.0 light lightness example.[/quote]
&lt;p&gt;Ah right. I thought you were using nRF Connect SDK for a second. I&amp;#39;ll get back to you with the info for nRF5 SDK for Mesh.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controlling Servers using unicast address</title><link>https://devzone.nordicsemi.com/thread/348820?ContentTypeID=1</link><pubDate>Fri, 21 Jan 2022 01:51:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce145863-8f54-4458-8ed0-70dcab6721bb</guid><dc:creator>kyle goldsteins</dc:creator><description>&lt;p&gt;Hi Elfving,&lt;/p&gt;
&lt;p&gt;The reason why I want all the servers to be on one node is because I want to control all these servers from one client alone from a central location. In addition, I would like to be able to control these servers individually and not by group addresses. (Hence, looking at increasing elements so that each server is subscribed to their own respective element. No server will be subscribed in the same element)&lt;/p&gt;
&lt;p&gt;I am aware that you can allow all the servers to be subscribed to a single element and make the client publish to a specific unicast address if you want to talk to a&amp;nbsp;specific&amp;nbsp;server . However, if I have lots of servers, this process can be quite tedious and I would have to keep changing it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I hope this clears things up as to what I am trying to achieve. Do let me know your thoughts and if there are any more questions on my project. Thanks for your help a lot !&lt;/p&gt;
&lt;p&gt;EDIT: Also you mentioned that the composition data is held in the model_handler.c. I can&amp;#39;t seem to find it. I am using Mesh v4.2.0 light lightness example. Perhaps it is defined in another file?&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Kyle&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controlling Servers using unicast address</title><link>https://devzone.nordicsemi.com/thread/348672?ContentTypeID=1</link><pubDate>Thu, 20 Jan 2022 11:02:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9238edb4-515f-4940-b41f-556c017f18ae</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="kyle goldsteins"]May I know where to find this?[/quote]
&lt;p&gt;&lt;a href="https://www.bluetooth.com/specifications/specs/mesh-profile-1-0-1/"&gt;Here you are. &lt;/a&gt;3.6.2.1 should be right there,&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1642676624348v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;but maybe section 4.2.1 would be be more interesting. Especially figure 4.1.&lt;/p&gt;
[quote user="kyle goldsteins"]May I know where is the composition data held in the nRF52840?[/quote]
&lt;p&gt;Yes, that seems to be set on line 159 in model_handler.c.&lt;/p&gt;
&lt;p&gt;I might be of better help if you could explain further why you would need this to be on only one node. There may be other ways to solve this, that are more in line with how Bluetooth mesh works. Eg: expanding the functionality of the models using op-codes and sub-opcodes.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controlling Servers using unicast address</title><link>https://devzone.nordicsemi.com/thread/348671?ContentTypeID=1</link><pubDate>Thu, 20 Jan 2022 11:02:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17a575af-a0d9-4c50-901f-f3a3e8835240</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="kyle goldsteins"]May I know where to find this?[/quote]
&lt;p&gt;&lt;a href="https://www.bluetooth.com/specifications/specs/mesh-profile-1-0-1/"&gt;Here you are. &lt;/a&gt;3.6.2.1 should be right there, &lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1642665539079v1.png" alt=" " /&gt;&amp;#39;&lt;/p&gt;
&lt;p&gt;but maybe section 4.2.1 would be be more interesting. Especially figure 4.1.&lt;/p&gt;
[quote user="kyle goldsteins"]May I know where is the composition data held in the nRF52840?[/quote]
&lt;p&gt;Yes, that seems to be set on line 159 in model_handler.c.&lt;/p&gt;
&lt;p&gt;I might be of better help if you could explain further why you would need this to be on only one node. There may be other ways to solve this, that are more in line with how Bluetooth mesh works. Eg: expanding the functionality of the models using op-codes and sub-opcodes.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controlling Servers using unicast address</title><link>https://devzone.nordicsemi.com/thread/348608?ContentTypeID=1</link><pubDate>Thu, 20 Jan 2022 01:31:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bfeae9b-f67c-430f-ae31-e8a335fb65aa</guid><dc:creator>kyle goldsteins</dc:creator><description>&lt;p&gt;Hi Elfving,&lt;/p&gt;
&lt;p&gt;Thank you for your reply.&lt;/p&gt;
[quote userid="103347" url="~/f/nordic-q-a/82886/controlling-servers-using-unicast-address/347939#347939"]For more info on why this is a restriction you can take a look at section 3.6.2.1 in the Mesh Profile spec.[/quote]
&lt;p&gt;May I know where to find this? I have tried looking it up at the Mesh Profile (MESH) document but there isn&amp;#39;t a 3.6.2.1 section.&lt;/p&gt;
[quote userid="103347" url="~/f/nordic-q-a/82886/controlling-servers-using-unicast-address/347939#347939"]it will probably result in even more issues for you.[/quote]
&lt;p&gt;As I have mentioned, the issue when increasing the number of elements will cause the node to be stuck at &amp;quot;sending composition data get&amp;quot; in the nRF mesh app when provisioning. May I know where is the composition data held in the nRF52840?&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Kyle&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controlling Servers using unicast address</title><link>https://devzone.nordicsemi.com/thread/347939?ContentTypeID=1</link><pubDate>Mon, 17 Jan 2022 08:33:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:295f4f9c-9748-4e85-b517-fd1170bcd03f</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hey Kyle,&lt;/p&gt;
&lt;p&gt;I am still having trouble understanding why you would want this, but at least now I know this actually is what you want.&lt;/p&gt;
[quote user="kyle goldsteins"]Any idea for this?[/quote]
&lt;p&gt;No. This will go against the composition data size restrictions of the node, and the Mesh spec. For more info on why this is a restriction you can take a look at section 3.6.2.1 in the Mesh Profile spec.&lt;/p&gt;
&lt;p&gt;You could create a proprietary Mesh solution however, and go against the spec. This isn&amp;#39;t something I can recommend however, and it will probably result in even more issues for you. If this is what you want to do, then I wouldn&amp;#39;t rely too much on the examples and such however - as breaking the composition data size restrictions won&amp;#39;t be the only massive change you&amp;#39;re going to make.&lt;/p&gt;
&lt;p&gt;Though if you want all the models to be on the same node, I assume the Bluetooth part of Mesh isn&amp;#39;t that important to you?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controlling Servers using unicast address</title><link>https://devzone.nordicsemi.com/thread/347875?ContentTypeID=1</link><pubDate>Sun, 16 Jan 2022 06:22:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc15879a-8386-4ed3-9db6-c19e68c78bc3</guid><dc:creator>kyle goldsteins</dc:creator><description>&lt;p&gt;Hi Elfving,&lt;/p&gt;
&lt;p&gt;Thank you for your suggestion! However, what I am looking at is for all the lights to be on the same node? Any idea for this?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Kyle&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controlling Servers using unicast address</title><link>https://devzone.nordicsemi.com/thread/347681?ContentTypeID=1</link><pubDate>Fri, 14 Jan 2022 07:27:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89b47a6e-52aa-488b-8b12-bedb9528e349</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Kyle,&lt;/p&gt;
[quote user="kyle goldsteins"]What I plan on doing is implement a lighting system on a small scale building (about 100 lights) using the client/server system.[/quote]
&lt;p&gt;Sounds great!&lt;/p&gt;
&lt;p&gt;In that case I assume the 100 lights would be somewhat spread out physically, and be different nodes. You might even only need one element per node, and maybe two servers. That would be far less than what the composition data size restrictions are limiting you to (the restrictions only count for one node). Additionally the light servers would all be on different elements, so they are controllable individually (each node has its own elements).&lt;/p&gt;
&lt;p&gt;Does that sound like a plan, or do you need all the lights to be on the same node?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controlling Servers using unicast address</title><link>https://devzone.nordicsemi.com/thread/347672?ContentTypeID=1</link><pubDate>Fri, 14 Jan 2022 01:46:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82c6ba87-f66f-4f54-b5f2-f05f975f6f37</guid><dc:creator>kyle goldsteins</dc:creator><description>&lt;p&gt;Hi Elfving,&lt;/p&gt;
&lt;p&gt;What I plan on doing is implement a lighting system on a small scale building (about 100 lights) using the client/server system.&lt;/p&gt;
[quote userid="103347" url="~/f/nordic-q-a/82886/controlling-servers-using-unicast-address/347316#347316"]Then you might want as many elements as physical bulbs, since you want to control them independently.[/quote]
&lt;p&gt;Yes, I want to be able to control these lights individually so the number of elements would be the same as the number of physical light bulbs. In this case, that would mean 100 physical light bulbs for my system.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Kyle&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controlling Servers using unicast address</title><link>https://devzone.nordicsemi.com/thread/347316?ContentTypeID=1</link><pubDate>Wed, 12 Jan 2022 09:01:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba553b9d-edf7-4383-87f0-9cd3ec322220</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hey Kyle,&lt;/p&gt;
[quote user="kyle goldsteins"]&lt;blockquote&gt;&lt;div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;/div&gt;
&lt;p&gt;This is because I am looking at controlling the servers individually from the client node. &lt;/p&gt;[/quote]
&lt;p&gt;You should already be able to do that as long as all the models are different/ handle different messages. So the questions is why you would need this many models &lt;em&gt;of the same kind&lt;/em&gt; on the same node?&lt;/p&gt;
&lt;p&gt;A typical situation where this is considered, is if you are making a lamp with multiple physical bulbs/LEDs. Then you might want as many elements as physical bulbs, since you want to control them independently. Needing more than 44 of them however is a bit surprising.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controlling Servers using unicast address</title><link>https://devzone.nordicsemi.com/thread/347279?ContentTypeID=1</link><pubDate>Wed, 12 Jan 2022 01:45:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef787b25-0e63-43a0-91a2-3ddcbe8b99f1</guid><dc:creator>kyle goldsteins</dc:creator><description>&lt;p&gt;Hi Elfving!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="103347" url="~/f/nordic-q-a/82886/controlling-servers-using-unicast-address/347169#347169"]but all of these elements are in fact on the same node that you are struggling with provisioning?[/quote]
&lt;p&gt;Yes that is correct!&lt;/p&gt;
[quote userid="103347" url="~/f/nordic-q-a/82886/controlling-servers-using-unicast-address/347169#347169"]As you are left with 44 elements I assume you have 2 models per element.[/quote]
&lt;p&gt;I have checked on the nRF mesh app. Currently, there is only one model per element called &amp;#39;Light Lightness Client&amp;#39;.&lt;/p&gt;
[quote userid="103347" url="~/f/nordic-q-a/82886/controlling-servers-using-unicast-address/347169#347169"]Though could you expand a bit on why would need all these elements?[/quote]
&lt;p&gt;This is because I am looking at controlling the servers individually from the client node. Group addresses isn&amp;#39;t what I am looking for as that would mean one command would be sent to all the servers.. Hence, it would be most ideal if I was able to have more elements so that I can control more servers individually.&lt;/p&gt;
&lt;p&gt;I have managed to increase the number of elements to 60 in my previous reply, please take a look at it and let me know how to solve the &amp;#39; sending composition data get&amp;#39; issue if its possible&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Kyle&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controlling Servers using unicast address</title><link>https://devzone.nordicsemi.com/thread/347169?ContentTypeID=1</link><pubDate>Tue, 11 Jan 2022 13:12:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03bdd00b-1f7b-44e5-a64e-224ce5e56d7b</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Kyle!&lt;/p&gt;
[quote user="kyle goldsteins"]Anything above 44 and the node is unable to be provisioned. I have found out that the composition data should not exceed the access_message_length_max which is 380[/quote]
&lt;p&gt;Yes, now it seems that we are on the same page. I thought you were dealing with a 44th node, but all of these elements are in fact on the same node that you are struggling with provisioning?&lt;/p&gt;
&lt;p&gt;Due to the max transport PDU size of 350 octets, the node is limited by the composition data size restrictions. &lt;strong&gt;&lt;em&gt;This has little to do with the provisioner and the app itself though.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Out of this possible 380, 10 bytes are taken by some meta data. Then, each element consumes 4 bytes and 2 octets per SIG model and 4 octets per Vendor model. If you have 1 element with just SIG models, it gives you a maximum of 183 models. As you are left with 44 elements I assume you have 2 models per element.&lt;/p&gt;
[quote user="kyle goldsteins"]Is it possible to properly increase this number so that I could have more elements? [/quote]
&lt;p&gt;No, that would go against the Mesh spec. The list of elements and their models is sent as Composition Page 0, and this has to be a single message.&lt;/p&gt;
[quote user="kyle goldsteins"]What do you mean by using virtual addresses? Can the virtual address be used to control the lights on the terminal?[/quote]
&lt;p&gt;Sorry, I meant group addresses. Though there are unicast addresses, virtual addresses and group addresses. Each node has a unicast address, the virtual addresses use a UUID to I identify a node (independent of configuration in network), and the group addresses are configurable to include several elements. If you wanted to include several elements in one address then a group address might be what you are looking for.&lt;/p&gt;
[quote user="kyle goldsteins"]What I hope to achieve is that the 2 servers can be controlled individually even though they are subscribed in the same element. I know that the easier way would be to place these 2 servers in separate models under separate elements.[/quote]
&lt;p&gt;This issue is referred to as &amp;quot;model overlap&amp;quot;. According to the spec: &amp;quot;An element is not allowed to contain multiple instances of models that use the same message in the same way (for example, receive an “On” message)&amp;quot;. To fix it put the other model in another element. There is no other way that is according to the spec.&lt;/p&gt;
&lt;p&gt;To summarize everything, you should get more nodes in your network to handle all your models and elements. Though could you expand a bit on why would need all these elements?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controlling Servers using unicast address</title><link>https://devzone.nordicsemi.com/thread/347043?ContentTypeID=1</link><pubDate>Tue, 11 Jan 2022 03:01:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1af35991-e9d1-4e23-bb1b-980459d68f22</guid><dc:creator>kyle goldsteins</dc:creator><description>&lt;p&gt;Hi, just an update&lt;/p&gt;
&lt;p&gt;I managed to increase the element count to 60.&amp;nbsp;I commented out the NRF_MESH_STATIC_ASSERT&amp;nbsp;in config_server.c for the composition data size. However, I am unable to go above 60 when trying to provision the client. The code is able to build and run, but when configuring the client, it gets stuck at &amp;#39;sending composition data get&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controlling Servers using unicast address</title><link>https://devzone.nordicsemi.com/thread/346825?ContentTypeID=1</link><pubDate>Mon, 10 Jan 2022 02:06:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ec066da-213f-4393-bd6a-68eeccd683f6</guid><dc:creator>kyle goldsteins</dc:creator><description>&lt;p&gt;Hi! Thanks for the reply!&amp;nbsp;&lt;/p&gt;
[quote userid="103347" url="~/f/nordic-q-a/82886/controlling-servers-using-unicast-address/346278#346278"]Would you mind expanding a bit on how you see this restriction in the app? The composition data size restrictions should restrict the amount of elements on a node, didn&amp;#39;t think it also restricted the amount of elements registered on the app.[/quote]
&lt;p&gt;Sure. As of now, the maximum number of elements&amp;nbsp;that I have managed to get is 44 (modified in nrf_mesh_config_app). Anything above 44 and the node is unable to be provisioned. I have found out that the composition data should not exceed the access_message_length_max which is 380. Is it possible to properly increase this number so that I could have more elements? I have tried changing from 380 to a larger&amp;nbsp;number and the code did not produce any error,&amp;nbsp;but despite this the node could not be provisioned when I tried to configure it in the nRF Mesh app. If this number can be increased then the composition data size would not exceed the access_message_length_max.&lt;/p&gt;
[quote userid="103347" url="~/f/nordic-q-a/82886/controlling-servers-using-unicast-address/346278#346278"]Have you considered using virtual addresses? You dont have to always use unicast.[/quote]
&lt;p&gt;What do you mean by using virtual addresses? Can the virtual address be used to control the lights on the terminal?&lt;/p&gt;
[quote userid="103347" url="~/f/nordic-q-a/82886/controlling-servers-using-unicast-address/346278#346278"]I believe you might have misunderstood how that works.. or maybe I am misunderstanding you. Nodes contain elements which contain models which contain states. That is simply the hierarchy it uses, no matter how you configure it. Think of nodes as a physical entity. The element simply has an address, and passes the message on to the model that uses it. How the server handles the message is up to the server, and you can modify that as you please.[/quote]
&lt;p&gt;Regarding this. Yes I am aware about the hierarchy. Lets say I have 2 servers and I subscribe them to a model under&amp;nbsp;the same&amp;nbsp;element in Light lightness client. This means that in the J-link, if I were to send a command that corresponds to that element to activate the lights, both servers will receive the command. What I hope to achieve is that the 2 servers can be controlled individually even though they are subscribed in the same element. I know that the easier way would be to place these 2 servers in separate models under separate elements. However, as I am facing the issue of the composition data size, I am unable to get more than 44 elements.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Therefore, I was thinking that if increasing the number of elements is not possible, then controlling servers individually (even in the same model under the same element) would be the alternative to my problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controlling Servers using unicast address</title><link>https://devzone.nordicsemi.com/thread/346278?ContentTypeID=1</link><pubDate>Wed, 05 Jan 2022 16:05:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d96da966-8b4f-4385-9c06-f4fa5587663a</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello again!&lt;/p&gt;
[quote user=""]Since I want to control quite a number of servers, having too many elements in the NRF mesh app is not possible due to composition data size restrictions.[/quote]
&lt;p&gt;Would you mind expanding a bit on how you see this restriction in the app? The composition data size restrictions should restrict the amount of elements on a node, didn&amp;#39;t think it also restricted the amount of elements registered on the app. &lt;/p&gt;
[quote user=""]control specific servers using their unicast address instead? The process of changing unicast address on nrf mesh app can be quite troublesome as you would have to keep changing it.&amp;nbsp;[/quote]
&lt;p&gt;Have you considered using virtual addresses? You dont have to always use unicast.&lt;/p&gt;
[quote user=""]I am aware that you can subscribe the servers into an element so you can control them all at once. But is it possible to control them individually despite being in the same group?[/quote]
&lt;p&gt;I believe you might have misunderstood how that works.. or maybe I am misunderstanding you. Nodes contain elements which contain models which contain states. That is simply the hierarchy it uses, no matter how you configure it. Think of nodes as a physical entity. The element simply has an address, and passes the message on to the model that uses it. How the server handles the message is up to the server, and you can modify that as you please. &lt;/p&gt;
[quote user=""]For instance, using unicast address on J-link as a command and not changing unicast address on the nrf mesh app. If its possible, how should I go about achieving this?[/quote]
&lt;p&gt;If you want to automate some of the messages and respond to commands using the terminal, then I would recommend having a look at the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/mesh/chat/README.html?highlight=mesh%20chat"&gt;Mesh Chat example&lt;/a&gt; and see how that is implemented. Maybe use that as a starting point.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controlling Servers using unicast address</title><link>https://devzone.nordicsemi.com/thread/345550?ContentTypeID=1</link><pubDate>Sun, 02 Jan 2022 13:40:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6060c9f8-cd2b-4c4c-93bd-68224e017ebb</guid><dc:creator>kyle goldsteins</dc:creator><description>&lt;p&gt;Sure, no problem!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controlling Servers using unicast address</title><link>https://devzone.nordicsemi.com/thread/344825?ContentTypeID=1</link><pubDate>Wed, 22 Dec 2021 15:38:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e65817d-e1f3-4d1c-9ae8-6c3287102590</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hey Kyle! Sorry about the delay.&lt;/p&gt;
&lt;p&gt;I will have to get back to you on this. Unfortunately, due to the holidays you might have to expect both limited help and slower responses on DevZone.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>