<?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>To configure un-provisioned node using nrf mesh Serial integrated in light Switch example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57195/to-configure-un-provisioned-node-using-nrf-mesh-serial-integrated-in-light-switch-example</link><description>I want to integrate nrf mesh serial example in light Switch example to configure other un-provisioned node 
 I am using following nrf SDK: &amp;gt;&amp;gt; nrf : nRF5_SDK_15.2.0_9412b96 &amp;gt;&amp;gt; mesh : nrf5_SDK_for_Mesh_v3.2.0_src 
 The following Serial API as per serial</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Feb 2020 14:06:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57195/to-configure-un-provisioned-node-using-nrf-mesh-serial-integrated-in-light-switch-example" /><item><title>RE: To configure un-provisioned node using nrf mesh Serial integrated in light Switch example</title><link>https://devzone.nordicsemi.com/thread/233080?ContentTypeID=1</link><pubDate>Thu, 06 Feb 2020 14:06:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:652993bc-1c26-4e8c-b6be-c8014a272ce5</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;&lt;span&gt;I suggest you try debugging your application and see if any error code is returned? Set&lt;/span&gt;&lt;span&gt;&amp;nbsp;the define &amp;quot;DEBUG&amp;quot; in your preprocessor and set a&amp;nbsp;breakpoint at the function&amp;nbsp;&lt;/span&gt;&lt;span&gt;app_error_fault_handler(). Then try to debug the code, this will let you see which function that triggers the error and which error code is returned.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To configure un-provisioned node using nrf mesh Serial integrated in light Switch example</title><link>https://devzone.nordicsemi.com/thread/233061?ContentTypeID=1</link><pubDate>Thu, 06 Feb 2020 13:14:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ba1b0b6-5c1e-4ea6-a8bb-150e6171cf0d</guid><dc:creator>Sainath</dc:creator><description>&lt;p&gt;Do you have any other solution?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To configure un-provisioned node using nrf mesh Serial integrated in light Switch example</title><link>https://devzone.nordicsemi.com/thread/232635?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2020 15:17:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7187aaf-b49a-4d4d-a98b-dc0c6e1f9785</guid><dc:creator>Sainath</dc:creator><description>&lt;p&gt;I have disabled GATT too yet not working&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To configure un-provisioned node using nrf mesh Serial integrated in light Switch example</title><link>https://devzone.nordicsemi.com/thread/232621?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2020 14:51:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4e76677-59ff-4739-8580-07dcbc3add26</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Could you try disabling the GATT feature and see if that changes anything?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To configure un-provisioned node using nrf mesh Serial integrated in light Switch example</title><link>https://devzone.nordicsemi.com/thread/232190?ContentTypeID=1</link><pubDate>Sun, 02 Feb 2020 06:42:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:863a95cb-837a-4983-8b1a-cf6fbf24a35d</guid><dc:creator>Sainath</dc:creator><description>&lt;p&gt;Hi Mttrinh,&lt;/p&gt;
&lt;p&gt;I have debugged into mesh serial stack, I get this&amp;nbsp; &amp;quot;&lt;strong&gt;ERROR_REJECTED&lt;/strong&gt;&amp;quot; because internal serial handler get the following error continuously&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;gt; NRF_ERROR_NOT_SUPPORTED&lt;/p&gt;
&lt;p&gt;Please&amp;nbsp;give me solution to over come this error&lt;/p&gt;
&lt;p&gt;Thank you in advance&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To configure un-provisioned node using nrf mesh Serial integrated in light Switch example</title><link>https://devzone.nordicsemi.com/thread/232175?ContentTypeID=1</link><pubDate>Sat, 01 Feb 2020 15:10:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96e79e36-0fc8-4c21-b208-d2601d0bc399</guid><dc:creator>Sainath</dc:creator><description>&lt;p&gt;Thank you fro relpying, yet not&amp;nbsp;working in below both way&lt;/p&gt;
&lt;p&gt;In [10]: p.provision(uuid=&amp;quot;6dc44d35fb9b8849bd4d30c83dbde258&amp;quot;)&lt;/p&gt;
&lt;p&gt;In [11]: 2020-02-01 20:21:47,915 - ERROR - COM8: Provision: ERROR_REJECTED&lt;/p&gt;
&lt;p&gt;---------------------------------------------------------------------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;2020-02-01 20:18:36,080 - INFO - COM8: Received UUID 6dc44d35fb9b8849bd4d30c83dbde258 with RSSI: -47 dB&lt;br /&gt;In [5]: p.scan_stop()&lt;/p&gt;
&lt;p&gt;In [6]: 2020-02-01 20:18:46,690 - INFO - COM8: Success&lt;br /&gt;In [6]: p.provision(uuid=&amp;quot;[6dc44d35fb9b8849bd4d30c83dbde258]&amp;quot;)&lt;br /&gt;---------------------------------------------------------------------------&lt;br /&gt;ValueError Traceback (most recent call last)&lt;br /&gt;C:\nrf5_SDK_for_Mesh_v3.2.0_src\scripts\interactive_pyaci\interactive_pyaci.py in &amp;lt;module&amp;gt;&lt;br /&gt;----&amp;gt; 1 p.provision(uuid=&amp;quot;[6dc44d35fb9b8849bd4d30c83dbde258]&amp;quot;)&lt;/p&gt;
&lt;p&gt;C:\nrf5_SDK_for_Mesh_v3.2.0_src\scripts\interactive_pyaci\mesh\provisioning.py in provision(self, uuid, key_index, name, context_id, attention_duration_s)&lt;br /&gt; 266 uuid = self.unprov_list.pop(0)&lt;br /&gt; 267 elif isinstance(uuid, str):&lt;br /&gt;--&amp;gt; 268 uuid = bytearray.fromhex(uuid)&lt;br /&gt; 269 elif not isinstance(uuid, bytearray):&lt;br /&gt; 270 raise TypeError(&amp;quot;UUID must be string or bytearray&amp;quot;)&lt;/p&gt;
&lt;p&gt;ValueError: non-hexadecimal number found in fromhex() arg at position 0&lt;/p&gt;
&lt;p&gt;&lt;span&gt;---------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To configure un-provisioned node using nrf mesh Serial integrated in light Switch example</title><link>https://devzone.nordicsemi.com/thread/232107?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2020 14:08:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01cf01d5-3ad6-4886-aef4-1a3f212a145e</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Can you instead of &amp;quot;p.provision(name=&amp;quot;Light bulb&amp;quot;)&amp;quot; use &amp;quot;p.provision(uuid=&amp;quot;[UUID of the device]&amp;quot;)? does this help?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To configure un-provisioned node using nrf mesh Serial integrated in light Switch example</title><link>https://devzone.nordicsemi.com/thread/232101?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2020 13:40:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c483248-6744-419c-ac32-d8a1a1b9625e</guid><dc:creator>Sainath</dc:creator><description>&lt;p&gt;&lt;strong&gt;Thank you for asking&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;In my network there are 10&amp;nbsp;light switch server node and one client node. This client node is connected to my serial interface.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;It is simple light switch client example provided&amp;nbsp;in&amp;nbsp;nrf SDK, but in addition to it I also want to control and provision nodes in network via serial interface and also set/get data from provisioned node.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;If I use only serial example I can easily provision or control node in network&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;But if ingratiated serial in&amp;nbsp;light switch client node it gives ERROR_REJECTED&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;like This&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1)&amp;nbsp;db = MeshDB(&amp;quot;database/example_database.json&amp;quot;) &amp;gt;&amp;gt; ok response&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2)&amp;nbsp;db.provisioners &amp;gt;&amp;gt; ok response&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3)&amp;nbsp;p = Provisioner(device, db) &amp;gt;&amp;gt; ok response&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;4)&amp;nbsp;p.scan_start() &amp;gt;&amp;gt; Received UUID 0059ffff000000008007abda46190f5e with RSSI: -15 dB response&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;5)&amp;nbsp;p.scan_stop() &amp;gt;&amp;gt; ok response&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;6)&amp;nbsp;p.provision(name=&amp;quot;Light bulb&amp;quot;) &amp;gt;&amp;gt;&amp;nbsp;ERROR_REJECTED&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To configure un-provisioned node using nrf mesh Serial integrated in light Switch example</title><link>https://devzone.nordicsemi.com/thread/232095?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2020 13:22:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ef888fe-0982-4859-b102-020490c4b85b</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you give me more details about your use-case/what you are trying to do? Why do you want to add the serial example to the light switch example?&lt;/p&gt;
&lt;p&gt;You might want to look at &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v4.0.0/md_scripts_interactive_pyaci_doc_demo_configuration.html" 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>