Hi there.
Is there a newer version of BLE Discovery?
I noticed there's some code changes from the package in Workbench 1.2 to 2.0.
It's not working anymore.
- Simon.
Newer version of BLE Discovery for Workbench 2.0.0 Alpha?
-
- Posts: 5
- Joined: 15:50, 18 Aug 2015
Re: Newer version of BLE Discovery for Workbench 2.0.0 Alpha?
Yup thanks for the heads-up, you're 100% right, hence in an effort to improved, it was broken instead.
Tested with an older example (distributed with Evothings Studio 1.1.4, by drag-dropping its
index.html into the Studio Alpha worked fine on all my phones.
We'll add a buxfixed version for the next iteration, until then please use the stable example as mentioned above. You
can also find it here on Github.
https://github.com/evothings/evothings-examples/tree/master/examples/ble-discovery
Tested with an older example (distributed with Evothings Studio 1.1.4, by drag-dropping its
index.html into the Studio Alpha worked fine on all my phones.
We'll add a buxfixed version for the next iteration, until then please use the stable example as mentioned above. You
can also find it here on Github.
https://github.com/evothings/evothings-examples/tree/master/examples/ble-discovery
Re: Newer version of BLE Discovery for Workbench 2.0.0 Alpha?
Alex' link leads to the latest version, which is currently broken. Until it's fixed, here's the old, working version:
https://github.com/evothings/evothings-examples/tree/cffcaaf2293374fa355658aecd85abb43c362d20/examples/ble-discovery
https://github.com/evothings/evothings-examples/tree/cffcaaf2293374fa355658aecd85abb43c362d20/examples/ble-discovery
-
- Posts: 5
- Joined: 15:50, 18 Aug 2015
Re: Newer version of BLE Discovery for Workbench 2.0.0 Alpha?
Hi there.
I taught my daughter (she's only 9) on how to use file comparison in in TextWrangler on the Mac and compare the source code between the two packages as well as the errors in JavaScript Workbench.
She tried using this snippet of code from the old package and placed it in the new package. It worked!
She's a happy camper now!
I taught my daughter (she's only 9) on how to use file comparison in in TextWrangler on the Mac and compare the source code between the two packages as well as the errors in JavaScript Workbench.
She tried using this snippet of code from the old package and placed it in the new package. It worked!
Code: Select all
// Bind Event Listeners
//
// Bind any events that are required on startup. Common events are:
// 'load', 'deviceready', 'offline', and 'online'.
app.bindEvents = function()
{
document.addEventListener('deviceready', this.onDeviceReady, false);
};
She's a happy camper now!
Re: Newer version of BLE Discovery for Workbench 2.0.0 Alpha?
Pushed the update from Fredrik to the main repo: https://github.com/evothings/evothings-examples/tree/master/examples/ble-discovery
Re: Newer version of BLE Discovery for Workbench 2.0.0 Alpha?
@mangopudding Amazed to hear about your daughter! Perhaps you would like to do a blogpost and/or video about your coding adventures? We would be happy to feature it
Very best, Mikael
Very best, Mikael
Return to “Questions and answers”
Who is online
Users browsing this forum: No registered users and 11 guests