google / eddystone

Specification for Eddystone, an open beacon format from Google
Apache License 2.0
3.08k stars 762 forks source link

How to receive a data from a physical web through BT? #189

Open iamblue opened 7 years ago

iamblue commented 7 years ago

as title .

I want to do "wifi smart connection through BT" through physical web. In common scenarios (without physical web): An user open BlueTooth on his phone -> download and open a vendor app -> device connect to this phone through BT -> user input wifi name and password on this app and sent to device -> device connect to wifi.

In physical web scenario ( In my imagination) : An user open BlueTooth on his phone -> go to physical web -> Input wifi name and password -> physical web will send this data to device through BT -> device receive and connect to wifi .

But ... I don't know How to receivce a data from a physical web ? Dose eddystone have a standard for this scenario ? Dose anyone have any suggestion ?

thx

scottjenson commented 7 years ago

We've been told that the Hotspot 2.0 standard already covers this scenario. You'll download the cert from the web page and it will connect to the wifi automatically. I personally haven't tried it yet.

However, to answer your question directly, as you're trying to interact with native networking premissions and we're trying very hard to stay within the Web model, I don't see any way to do this directly with a Physical Web beacon. We could consider it but then it would be an OS extension and not a Web extension. We're trying, at the moment at least, to keep the Physical Web to be built on the web model.