Description
not sure if this is a wave plus thing or a code thing but it runs for 5 minutes and then dies with this every time:
Traceback (most recent call last):
File "read_waveplus.py", line 211, in
sensors = waveplus.read()
File "read_waveplus.py", line 135, in read
rawdata = self.curr_val_char.read()
File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 197, in read
return self.peripheral.readCharacteristic(self.valHandle)
File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 530, in readCharacteristic
resp = self._getResp('rd')
File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 407, in _getResp
resp = self._waitResp(wantType + ['ntfy', 'ind'], timeout)
File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 362, in _waitResp
raise BTLEDisconnectError("Device disconnected", resp)
bluepy.btle.BTLEDisconnectError: Device disconnected
pi@raspberrypi:~ $