Search found 8 matches

by sarkreth
08:00, 01 Mar 2016
Forum: Questions and answers
Topic: Where's the list of all the Evothings/Cordova error codes?
Replies: 2
Views: 9229

Re: Where's the list of all the Evothings/Cordova error codes?

Well, that's a shame. Thanks anyway. Knowing that they are platform-dependent does shed a little light on the situation.
by sarkreth
21:42, 26 Feb 2016
Forum: Questions and answers
Topic: Where's the list of all the Evothings/Cordova error codes?
Replies: 2
Views: 9229

Where's the list of all the Evothings/Cordova error codes?

I'm working on a BLE project and getting a couple of different error codes from writeDescriptor(), depending on what I try to modify. Where can I look up what these are supposed to mean? I'm hoping something like this: https://msdn.microsoft.com/en-us/library/windows/desktop/ms681381(v=vs.85).aspx I...
by sarkreth
10:05, 23 Dec 2015
Forum: Questions and answers
Topic: How are frequent writeCharactristic() calls handled?
Replies: 4
Views: 11420

Re: How are frequent writeCharactristic() calls handled?

You just caused me to have an epiphany about Javascript, dude! Thanks!
by sarkreth
20:39, 22 Dec 2015
Forum: Questions and answers
Topic: How are frequent writeCharactristic() calls handled?
Replies: 4
Views: 11420

Re: How are frequent writeCharactristic() calls handled?

You may be on to something there, but I'm still a bit unclear on how to use the writeCharacteristic() success callback. Does wC() write the value to a buffer, then register the callback to be called when the value actually gets written, then return asynchronously? This would be perfect!
by sarkreth
23:01, 21 Dec 2015
Forum: Questions and answers
Topic: How are frequent writeCharactristic() calls handled?
Replies: 4
Views: 11420

How are frequent writeCharactristic() calls handled?

I'm working on an app that communicates the position of a quickly changing "slider" button (a single byte) over BLE. I haven't tested it yet, but I sense trouble depending on how writeCharacteristic() behaves at the interface to the actual Bluetooth stack implementation. Bluetooth communic...
by sarkreth
22:19, 21 Dec 2015
Forum: Questions and answers
Topic: Long press and multitouch in Evothings apps
Replies: 2
Views: 8678

Re: Long press and multitouch in Evothings apps

Is your intended interface a mouse or a touchscreen? If it's the latter, read up on touch events: http://www.javascriptkit.com/javatutors/touchevents.shtml I think touchstart and touchend are what you're looking for to implement a "long press". I haven't done anything with multiple fingers...
by sarkreth
19:59, 19 Nov 2015
Forum: Questions and answers
Topic: Different behavior between Evothings Client and native app?
Replies: 4
Views: 16881

Re: Different behavior between Evothings Client and native app?

I actually do want to get the semantics right, so is the Evothings Client technically a browser, and the two different (but ideally identical) things I'm running are an "in-browser app"; and then a "native app" made when I run "cordova build android"? Anyway, the plugin...
by sarkreth
06:02, 19 Nov 2015
Forum: Questions and answers
Topic: Different behavior between Evothings Client and native app?
Replies: 4
Views: 16881

Different behavior between Evothings Client and native app?

If Bluetooth is turned off on my phone, easyble.startScan() behaves differently depending on whether it's running on the client or as a native app. In the client, I get the pop-up saying "this app wants to turn on Bluetooth", which is what I would want to happen. On the native app, however...

Go to advanced search