i am using a Raspberry Pi 3 to receive data via Bluetooth classic from a Bitalino (R)evolution Plugged Kit. The connection is implemented using the python API. I am facing the following issue:
After 1-20 minutes (it is around 4-5 minutes most of the time) the connection to the Bitalino Kit (1000 Hz, 1000 samples per read) gets lost. I am getting the following error message:
Code: Select all
data = device.read(nSamples)
File "/usr/local/lib/python2.7/dist-packages/bitalino.py", line 451, in read
The received data is published via ZeroMessageQueue and visualized by the subscriber. When I turn off all visualizations, it seems that it needs more time until the error message occurs (26 and 60 mins) but due to the high amount of time for investigation I could not perform more tests than 2.
Also it seems that this error can occur, when electrodes are (dis-/)connected.
I tried the internal Bluetooth Chip of the RPi as well as the Bitalino BT Dongle. No difference could be observed. Is this a known issue?