evothings / cordova-ble

Bluetooth Low Energy plugin for Cordova
http://www.evothings.com/
Apache License 2.0
242 stars 103 forks source link

Problems with BLE under Android 5.1.1 #74

Closed RolfKH closed 8 years ago

RolfKH commented 9 years ago

Hello, We have an application that was fine running under Android 4.4.2. But with Android 5.1.1 we are getting connection problems, timeout on connection and unstable Bluetooth (switches on and of). We have updated the Cordova library.

Do you know of any issues with the newer Android operating system?

Regards, Rolf

fredrikeldh commented 9 years ago

I have not encountered this myself, though I have a vague memory of seeing another similar report. What hardware are you using? I have a Nexus 6.

RolfKH commented 9 years ago

samsung s6

Sendt fra min Samsung Galaxy-smarttelefon.

-------- Opprinnelig melding -------- Fra: Fredrik Eldh notifications@github.com Dato: 07.08.2015 17:39 (GMT+01:00) Til: evothings/cordova-ble cordova-ble@noreply.github.com Ko: Rolf Kahrs Hansen rolf@spiromedical.com Emne: Re: [cordova-ble] Problems with BLE under Android 5.1.1 (#74)

I have not encountered this myself, though I have a vague memory of seeing another similar report. What hardware are you using? I have a Nexus 6.

Reply to this email directly or view it on GitHubhttps://github.com/evothings/cordova-ble/issues/74#issuecomment-128739496.

fredrikeldh commented 9 years ago

I don't have an S6, I don't have your app, I don't have whatever BLE device the app is talking to, and the problem is intermittent. Tricky. :/

Perhaps you can try some other phone. Also it would be helpful if you would try some of the Evothings examples, so we'll have something in common, for comparison.

RolfKH commented 9 years ago

We will research this further and get back

RolfKH commented 8 years ago

Hi We changed the delay times (-> shorter) on the device and that helped!

Another question: Can Cordova (with BLE) be ported to Windows?

fredrikeldh commented 8 years ago

Good to hear! I'll mark this issue closed.

Cordova itself is already ported to Windows (8+, Phone 8+).

This plugin could also be ported. One would need to add C# implementations of all the functions declared in ble.js.