Bluetooth

7 views
Skip to first unread message

Rune Back

unread,
Jan 23, 2020, 4:44:21 AM1/23/20
to iphone...@googlegroups.com
Hi!

Any suggestions on bluetooth js source?
Any experience with https://github.com/bcsphere/bluetooth ?

Rune

Remi Grumeau

unread,
Jan 23, 2020, 5:53:23 AM1/23/20
to iphonewebdev
Based on
It seems iOS does not support it, neither Firefox on Android. Chrome only feature.
Clearly, they implemented that because ChromeOS needs it. Probably no other vendor will.

For the rest, why using such a wrapper library when a Promise already do the job?
See a quick n dirty plain JS example




--
You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iphonewebdev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/iphonewebdev/CACYadq30Yzxfw6OehbKnxcPSx58dwuKmUOZ9dASa2-0XUbxDkA%40mail.gmail.com.

Rune Back

unread,
Jan 23, 2020, 8:47:55 AM1/23/20
to iphone...@googlegroups.com
Hmmmm... thanks, interesting!
What about "// Do something with the device."? - How do you make the devices work together? Device A sends certain data to device B, and B responds by sending "OK" or ex. "ERROR". "OK" back. What about several devices?


Reply all
Reply to author
Forward
0 new messages