Newer version of BLE Discovery for Workbench 2.0.0 Alpha?

Ask, and ye shall receive.
mangopudding
Posts: 5
Joined: 15:50, 18 Aug 2015

Newer version of BLE Discovery for Workbench 2.0.0 Alpha?

Postby mangopudding » 05:30, 26 Aug 2015

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.

alex
Posts: 92
Joined: 00:59, 19 Nov 2013

Re: Newer version of BLE Discovery for Workbench 2.0.0 Alpha?

Postby alex » 09:32, 26 Aug 2015

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

Fredrik
Site Admin
Posts: 196
Joined: 15:00, 18 Nov 2013

Re: Newer version of BLE Discovery for Workbench 2.0.0 Alpha?

Postby Fredrik » 10:17, 26 Aug 2015

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

mangopudding
Posts: 5
Joined: 15:50, 18 Aug 2015

Re: Newer version of BLE Discovery for Workbench 2.0.0 Alpha?

Postby mangopudding » 01:32, 27 Aug 2015

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! :lol:

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!

User avatar
micke
Posts: 256
Joined: 20:49, 18 Nov 2013

Re: Newer version of BLE Discovery for Workbench 2.0.0 Alpha?

Postby micke » 12:11, 29 Aug 2015


User avatar
micke
Posts: 256
Joined: 20:49, 18 Nov 2013

Re: Newer version of BLE Discovery for Workbench 2.0.0 Alpha?

Postby micke » 12:14, 29 Aug 2015

@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


Return to “Questions and answers”

Who is online

Users browsing this forum: Bing [Bot] and 4 guests