Hi, i'm using SensorTile box and trying to run the examples. But i'm getting the BrokenPipeError: [Errno 32] Broken pipe error. the full og of the code execution>
`
##################
BlueST Example
##################
Scanning Bluetooth devices...
Discovery started.
New device discovered: TILEBOX.
Discovery stopped.
Available Bluetooth devices:
- TILEBOX: [c0:50:34:32:21:56]
Select a device to connect to ('0' to finish): 1
Device TILEBOX added.
Select a device to connect to ('0' to finish): 0
Connecting to selected devices and getting notifications from all their features ("CTRL+C" to exit)...
Connecting to TILEBOX...
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/local/opt/python-3.5.4/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "example_ble_2.py", line 179, in run
if not self._device.connect():
File "/usr/local/opt/python-3.5.4/lib/python3.5/site-packages/blue_st_sdk/node.py", line 487, in connect
services = self.getServices()
File "/usr/local/opt/python-3.5.4/lib/python3.5/site-packages/bluepy/btle.py", line 481, in getServices
return self.services
File "/usr/local/opt/python-3.5.4/lib/python3.5/site-packages/bluepy/btle.py", line 477, in services
self._serviceMap = self.discoverServices()
File "/usr/local/opt/python-3.5.4/lib/python3.5/site-packages/bluepy/btle.py", line 459, in discoverServices
rsp = self._getResp('find')
File "/usr/local/opt/python-3.5.4/lib/python3.5/site-packages/bluepy/btle.py", line 407, in _getResp
resp = self._waitResp(wantType + ['ntfy', 'ind'], timeout)
File "/usr/local/opt/python-3.5.4/lib/python3.5/site-packages/bluepy/btle.py", line 361, in _waitResp
self._stopHelper()
File "/usr/local/opt/python-3.5.4/lib/python3.5/site-packages/bluepy/btle.py", line 293, in _stopHelper
self._helper.stdin.flush()
BrokenPipeError: [Errno 32] Broken pipe
`
can u help me to resolve this issue?
Thanks
Hi, i'm using SensorTile box and trying to run the examples. But i'm getting the BrokenPipeError: [Errno 32] Broken pipe error. the full og of the code execution>
`
##################
BlueST Example
##################
Scanning Bluetooth devices...
Discovery started.
New device discovered: TILEBOX.
Discovery stopped.
Available Bluetooth devices:
Select a device to connect to ('0' to finish): 1
Device TILEBOX added.
Select a device to connect to ('0' to finish): 0
Connecting to selected devices and getting notifications from all their features ("CTRL+C" to exit)...
Connecting to TILEBOX...
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/local/opt/python-3.5.4/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "example_ble_2.py", line 179, in run
if not self._device.connect():
File "/usr/local/opt/python-3.5.4/lib/python3.5/site-packages/blue_st_sdk/node.py", line 487, in connect
services = self.getServices()
File "/usr/local/opt/python-3.5.4/lib/python3.5/site-packages/bluepy/btle.py", line 481, in getServices
return self.services
File "/usr/local/opt/python-3.5.4/lib/python3.5/site-packages/bluepy/btle.py", line 477, in services
self._serviceMap = self.discoverServices()
File "/usr/local/opt/python-3.5.4/lib/python3.5/site-packages/bluepy/btle.py", line 459, in discoverServices
rsp = self._getResp('find')
File "/usr/local/opt/python-3.5.4/lib/python3.5/site-packages/bluepy/btle.py", line 407, in _getResp
resp = self._waitResp(wantType + ['ntfy', 'ind'], timeout)
File "/usr/local/opt/python-3.5.4/lib/python3.5/site-packages/bluepy/btle.py", line 361, in _waitResp
self._stopHelper()
File "/usr/local/opt/python-3.5.4/lib/python3.5/site-packages/bluepy/btle.py", line 293, in _stopHelper
self._helper.stdin.flush()
BrokenPipeError: [Errno 32] Broken pipe
`
can u help me to resolve this issue?
Thanks