Hacker News new | ask | show | jobs
by bauerd 1604 days ago
Similarly, some years ago I prototyped an ESC/POS client (?) for a Bluetooth thermal printer. It was implemented as a Chrome Extension/Chrome App pair, because only Apps were allowed to use Chrome's proprietary Bluetooth API back then. Extension and App communicated via postMessage IIRC. I was shocked how well that hack actually worked. Google then sunset Chrome Apps, and Web Bluetooth never happened.
1 comments

Minor quibble, I'm actually using a Bluetooth device via Chrome as I type this message, so I'm pretty sure Web Bluetooth did in fact happen.
Interesting, I didn't know about Web Bluetooth. Mobile browsers seem to have the most complete implementations [0].

[0] https://developer.mozilla.org/en-US/docs/Web/API/Web_Bluetoo...