<?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>Bluetooth mesh serial example issues.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29793/bluetooth-mesh-serial-example-issues</link><description>Hi, 
 I tried the serial example on the PCA10028/PCA10031 and PCA10040.
I found that this demo will fail on both PCA10031 and PCA10040, like this: 
 
 Activating auto-logging. Current
session state plus future input saved.
Filename : COM6_17-235</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 19 May 2018 13:05:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29793/bluetooth-mesh-serial-example-issues" /><item><title>RE: Bluetooth mesh serial example issues.</title><link>https://devzone.nordicsemi.com/thread/132545?ContentTypeID=1</link><pubDate>Sat, 19 May 2018 13:05:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7b61a48-c82c-43fa-97c2-5d401198361c</guid><dc:creator>pino_otto</dc:creator><description>&lt;p&gt;Hi vin_h,&lt;/p&gt;
&lt;p&gt;can you please tell me where I can find &amp;quot;&lt;span&gt;Additional load file&amp;quot;?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth mesh serial example issues.</title><link>https://devzone.nordicsemi.com/thread/130054?ContentTypeID=1</link><pubDate>Fri, 27 Apr 2018 06:07:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbfccf20-b4eb-40a0-a3b5-30847af54d62</guid><dc:creator>vin_h</dc:creator><description>&lt;p&gt;I solved the &amp;quot; timeout waiting for event &amp;quot; issue by editing &amp;quot; Additional load file &amp;quot; path to a soft device hex file.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It is working fine now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth mesh serial example issues.</title><link>https://devzone.nordicsemi.com/thread/129909?ContentTypeID=1</link><pubDate>Thu, 26 Apr 2018 10:10:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec8405eb-815b-464c-ae6a-bc3bd5b6ea10</guid><dc:creator>vin_h</dc:creator><description>&lt;p&gt;Even though I made a change for RTS / CTS, still it is showing&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;b&gt;2018-04-26 15:35:22,088 - INFO - tty.usbmodem1411: cmd Echo, timeout waiting for event.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;unable to solve this issue, even after disabling rts/cts, erasing and flashing the serial code.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth mesh serial example issues.</title><link>https://devzone.nordicsemi.com/thread/118199?ContentTypeID=1</link><pubDate>Fri, 26 Jan 2018 13:09:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:752e49bd-d4b9-4e51-a8b2-ba48c0a94669</guid><dc:creator>pino_otto</dc:creator><description>&lt;p&gt;Thank you. I will try it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth mesh serial example issues.</title><link>https://devzone.nordicsemi.com/thread/118198?ContentTypeID=1</link><pubDate>Fri, 26 Jan 2018 05:44:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86786c24-890f-482b-8e53-7d6d867a9773</guid><dc:creator>Beike</dc:creator><description>&lt;p&gt;You need to disable hardware (RTS/CTS) flow control when &lt;strong&gt;init&lt;/strong&gt; the serial port object.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;class Uart(threading.Thread, Device):
//def __init__(self, port, baudrate=115200, device_name=None, rtscts=True):
def __init__(self, port, baudrate=115200, device_name=None, rtscts=False):
    self.events_queue = collections.deque(maxlen=EVT_Q_BUF)
    threading.Thread.__init__(self)
    if not device_name:
        device_name = port
    self.device_name = device_name
    self.logger = logging.getLogger(self.device_name)
    Device.__init__(self, self.device_name)
    self._write_lock = threading.Lock()
    self.logger.debug(&amp;quot;log Opening port %s, baudrate %s, rtscts %s&amp;quot;, port, baudrate, rtscts)
    self.serial = Serial(port=port, baudrate=baudrate, rtscts=rtscts, timeout=0.1)
    self.keep_running = True
    self.start()
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth mesh serial example issues.</title><link>https://devzone.nordicsemi.com/thread/118197?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2017 14:07:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1c76560-973c-4761-881d-e95c087f0bcb</guid><dc:creator>pino_otto</dc:creator><description>&lt;p&gt;I found the same issue on a Slackware64 (64bit) machine:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;(pyaci) giovanni@slackserver:~/development/bluetooth/nordic/nrf5_SDK_for_Mesh_v0.10.1-Alpha_src/scripts/interactive_pyaci$ python interactive_pyaci.py -d /dev/ttyACM0 --no-logfile

    To control your device use d[x], type d[x]. and hit tab to see the available methods.
    x is for the device index; devices will be indexed based on the order of com ports
    given with the option -d (the first device, d[0], can also be accessed using device).

Python 3.6.2 (default, Nov 15 2017, 21:59:06) 
Type &amp;#39;copyright&amp;#39;, &amp;#39;credits&amp;#39; or &amp;#39;license&amp;#39; for more information
IPython 6.2.1 -- An enhanced Interactive Python. Type &amp;#39;?&amp;#39; for help.

In [1]: send(cmd.Echo(&amp;quot;hello world&amp;quot;))

In [2]: 2017-12-04 21:56:54,698 - INFO - ttyACM0: cmd Echo, timeout waiting for event
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Can you please help me to solve this issue using a 64 bit GNU/Linux machine?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth mesh serial example issues.</title><link>https://devzone.nordicsemi.com/thread/118200?ContentTypeID=1</link><pubDate>Thu, 24 Aug 2017 03:07:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef1f8e64-448f-43da-af95-27ef6eee3b77</guid><dc:creator>aaronxu</dc:creator><description>&lt;p&gt;I try this demo on other PC, which is Win10 64bit like previous one. But the Python is 32-bit version. Looks it works. So may I say the &amp;quot;serial&amp;quot; demo need Python 32bit not 64bit version?&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ble_mesh_v0.9.1-Alpha\scripts\interactive_pyaci&amp;gt;python interactive_pyaci.py -d COM22

    To control your device use d[x], type d[x]. and hit tab to see the available methods.
    x is for the device index; devices will be indexed based on the order of com ports
    given with the option -d(the first device, d[0], can also be accessed using device).
    The log will be available in the calling directory as COM22_17-236-11-2.outlog
2017-08-24 11:02:13,815 - ERROR - Unable to deserialize bytearray(b&amp;#39;\x02\x00c&amp;#39;)
Activating auto-logging. Current session state plus future input saved.
Filename       : COM22_17-236-11-2.log
Mode           : backup
Output logging : False
Raw input log  : False
Timestamping   : False
State          : active
Python 3.6.2 (v3.6.2:5fd33b5, Jul  8 2017, 04:14:34) [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.1.0 -- An enhanced Interactive Python. Type &amp;#39;?&amp;#39; for help.

In [1]: send(Echo(&amp;quot;hello world&amp;quot;))
2017-08-24 11:02:45,114 - INFO - {event: DeviceEchoRsp, data: {&amp;#39;data&amp;#39;: bytearray(b&amp;#39;hello world&amp;#39;)}}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth mesh serial example issues.</title><link>https://devzone.nordicsemi.com/thread/118196?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2017 14:06:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2492de82-fc6e-4fd1-8b5c-7f851b598ec0</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Could you explain a bit more what you are doing? When and where do you get this timeout?&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t have any problems downloading the example in SES, have you chosen the serial example as the active one? Are you able to compile?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>