I've just received the Puck.js and ran the code on the device.
I guess Robin was right and i've mixed up HTTP over Wifi with Bluetooth BLE.
From my naive understanding I've thought that, as soon as the device is connected/paired through Bluetooth, that the puck/bangle would have access to the Internet.
Do I understand it right, that I have to run EspurinoHub on a computer to bridge the device to the internet?
How would I bridge the puck.js through an android device to the internet?
I've also have a weird behaviour on my linux maschine. I've activated the chrome flag for web bluetooth and was capable to transfer code from the browser IDE to the device.
However, when I run the first example code from here: http://www.espruino.com/Web+Bluetooth
on my webserver and open it with the same linux browser, I get the message: "This Web Browser doesn't support We Bluetooth."
I'm a little bit confused at the moment. Maybe somebody can point me into the right direction how i can do http get requests?
Thank's in advance
update: I've tried the example Web Bluetooth code also with my smartphone browser which was also capable of running the ide and connect through web bluetooth to the device. Same error message: This Web Browser doesn't support Web Bluetooth.
update: my page wasn't delivered through https. after activating ssl i can connect via web bluetooth. however, I still need an answer for the bridge question(s) :)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I've just received the Puck.js and ran the code on the device.
I guess Robin was right and i've mixed up HTTP over Wifi with Bluetooth BLE.
From my naive understanding I've thought that, as soon as the device is connected/paired through Bluetooth, that the puck/bangle would have access to the Internet.
Do I understand it right, that I have to run EspurinoHub on a computer to bridge the device to the internet?
How would I bridge the puck.js through an android device to the internet?
I guess one approach would be to run puck.js code in the browser?
http://www.espruino.com/Web+Bluetooth
I've also have a weird behaviour on my linux maschine. I've activated the chrome flag for web bluetooth and was capable to transfer code from the browser IDE to the device.
However, when I run the first example code from here: http://www.espruino.com/Web+Bluetooth
on my webserver and open it with the same linux browser, I get the message: "This Web Browser doesn't support We Bluetooth."
I'm a little bit confused at the moment. Maybe somebody can point me into the right direction how i can do http get requests?
Thank's in advance
update: I've tried the example Web Bluetooth code also with my smartphone browser which was also capable of running the ide and connect through web bluetooth to the device. Same error message: This Web Browser doesn't support Web Bluetooth.
update: my page wasn't delivered through https. after activating ssl i can connect via web bluetooth. however, I still need an answer for the bridge question(s) :)