Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

Serial - App hangs when writing to Standard Serial Over Bluetooth Link

$
0
0

Good day lovely people.

I have a problem where I scan all my available COM ports to see which one contains my hardware and open an connection to it. I simply just poll through the Serial.list() and send out a character string to which I know what the reply should be.

I have a problem on a friends computer who plays with some bluetooth stuff and are using the 'Standard Serial Over Bluetooth Link' driver (version 6.1.7600.16385). The problem he is experiencing is that every time my Processing app tries to send even one character over the COM port, the whole app hangs. If I disable the 'Standard Serial Over Bluetooth Link' COM ports, everything works as expected. It doesn't crash, it just hangs, so even a try catch doesn't help me, and if I do a println directly after sending it even one character, nothing happens. I have to kill the app. Any ideas why this could be?

Now, I must admit - I wanted to contribute to open source and go through the alpha phases and test etc, but because of libraries I used which became unsupported because of the constant changes through the alpha phase of P3, I am still stuck on Processing 3.0.5a. Not sure if this could at all have an influence.


Viewing all articles
Browse latest Browse all 2896

Trending Articles