> 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:
>
>
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 thi
I'm wanting to read from my bluetooth device (it just sends data/header with a
checksum at the end, in a continuous mode "a biofeedback device") and I'm
getting a weird error in my logs not allowing me to use multiple sockets. I
guess with wsgi, I'm creating a link/module between the two apis (a