<?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>combine light switch and remore mesh don&amp;#39;t control light</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33937/combine-light-switch-and-remore-mesh-don-t-control-light</link><description>Hi all, 
 After I combile light switch example and remote example for my client and server board . Function Remote run fine . But when I push button for send unicast message . 2 board seem dont receiver correct .I define light switch and remote is different</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 21 Nov 2018 15:13:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33937/combine-light-switch-and-remore-mesh-don-t-control-light" /><item><title>RE: combine light switch and remore mesh don't control light</title><link>https://devzone.nordicsemi.com/thread/158474?ContentTypeID=1</link><pubDate>Wed, 21 Nov 2018 15:13:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9107d1a3-a868-458f-b8cd-0231be8d6d44</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Ok sorry about that. You can find v1.x&lt;a href="https://github.com/NordicSemiconductor/nRF5-SDK-for-Mesh/commits/master"&gt; here.&amp;nbsp;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: combine light switch and remore mesh don't control light</title><link>https://devzone.nordicsemi.com/thread/158396?ContentTypeID=1</link><pubDate>Wed, 21 Nov 2018 12:25:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76e9d6fc-ec11-407b-8c94-ffba200f875f</guid><dc:creator>turki</dc:creator><description>&lt;p&gt;if i press on the version of the file i want to download wish is just 2.2.0 available it takes me to a page where there are just the v2.x mesh SDK versions , there is no v1.x&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: combine light switch and remore mesh don't control light</title><link>https://devzone.nordicsemi.com/thread/158382?ContentTypeID=1</link><pubDate>Wed, 21 Nov 2018 11:59:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54dacdfb-68d0-407d-8804-f4deee1516c6</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Please click on the version of the file you want to download in the download tab, it will open another page that has all the versions.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: combine light switch and remore mesh don't control light</title><link>https://devzone.nordicsemi.com/thread/158335?ContentTypeID=1</link><pubDate>Wed, 21 Nov 2018 09:01:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80a593b0-03cb-4dd7-b58a-963561f677e0</guid><dc:creator>turki</dc:creator><description>&lt;p&gt;hello&amp;nbsp;&lt;/p&gt;
&lt;p&gt;how can i download the mesh SDK v1.x to try to understand how to configure manually the client with the provisioner in the same board ???&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: combine light switch and remore mesh don't control light</title><link>https://devzone.nordicsemi.com/thread/133354?ContentTypeID=1</link><pubDate>Fri, 25 May 2018 07:43:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec82d299-55fb-4d8b-ad9a-d144fe4351f3</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Giang,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You are doing it incorrectly.&amp;nbsp;config_client_model_subscription_add() is only used when you are a config client and you want to configure a remote node. I already explained this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you really read the case I gave you in earlier answer?&lt;/p&gt;
&lt;p&gt;This&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/29879/subscribe-a-group-address-for-the-mesh-message"&gt;case&lt;/a&gt;. Please follow it. I quoted here:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Basically you need to call dsm_address_subscription_add() to add the group address to the DSM address database. And then call access_model_subscription_add() to assign the server model to listen to that address.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In addition, when you call a function, always check for the return code to make sure there is not any problem with the call. You should not call&amp;nbsp;config_client_model_subscription_add() without any check.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please study the access_setup() function in the light switch client in SDK v1.0.1. In that example we setup 4 clients locally, assign publication address of the three server to&amp;nbsp;three&amp;nbsp;of the clients. And the last&amp;nbsp;client, we assign the&amp;nbsp;GROUP_ADDRESS (0xCAFE) to the publication address. In your case, you probably want to add the subscription address instead of publication address. Please study that function and let me know which part you don&amp;#39;t understand.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How do you plan to send data from the server node to the client node ? I provided you 2 solutions , one is to send via STATUS reply, another is to send as a client (having another element on the server node to work as client)&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: combine light switch and remore mesh don't control light</title><link>https://devzone.nordicsemi.com/thread/133162?ContentTypeID=1</link><pubDate>Thu, 24 May 2018 08:31:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d566b2e6-0edf-44d1-99f9-579344228fdd</guid><dc:creator>Giang</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In Provisioner has 2 client , client 1 for group address, client 2 to match to server.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- Provisioner config for serrver :&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;LOG: Set: on/off server pub addr: 0x00FC&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- In side client 2 , I add code :&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;    __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, &amp;quot;Adding subscription to client\n&amp;quot;);
    uint16_t element_address = PROVISIONER_ADDRESS + 2;
    nrf_mesh_address_t address = {NRF_MESH_ADDRESS_TYPE_INVALID, 0, NULL};
    address.type = NRF_MESH_ADDRESS_TYPE_UNICAST;
    address.value = 0x00FC;
    access_model_id_t model_id;
    model_id.company_id = ACCESS_COMPANY_ID_NORDIC;
    model_id.model_id = SIMPLE_ON_OFF_CLIENT_MODEL_ID;
    config_client_model_subscription_add(element_address, address, model_id);&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Why client of provisioner still dont receiver messager from server Node ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I still misunderstand where?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: combine light switch and remore mesh don't control light</title><link>https://devzone.nordicsemi.com/thread/132927?ContentTypeID=1</link><pubDate>Wed, 23 May 2018 08:45:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffb6dc1c-ea9b-40cc-b567-419666875bef</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;In the example, the client receive data from the server by the status message reply to the set command of the client (handle_status_cb() with SIMPLE_ON_OFF_OPCODE_STATUS ) , it can also send its status when the client send a&amp;nbsp;simple_on_off_client_get() to get the status.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;By design, the command set/get should go from the client to the server, the server reply with its status.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you want to send data from the server node to the client node, you can implement a client on the server node and a server on the client node as well.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: combine light switch and remore mesh don't control light</title><link>https://devzone.nordicsemi.com/thread/132901?ContentTypeID=1</link><pubDate>Wed, 23 May 2018 08:02:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ceca7d3-cff8-48f5-8b13-9d8a92a78fa7</guid><dc:creator>Giang</dc:creator><description>&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;I have 1 provisioner and 1 server .&lt;/p&gt;
&lt;p&gt;Provisioner has 2 client , 1 client for group address, 1 client to match to server .&lt;/p&gt;
&lt;p&gt;I can send from provisioner to server by 2 way ok (simple_on_off_client_set and&amp;nbsp;simple_on_off_client_set_unreliable) . But I still dont receiver data from server . I follow example light switch client at SDK 1.x . Can you show me the code at this example&amp;nbsp; for the function receiver data from server of client . Thank !!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: combine light switch and remore mesh don't control light</title><link>https://devzone.nordicsemi.com/thread/132761?ContentTypeID=1</link><pubDate>Tue, 22 May 2018 12:29:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2941115-054a-4fdf-ac0b-87d91008567d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;There is nothing call &amp;quot;public address&amp;quot; in mesh, it&amp;#39;s publication address I assume you talk about ? (or publish address) Or it&amp;#39;s the unicast address ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You should use subscription address on your client on your provisioner.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;A node can receive data either by their unicast address or the subscription addresses it subscribed to.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In our example we made up two group address&amp;nbsp;GROUP_ADDRESS_EVEN and&amp;nbsp;GROUP_ADDRESS_ODD that we assign them as subscription address for the light switch servers and as publication address for the light switch client 3 and 4 (button 3 and 4).&lt;/p&gt;
&lt;p&gt;Please read more about Bluetooth Mesh concept &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v2.0.1/md_doc_introduction_basic_concepts.html?cp=4_1_0_0_5"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: combine light switch and remore mesh don't control light</title><link>https://devzone.nordicsemi.com/thread/132676?ContentTypeID=1</link><pubDate>Tue, 22 May 2018 08:33:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5538c51f-7835-4c6b-9214-5497314f19a9</guid><dc:creator>Giang</dc:creator><description>&lt;p&gt;Thank for reply,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I resume that : In server Node , provisioner will config for server node . Server node subscribe to 1 group (0xC002) . In provisoner , I add 1 client and&amp;nbsp;Set publish address for it is 0xC002 . So , I can use&amp;nbsp;simple_on_off_client_set_unreliable for send data from client on provisoner to server node . But on receiver side of provisoner , I dont know how to set up it , So I execute step 2.&lt;/p&gt;
&lt;p&gt;2. I add client 2 on provisioner , and set public address of it is 0x0101. In server node , I set public address is 0x0101 .&amp;nbsp;I think this way they can send data to each other . Is this right ? But I&amp;nbsp; have not done it yet .&amp;nbsp;I do not understand what is wrong ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: combine light switch and remore mesh don't control light</title><link>https://devzone.nordicsemi.com/thread/132661?ContentTypeID=1</link><pubDate>Tue, 22 May 2018 08:01:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:428ab993-c519-4429-83b2-9fd3a79dc4a1</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Giang,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry for late response. I was on vacation last week.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;config_client_model_subscription_add() is to be used when you do configuration from the provisioner to the provisionee.&lt;/p&gt;
&lt;p&gt;Basically the process is like this: provisioner do provision, assign address, device key, network key to the provisionee.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;After that, if the provisioner has the configuration client and the provisionee has the configuration server, the configuration process happens. In this process, the config client assign the application keys to the provisionee, assign the subscription address, publication address to the provisionee via the config server.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please follow the interactive python tutorial.&lt;/p&gt;
&lt;p&gt;The function you mentioned is used for the config client to assign subscription address to provisionee.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is not needed when you have the light switch client on the provisioner. If it&amp;#39;s on the provisioner, you need to do it locally. Have a look &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/29879/subscribe-a-group-address-for-the-mesh-message"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: combine light switch and remore mesh don't control light</title><link>https://devzone.nordicsemi.com/thread/131679?ContentTypeID=1</link><pubDate>Fri, 11 May 2018 08:52:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bdf0a71-bbb4-4de4-b9a8-cdaed0979602</guid><dc:creator>Giang</dc:creator><description>&lt;p&gt;Hi , I have question, in the description above , when I send data from provisioner to Node , it ok . But provisioner not receiver data from Node .&amp;nbsp;I guess is due : I don&amp;#39;t config for provisioner subscribe to Node for receiver changes from it . So I find out function :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;config_client_model_subscription_add(uint16_t element_address, nrf_mesh_address_t address, access_model_id_t model_id)&lt;/pre&gt;But I dont understand parameter of function . Please explain for me , how config for provisioner subscribe to model of Node . Thank for help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: combine light switch and remore mesh don't control light</title><link>https://devzone.nordicsemi.com/thread/131570?ContentTypeID=1</link><pubDate>Wed, 09 May 2018 15:29:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87173824-8035-4b7b-ac9f-c92316141d9d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Giang,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I agree that we lack good tutorial and documentation about Mesh especially provisioning part. I have a plan to make one. For now please try the python interactive API. By going through &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v2.0.1/md_scripts_interactive_pyaci_doc_demo_configuration.html?cp=4_1_0_2_0_2"&gt;the tutorial&lt;/a&gt;&amp;nbsp;you will have good understanding about provision and configuration.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: combine light switch and remore mesh don't control light</title><link>https://devzone.nordicsemi.com/thread/131307?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 08:24:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d34c359d-545c-417b-9be0-259ca2137fdd</guid><dc:creator>Giang</dc:creator><description>&lt;p&gt;Thank for reply,&lt;/p&gt;
&lt;p&gt;After I add light switch client to provisioner , I add some code for set public address for provisioner with Nodes . Provisioner can send data for Node success ,&amp;nbsp;But I&amp;#39;m still very vague about configuration part.&amp;nbsp;Why not have a tutorial&amp;nbsp;for this issue ? Can you&amp;nbsp;give a small tutorial on this issue on here . Steps about provisioner add public address with others node. Thank very much !!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: combine light switch and remore mesh don't control light</title><link>https://devzone.nordicsemi.com/thread/131240?ContentTypeID=1</link><pubDate>Mon, 07 May 2018 14:55:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a07d57a-c7c7-4e6d-a256-dfe1178becc5</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;1. As I mentioned, if you add the light switch client to the provisioner, you need to configure the model, add applicationkey, publication address.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;If you add the remote provisioner client into the light switch client, you still need to configure your light switch client.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What do you mean exactly by &amp;quot;gateway&amp;quot;&amp;nbsp; ?&amp;nbsp; In BLE Mesh there isn&amp;#39;t a well defined name for gateway.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In SDK v1.x we combine the provisioner and the light switch into one device, but different elements. The provisioning and configuration of the clients on the device is done manually and locally. It&amp;#39;s not standard to do so. The client doesn&amp;#39;t have to be on the same device as the provisioner. And in most case it won&amp;#39;t.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Why exactly do you want to combine the light switch to the light blub ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you use an extra device to work as provisioner and can do remote provisioning. But be aware even you do so, you still need to do configuration from the provisioner.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Of course, there is nothing wrong to combine the provisioner to the light switch client, for example you can sell a package of 1 or multiple light blub and one light switch. And the light switch should be able to do provisioning and setup the network. If you want to do that, you follow what we do in SDK v1.x&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: combine light switch and remore mesh don't control light</title><link>https://devzone.nordicsemi.com/thread/130978?ContentTypeID=1</link><pubDate>Fri, 04 May 2018 09:20:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:254d79b8-6b33-4aca-be4a-c98736686bdc</guid><dc:creator>Giang</dc:creator><description>&lt;p&gt;I am confused between two directions:&lt;/p&gt;
&lt;p&gt;1. Use provisioner is gateway . So , it had provision part and configuration part. And I have to add remote client part and simple on/off client for send data to Nodes (simple on/off server + remote server) . And I have a question : When I add simple on/off client to provisioner , I have to add public address for it match with Nodes . It correct?&lt;/p&gt;
&lt;p&gt;2. Use light switch client is gateway. So , I have to add remote client and configuration part for send data to Nodes (light switch server + remote server) . And about configuration part, I realize that provisioner example (v2.1) and light switch client (v1.x) had it . And&amp;nbsp;I wondered which one was right . I am trying&amp;nbsp; add configuration part of provisioner example to (light switch client + remote client) , and want it is gateway .&amp;nbsp;I have the following error :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/6332.3.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;Any suggest for it ?&lt;/p&gt;
&lt;p&gt;Sorry for the inconvenience ! Thank!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: combine light switch and remore mesh don't control light</title><link>https://devzone.nordicsemi.com/thread/130950?ContentTypeID=1</link><pubDate>Fri, 04 May 2018 08:18:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b909eae-de2d-4013-ab45-18e442069edd</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;If you plan to use a provisioner to provision+configuration your client, then it&amp;#39;s fine to use that provisioner.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you want to integrate provisioner on the light switch client, you need to do configuration locally on the light switch client, and you need to follow what we did in SDK v1.x. Have you read the case I referred to in my first reply 2 days ago ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: combine light switch and remore mesh don't control light</title><link>https://devzone.nordicsemi.com/thread/130911?ContentTypeID=1</link><pubDate>Fri, 04 May 2018 02:56:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e84b8818-1537-4db0-9b55-7e61bbad35b8</guid><dc:creator>Giang</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Follow me, provisioner example v2.1 had provision and configuration . And can I use configuration&amp;nbsp; part of it for add to light swight client example ? Or I have to use configuration part of switch light client example v1.x for this ? Thank&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: combine light switch and remore mesh don't control light</title><link>https://devzone.nordicsemi.com/thread/130827?ContentTypeID=1</link><pubDate>Thu, 03 May 2018 13:37:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26067ddb-4faa-4f35-8a82-45d4bf91af72</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;There are 2 separated procedures, one is provisioning and second is configuration. Have a look &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v2.0.1/md_doc_introduction_basic_concepts.html?cp=4_1_0_0_5"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The remote provisioner only do the provisioning part. You need a configuration client to do the configuration part. This is&amp;nbsp;handled by node_setup.c and provisioner_helper.c&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you simply combine the light switch example and the remote provisioning example, you won&amp;#39;t be able to configure the server. In addition, the light switch client need to be configured as well.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Configuration is the process of exchanging&amp;amp;binding the application key and assigning publication/subscription address. That what you need to do. Without configuration, your nodes won&amp;#39;t function.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To understand the process of provisioning and configuration, I strongly suggest you to try playing with the interactive python script we have. The instruction is &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v2.0.1/md_scripts_interactive_pyaci_README.html?cp=4_1_0_2_0"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: combine light switch and remore mesh don't control light</title><link>https://devzone.nordicsemi.com/thread/130756?ContentTypeID=1</link><pubDate>Thu, 03 May 2018 08:46:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b621d490-dcbb-4335-a7b6-3406d708d712</guid><dc:creator>Giang</dc:creator><description>&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;After I using light switch client provisioning for light switch server . I only need use&amp;nbsp;access_model_publish_address_set for&amp;nbsp;Set publish address for the client to the corresponding server . We&amp;nbsp;can send data to each other . It correct ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: combine light switch and remore mesh don't control light</title><link>https://devzone.nordicsemi.com/thread/130698?ContentTypeID=1</link><pubDate>Thu, 03 May 2018 02:27:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3236acf2-adde-4c49-85da-a93496e06a1e</guid><dc:creator>Giang</dc:creator><description>&lt;p&gt;Exactly what I do is :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. Add provision remote client to light switch client.&lt;/p&gt;
&lt;p&gt;2. Add provision remote server to light switch server.&lt;/p&gt;
&lt;p&gt;I want client is gateway and servers is node , can remote and send data.&lt;/p&gt;
&lt;p&gt;But,&amp;nbsp;I&amp;#39;m confused between choosing provisioner example is gateway.&amp;nbsp; Can you give me 1 correct model of mesh network ?&lt;/p&gt;
&lt;p&gt;And I have a question:&lt;/p&gt;
&lt;p&gt;1. When I use provisioner example + (light switch client + remote server - Node1) + (light switch server + remote server - Node 2) . Provisioner is provisioning and config for 2 node correct . But don&amp;#39;t send data control light . If I delete code&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt; /* TODO: This should be handled by the configuration server model. */
    mesh_key_index_t net_key_index;
    uint32_t count = 1;
    ERROR_CHECK(dsm_subnet_get_all(&amp;amp;net_key_index, &amp;amp;count));
    m_netkey_handle = dsm_net_key_index_to_subnet_handle(net_key_index);

    uint8_t appkey[NRF_MESH_KEY_SIZE] = {0};
    ERROR_CHECK(dsm_appkey_add(0, m_netkey_handle, appkey, &amp;amp;m_appkey_handle));
    ERROR_CHECK(dsm_address_publish_add(PROVISIONER_ADDRESS, &amp;amp;m_provisioner_address_handle));
    ERROR_CHECK(access_model_application_bind(m_remote_server.model_handle, m_appkey_handle));
    ERROR_CHECK(access_model_publish_address_set(m_remote_server.model_handle, m_provisioner_address_handle));
    ERROR_CHECK(access_model_publish_application_set(m_remote_server.model_handle, m_appkey_handle));
    ERROR_CHECK(access_model_publish_ttl_set(m_remote_server.model_handle, 6));
    ERROR_CHECK(pb_remote_server_enable(&amp;amp;m_remote_server));
    ERROR_CHECK(pb_remote_server_prov_bearer_set(&amp;amp;m_remote_server, nrf_mesh_prov_bearer_adv_interface_get(&amp;amp;m_prov_bearer_adv)));
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;in each Node . It send data control light correct . But remote function of each Node don&amp;#39;t run if I use remote client example for provisioning .&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How I can use both remote function and control light function ?&lt;/p&gt;
&lt;p&gt;Can you explain for me the meaning of the above code?&lt;/p&gt;
&lt;p&gt;2. Can I use provisioner example for config Node ?&lt;/p&gt;
&lt;p&gt;Thank very much !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: combine light switch and remore mesh don't control light</title><link>https://devzone.nordicsemi.com/thread/130541?ContentTypeID=1</link><pubDate>Wed, 02 May 2018 12:36:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c77d5b0c-1024-450f-bc61-86c850c591d0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Giang,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Remote you mean remote provisioning&amp;nbsp;client or server ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I assume it&amp;#39;s server.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you have a look into the code (button_event_handler() ) you can find that&amp;nbsp;&amp;nbsp;&amp;quot;Ignored. Node is not configured.\n&amp;quot; thrown when the light switch client is not configured.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You need to configure the client locally, in this case setting the publication address. It&amp;#39;s similar to &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/33972/how-to-add-simple-on-off-client-to-provisioner"&gt;this case&lt;/a&gt;. Have a look at Mesh SDK v1.x to see how it works.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: combine light switch and remore mesh don't control light</title><link>https://devzone.nordicsemi.com/thread/130442?ContentTypeID=1</link><pubDate>Wed, 02 May 2018 07:27:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:333bc51f-4f7e-4708-8e34-29bd59c6dc98</guid><dc:creator>Giang</dc:creator><description>&lt;p&gt;Any suggestion ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>