Streaming often stops in the middle (MetawareMotionR)

I want to stream the six-axis sensor data: accelerator(x,y,z) and gyro(x,y,z) with MetawareMotionR.
I run the files: server.js and sensor_fusion.py from the latest SDK for it, but it often stops in the middle of streamings.

The following messages show up at that time.

Total Samples Received
EA:5F:96:E7:1F:3D -> 17
Resetting device
Traceback (most recent call last):
File "_ctypes/callbacks.c", line 234, in 'calling callback function'
File "C:\Users\AppData\Local\Programs\Python\Python36\lib\site-packages\mbientlab\metawear\metawear.py", line
237, in _write_gatt_char
self._write_char_async(False)
File "C:\Users\AppData\Local\Programs\Python\Python36\lib\site-packages\mbientlab\metawear\metawear.py", line
229, in _write_char_async
next[0].write_without_resp_async(next[1], completed)

AttributeError: 'NoneType' object has no attribute 'write_without_resp_async'

How can I fix it?
I'm glad if you could advise me.

Comments

Sign In or Register to comment.