G gpa Member Licensed User Longtime User Dec 4, 2021 #1 Hi... Is there a way to wait for an incoming bluetooth connection in b4j of a raspberry pi - I know this can be done easily in b4a... It would be the equivalent of running a daemon like: rfcomm watch hci0 & but within the b4j program.... Thanks!
Hi... Is there a way to wait for an incoming bluetooth connection in b4j of a raspberry pi - I know this can be done easily in b4a... It would be the equivalent of running a daemon like: rfcomm watch hci0 & but within the b4j program.... Thanks!
Erel B4X founder Staff member Licensed User Longtime User Dec 5, 2021 #2 There are two relevant libraries and both do not support it. jSerial - working with serial ports including virtual com ports. jBluetooth - https://www.b4x.com/android/forum/threads/jbluetooth-library.60184/#content gpa said: It would be the equivalent of running a daemon like: rfcomm watch hci0 & Click to expand... You can run this command with jShell and monitor StdOut / StdErr. Upvote 0
There are two relevant libraries and both do not support it. jSerial - working with serial ports including virtual com ports. jBluetooth - https://www.b4x.com/android/forum/threads/jbluetooth-library.60184/#content gpa said: It would be the equivalent of running a daemon like: rfcomm watch hci0 & Click to expand... You can run this command with jShell and monitor StdOut / StdErr.
G gpa Member Licensed User Longtime User Dec 5, 2021 #3 Thanks... jShell - that sounds a good idea, I'd better read up on that! Upvote 0