<?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>Problems about mesh</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30063/problems-about-mesh</link><description>Board:custom board
Mesh SDK: V1.0.0
IDE:SEGGER Embedded 
 Problem a：
When I test the steps specified by “Interactive PyACI”, there is A certain probability of Provisioning failure.When the serial port printed &amp;quot;EcdhSecret: {&amp;#39;context&amp;#39;: 0}&amp;quot;,the program</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 Apr 2018 09:05:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30063/problems-about-mesh" /><item><title>RE: Problems about mesh</title><link>https://devzone.nordicsemi.com/thread/129293?ContentTypeID=1</link><pubDate>Mon, 23 Apr 2018 09:05:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f10fde6f-73cb-4ddd-8109-e1395fb76fc0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Herry,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We have updated the interactive py aci in Mesh SDK v2.0. I would suggest you to test with the new SDK and let us know if you still see the issue.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems about mesh</title><link>https://devzone.nordicsemi.com/thread/128717?ContentTypeID=1</link><pubDate>Wed, 18 Apr 2018 06:07:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6d58c33-e784-4532-bc61-7782dc6e90b0</guid><dc:creator>herrychiu</dc:creator><description>&lt;p&gt;Hi Petter,&lt;/p&gt;
&lt;p&gt;I got the same result when I followed the&amp;nbsp;Provisioning example of&amp;nbsp;Interactive PyACI page.&lt;/p&gt;
&lt;p&gt;From the log, it seems the provision sequence can not be completed.&lt;/p&gt;
&lt;p&gt;Could you give me some comment how to debug this issue ? Thanks.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Microsoft Windows [版本 10.0.16299.371]
(c) 2017 Microsoft Corporation. 著作權所有，並保留一切權利。

C:\NORDIC\nrf5_SDK_for_Mesh_v1.0.1_src\scripts\interactive_pyaci

C:\\NORDIC\nrf5_SDK_for_Mesh_v1.0.1_src\scripts\interactive_pyaci&amp;gt;python interactive_pyaci.py -d COM12 COM13

    To control your device, use d[x], where x is the device index.
    Devices are indexed based on the order of the COM ports specified by the -d option.
    The first device, d[0], can also be accessed using device.

    Type d[x]. and hit tab to see the available methods.

2018-04-18 13:07:04,777 - ERROR - COM12: Exception in pkt handler &amp;lt;bound method Interactive.__event_handler of &amp;lt;__main__.Interactive object at 0x05709270&amp;gt;&amp;gt;
2018-04-18 13:07:04,780 - ERROR - COM12: traceback: Traceback (most recent call last):
  File &amp;quot;C:\NORDIC\nrf5_SDK_for_Mesh_v1.0.1_src\scripts\interactive_pyaci\aci\aci_uart.py&amp;quot;, line 88, in process_packet
    fun(packet)
  File &amp;quot;interactive_pyaci.py&amp;quot;, line 152, in __event_handler
    if self._event_filter_enabled and event._opcode in self._event_filter:
AttributeError: &amp;#39;Interactive&amp;#39; object has no attribute &amp;#39;_event_filter_enabled&amp;#39;

2018-04-18 13:07:04,781 - ERROR - COM13: Exception in pkt handler &amp;lt;bound method Interactive.__event_handler of &amp;lt;__main__.Interactive object at 0x05526F50&amp;gt;&amp;gt;
2018-04-18 13:07:04,786 - ERROR - COM13: traceback: Traceback (most recent call last):
  File &amp;quot;C:\NORDIC\nrf5_SDK_for_Mesh_v1.0.1_src\scripts\interactive_pyaci\aci\aci_uart.py&amp;quot;, line 88, in process_packet
    fun(packet)
  File &amp;quot;interactive_pyaci.py&amp;quot;, line 152, in __event_handler
    if self._event_filter_enabled and event._opcode in self._event_filter:
AttributeError: &amp;#39;Interactive&amp;#39; object has no attribute &amp;#39;_event_filter_enabled&amp;#39;

Activating auto-logging. Current session state plus future input saved.
Filename       : interactive_session_18-108-13-7.log
Mode           : backup
Output logging : False
Raw input log  : False
Timestamping   : False
State          : active
Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 16:07:46) [MSC v.1900 32 bit (Intel)]
Type &amp;#39;copyright&amp;#39;, &amp;#39;credits&amp;#39; or &amp;#39;license&amp;#39; for more information
IPython 6.3.1 -- An enhanced Interactive Python. Type &amp;#39;?&amp;#39; for help.

In [1]: p = Provisioner(d[0])

I2018-04-18 13:10:38,722 - INFO - COM12: Successn [
2]:2018-04-18 13:10:38,728 - INFO - COM12: Success 2018-04-18 13:10:38,730 - INFO - COM12: SubnetAdd: {&amp;#39;subnet_handle&amp;#39;: 0}
In [2]:

In [2]: a = Provisionee(d[1])

In2018-04-18 13:10:52,677 - INFO - COM13: Success [
3]:2018-04-18 13:10:52,684 - INFO - COM13: In [3]:

In [3]: p.scan_start()

2018-04-18 13:11:02,681 - INFO - COM12: Success
In [4]:

In [4]: a.listen()

2018-04-18 13:11:13,590 - INFO - COM13: Success
In [5]: 2018-04-18 13:11:14,946 - INFO - COM12: Received UUID B32DE29E978FC2181368C92FFD5B5DEB with RSSI: -231 dB
In [5]:

In [5]: p.provision()

I2018-04-18 13:11:25,533 - INFO - COM12: Provision: {&amp;#39;context&amp;#39;: 0}n
[6]:    2018-04-18 13:11:25,550 - INFO - COM13: Link established
2018-04-18 13:11:25,562 - INFO - COM12: Link established
2018-04-18 13:11:25,607 - INFO - COM12: Received capabilities
2018-04-18 13:11:25,608 - INFO - COM12: Number of elements: 2
2018-04-18 13:11:25,612 - INFO - COM12: OobUse: {&amp;#39;context&amp;#39;: 0}
2018-04-18 13:11:27,771 - INFO - COM12: ECDH request received
2018-04-18 13:11:27,784 - INFO - COM12: EcdhSecret: {&amp;#39;context&amp;#39;: 0}
2018-04-18 13:11:27,791 - INFO - COM13: ECDH request received
2018-04-18 13:11:27,804 - INFO - COM13: EcdhSecret: {&amp;#39;context&amp;#39;: 0}
2018-04-18 13:12:27,802 - INFO - COM12: Provisioning link closed
2018-04-18 13:12:27,877 - INFO - COM13: Provisioning link closed
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems about mesh</title><link>https://devzone.nordicsemi.com/thread/121351?ContentTypeID=1</link><pubDate>Tue, 20 Feb 2018 08:41:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d94f6f8-99ab-49f4-b75a-c9c110fe1ca3</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Sorry for the late reply, Hung has been travelling. Is this still a problem? Could you try with Mesh SDK v1.0.1? Are you following example &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v1.0.1/md_scripts_interactive_pyaci_README.html?cp=4_1_0_4_1_3"&gt;here&lt;/a&gt;? Your logs doesn&amp;#39;t look the same.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems about mesh</title><link>https://devzone.nordicsemi.com/thread/119713?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2018 11:07:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddc0eb4a-fdf0-450a-81dd-b291242fce31</guid><dc:creator>Beike</dc:creator><description>&lt;p&gt;The probability of occurrence is 30%&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems about mesh</title><link>https://devzone.nordicsemi.com/thread/119712?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2018 11:06:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38aa7ff3-1c55-4d2d-8fdb-bfba990dc4fb</guid><dc:creator>Beike</dc:creator><description>&lt;p&gt;firmware :S132_5.0.0&lt;/p&gt;
&lt;p&gt;the log:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;client:
2018-01-31 17:17:10,179 - INFO - COM7: Provision: {&amp;#39;context&amp;#39;: 0}
2018-01-31 17:17:10,234 - INFO - COM7: Link established
2018-01-31 17:17:10,274 - INFO - COM7: Received capabilities
2018-01-31 17:17:10,275 - INFO - COM7: Number of elements: 2
2018-01-31 17:17:10,277 - INFO - COM7: OobUse: {&amp;#39;context&amp;#39;: 0}
2018-01-31 17:17:12,445 - INFO - COM7: ECDH request received
2018-01-31 17:17:12,450 - INFO - COM7: EcdhSecret: {&amp;#39;context&amp;#39;: 0}
2018-01-31 17:18:12,474 - INFO - COM7: Provisioning link closed





server:
2018-01-31 17:17:10,214 - INFO - COM9: Link established
2018-01-31 17:17:12,453 - INFO - COM9: ECDH request received
2018-01-31 17:17:12,458 - INFO - COM9: EcdhSecret: {&amp;#39;context&amp;#39;: 0}
2018-01-31 17:18:12,539 - INFO - COM9: Provisioning link closed&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems about mesh</title><link>https://devzone.nordicsemi.com/thread/119367?ContentTypeID=1</link><pubDate>Wed, 31 Jan 2018 13:39:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10ccf835-50a7-42b6-b1f4-7e2e10132f11</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Beike,&lt;/p&gt;
&lt;p&gt;Which firmware you run on the provisionee ?
Could you post the full log ?&lt;/p&gt;
&lt;p&gt;How often do you see the issue  ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>