My data looks like this when it comes from the device (biofeedback device).
There are 9 bytes in total, and I need to buffer so much, and then poll it for
new/recent packets. The start packet unfortunately starts with 0x00
So far the only thing I've found that looks like what I want to do is
On 2012-12-14 00:00, Barry Dick wrote:
My data looks like this when it comes from the device (biofeedback device).
There are 9 bytes in total, and I need to buffer so much, and then poll it for
new/recent packets. The start packet unfortunately starts with 0x00
So far the only thing I've
Is the following more like how you want it?
data =
try:
while True:
try:
more = client_socket.recv(9)
except bluetooth.BluetoothError, b:
print Bluetooth Error: , b
else:
data += more