News for hackers. Stuff that matters.
Re:Experimenting with Bluetooth in JavaScript in web, hybrid... by dazhbog on Friday February 15, 2019 @08:08AM (#19170565)
Similarly to WebBT, WebUSB has been god send for us.. We were able to allow customers to flash their units through their browser while logged in, and driver free in Mac, Linux and Android! If we could only get CDC serial port support as well, so many products would talk biderectionally with so many websites.

From arduinos to music key pads, IoT devices, pocket oscilloscopes, sensors, etc.

Re:Experimenting with Bluetooth in JavaScript in web, hybrid... by SlowRobotAhead on Friday February 15, 2019 @10:50AM (#19171830)
Years ago I went down the route of trying to get USB over browser and it was not happening. Best I came up with was that if we did some real tricky stuff with making the device a “printer” and using some usb/printer emulation stuff. Abandoned it.

I assume like webBLE, that webUSB is Chrome only?

Re:Experimenting with Bluetooth in JavaScript in web, hybrid... by dazhbog on Friday February 15, 2019 @04:42PM (#19174992)
That's cool! Printing a hex file! :)

We tried a similar method of playing audio from the browser when its actually serial data. I think there are a few arduino platforms doing this now and it works on PCs and phones.

Yes, unfortunately it is Chrome only. The good news is that our device didnt really have to change at all to support Chrome. Most hardware devices' bootloaders support DFU (Device Firmware Update) so all we had to do was support DFU on our website.

Re:Experimenting with Bluetooth in JavaScript in web, hybrid... by NullPrefix on Friday February 15, 2019 @03:52PM (#19174605)
>WebUSB has been god send for us.. We were able to allow customers to flash their units through their browser

Does the end-user know about this? Your comment doesn't make this clear to me.

Re:Experimenting with Bluetooth in JavaScript in web, hybrid... by dazhbog on Friday February 15, 2019 @04:34PM (#19174949)
Of-course, the customer had to explicitly give permission (every time) for Chrome to access any HW device. Also the device had to be manually put into bootloader mode.