3 ms·
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
by bauerd 5y 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.
- ctoth 5y agoMinor 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.
- plumeria 5y agoInteresting, 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_Bluetooth_API#browser_compatibility https://developer.mozilla.org/en-US/docs/Web/API/Web_Bluetoo...