Closed follower closed 8 years ago
You are absolutely right! Let me update the generator code.
And here it is https://github.com/beaufortfrancois/sandbox/commit/683942462ff9a17f2620bd60bca02e8e5a2a5bc4 @follower. You can now use the generator without Web Bluetooth flag at https://beaufortfrancois.github.io/sandbox/web-bluetooth/generator/.
Thank you Philip for this feedback. I had a look at your project notes page and I loved the last Web Bluetooth reference ;)
On a side note, where can I get a myelin heart pendant to test your demo at https://follower.github.io/web-bluetooth-demos/?
Great, thanks for the fix. :) The generator is a really helpful tool to get started with Web Bluetooth.
The myelin heart pendant is a private project by a friend of mine. Flick an email to my username at rancidbacon.com and I can potentially put you in touch with him. Also, I'd like to tell you more about what I'm using Web Bluetooth for but would prefer to keep that to private email.
And, re: project notes page, ummm, whoops? :D
Thanks again!
(email sent)
The generator available at https://beaufortfrancois.github.io/sandbox/web-bluetooth/generator/ (via https://github.com/beaufortfrancois/sandbox/tree/gh-pages/web-bluetooth/generator) is a very useful tool. Thanks!
However using it when swapping between various browsers left me very confused as it would mostly work in many cases except when specifying "Advertising Service UUID(s)".
What I've just realised is that because the code handling that part uses the
Bluetooth
object (for UUID manipulation) it only works if Web Bluetooth is enabled.While it would be useful if the generator could be used without requiring Web Bluetooth (e.g. when creating a page in a laptop browser for deployment on a mobile browser), it would be helpful if the reason for the "invalid state" indicator (which on some platforms seems to briefly show the
Bluetooth
error as a tool tip?) was clearer--or simply a warning that that functionality wouldn't work.(I link to the generator from my project notes page here: http://www.labradoc.com/i/follower/p/notes-web-bluetooth.)
Thanks!