WebBLE 1.1 (iOS app) with bookmark support available! #161
Replies: 60 comments
-
Posted at 2017-01-18 by @gfwilliams Just to add, the app itself can be downloaded with this link: https://itunes.apple.com/us/app/webble/id1193531073 |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-01-18 by @gfwilliams Just tested, and this now works with the Web IDE! A little fine-tuning needed (to be honest the IDE's always been a bit fiddly with phones/tablets) but it's basically there |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-01-19 by Wilberforce What is the URL for the online version of the web ide? Perhaps this could be added as one of the bookmarks? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-01-19 by @gfwilliams
And yes, hopefully it will be soon :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-01-23 by user73018 Really excited about this! The only BLE device I have around me is a Sphero BB-8, and the test page I use doesn't show any Bluetooth devices when I try to connect. Not sure where things are breaking down. I'll try another BLE device later (a BBQ thermometer) and see if I have any luck. One thing that might help diagnose what's going on: is there a way to enable Safari Remote Debugging inside the browser, so I could see if there's a Web Bluetooth error being thrown somewhere? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-01-24 by @gfwilliams At the moment there isn't anything as far as I know - but if you can modify the webpages yourself it's easy enough to add a textbox and then overwrite Also, you could change Hopefully the BBQ thermometer will work though? I'd be interested to see what happens. It's a bit hard for @daphtdazz to try with different hardware though - even ignoring the time it takes, it gets quite expensive buying lots of random BLE stuff to test on :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-01-24 by daphtdazz @user73018: as Gordon says there is no way to enable Safari Remote Debugging in the browser unfortunately. A console window is next on my todo list for the app, but can't say when I might get around to it... sooner if more people ask for it! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-01-25 by user73018 @gordon @daphtdazz No such luck on the BBQ thermometer. Even after setting I overrode Here's what I'm seeing: https://www.youtube.com/watch?v=Nz8O4WYwh04 And the code in particular: https://gist.github.com/mattdsteele/0fa9cafc4a95738181137547eae21fc8#file-app-js Anyhow this is mostly FYI. Not expecting you to debug my code, or buy more BLE devices :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-01-25 by @gfwilliams What Apple device are you using? Is it possible that it doesn't have BLE support or Bluetooth is turned off? I've had a lot of success with WebBLE. I didn't manage to get it to fly my Parrot minidrone, but even then it managed to show it in the device selector window. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-01-25 by user73018 iPhone SE, which is Bluetooth 4.2 I believe. BLE works in other apps, so I'm hesitant that it's a hardware issue. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-06-12 by hydronics I tried the WebBle app to connect to acceptAllDevices using the puck.js as a starting point. The script seems to work on everything but the webBle iOS app. Any ideas? cheers! -thomas |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-06-13 by @gfwilliams I could be wrong, but it looks like you're defining and using Having said that, I don't know if WebBLE actually supports |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-06-13 by daphtdazz ( @hydronics your published code had a small bug, where you used WebBLE says it supports it so I guess it should :-) However, it doesn't seem to work at the moment, and looking at the code it looks like I didn't implement it. Given I said it is supported I think I should make it so! I'll try and get an update submitted to Apple today or tomorrow. Edit: also this might help @user73018 |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-06-13 by hydronics thanks for all the responses. @gordon, yes, you're right just for prototyping.. Are you saying if I filter for a certain Ble device it should work? Which type of filter should I use? Here are some filter options from google's bluetooth examples....
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-06-13 by hydronics I tried filtering with a name. It works on mac Safari but not WebBle...
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-11-30 by @gfwilliams I'm not sure I understand - can you actually do what you want on the desktop with Web Bluetooth? Because...
I don't believe Web Bluetooth can do this. It'll always require a connection window to appear. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-11-30 by Isaac.s @gordon Sorry accidentally deleted my previous message instead of edit. I believe it can be done. If a user is signing up from a desktop version (using web Bluetooth) pairing is ok, all we need is to discover, pair, and associate info. The no pairing takes place at the retailer’s pos tablets/app. It will only be used to detect and fetch associated data with pre registered device id. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-11-30 by @gfwilliams However if that webpage is then reloaded, I believe all that pairing information is lost and all the devices would have to be re-paired - unless you have some magic way to work around that? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-11-30 by Isaac.s Yes, and that’s correct. We trying to find a one-off solution to capture and register the device info. The constant re pairing/connecting with a page would be difficult for users. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-11-30 by @gfwilliams Gotcha - I find that frustrating too. At the moment that's not part of the Web Bluetooth spec, but it would make a lot of sense if they could add something... I guess you could try hassling the team at Google that's working on Web Bluetooth? Honestly if you're targeting iOS specifically you might be better off writing your own app - or I don't know @daphtdazz's availability, but he might be available for contract work to create you a custom app based on WebBLE that allowed persistence? I can't speak for him, but I'd imagine that adding non-spec-compliant stuff to the app for free might not really be in his best interests :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-11-30 by Isaac.s Thank you @gordon for understanding. Like i said in my previous message, our goal is to personalis the user’s BT for an instore customer recognition and seamless service. Just like the old tv show called CHEERS (you go where everybody knows your name) but with tap on your Bluetooth, Hello Gordon welcome back to XYZ store/airport/office/healthcare/ & etc. about the web Bluetooth’s limited features/issues, I hope we find a solution soon or perhaps add web socket for device registration and then hopefully get @daphtdazz’s WebBle to detect and display nearby registered devices. I’d love to work with you and @daphtdazz if possible and find a solution together... we truely want to take the web Bluetooth feature to a whole different level but opportunities are quite limited in Australia just like the re pairing issues hahaha. Thank you, your feedback much appreciated. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-11-30 by daphtdazz OK, so if I understand straight:
Are you making your own BLE devices? If so, then a way around the randomization of the UUID would be to expose your own GATT service on the device which exposes a persistent ID, and use that instead of the UUID. Then you could easily use WebBLE to do the registration with no further modification (this is what is suggested in the spec). |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-11-30 by Isaac.s Hello @daphtdazz. Thank you for your replying. Almost right. Just edited your version. Customer uses their preferred BLE device eg phone and wearable device to register. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-12-04 by hydronics @daphtdazz Hey, it looks like application cache isn't supported... Is that right? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-12-04 by daphtdazz Application cache is being deprecated, right? So I assume you mean service workers. I’m afraid I don’t know any better than you! Basically WebBLE will support it when it’s rolled out by Apple on mobile Safari and applications that use WebKit. Looks like they’re on it though. Sorry I can’t help more! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-01-02 by hydronics @daphtdazz Hey, there's an issue with the way webble resolves this address. Seems to work on safari, ios, and chrome. Give it a try!... smarteggdrop.omsi.edu "Fail Provisional Navigation: An SSL error has occurred and a secure connection to the server cannot be made."Attachments: |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-01-02 by daphtdazz From a quick look it seems that it’s something to do with the redirect; if you just go straight to https://s3.us-east-2.amazonaws.com/smarteggdrop.omsi.edu/index.html it seems to work fine. I’ll see if there’s some configuration option I can tweak when I have some time. You may be able to fix it by tweaking the SSL settings you’re using too. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-09-02 by user93698 Dear WEBBLE author, I have a working JS (attached) running on an Samsung Android tab. In order to make it work on iPhone also, I just purchased your WEBBLE App but the JS is not working on your App.
I have double check that it can run in my Samsung Android Chrome. Can you help me? Attachments: |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-09-17 by daphtdazz Hi @user93698, |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-09-17 by daphtdazz @user93698 I raise daphtdazz/WebBLE#8 to track this. For now you can workaround by setting |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-01-17 by daphtdazz
Apple have accepted an enhancement I made over the weekend to add bookmarks support to WebBLE, so it's now easy to save your favourite Web Bluetooth pages and return to them later.
The update should get pushed out to everyone soon.
See the WebBLE announcement conversation for more info on WebBLE on iOS.
Also fixed in this version:
Beta Was this translation helpful? Give feedback.
All reactions