Hello I have problem with Mesh Serial Example and Interactive_pyaci, it works just in Debug-Mode. I use nRF52840, nRF5_SDK_15.0.0_a53641a, nrf5_SDK_for_Mesh_v2.0.1, Python3.5.2 64bit on linux mint 18 64bit. JLink_Linux_V633f_x86_64.
In aci_uart.py I set : def __init__(self, port, baudrate=115200, device_name=None, rtscts=False):
In Debug-mode it works:
Activating auto-logging. Current session state plus future input saved.
Filename : log/18-178-8-46_interactive_session.log
Mode : backup
Output logging : False
Raw input log : False
Timestamping : False
State : active
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
Type 'copyright', 'credits' or 'license' for more information
IPython 6.4.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: send(cmd.Echo("test"))
In [2]: 2018-06-27 08:46:48,476 - INFO - ttyACM0: {event: DeviceEchoRsp, data: {'data': bytearray(b'test')}}
But if I plug-out and plug-in the device again, I get :
In [2]: 2018-06-27 08:49:12,153 - INFO - ttyACM0: cmd Echo, timeout waiting for event
in examples/serial/include/sdk_config.h there are a lot of definitions with UART what exactly should i set to 1, if this is the problem ?
I'm new in this topic and my aim is to receive all the packets in the mesh and to send them to the host pc.
Are there any mesh monitors for observ the mesh traffic ?