randdusing / ng-cordova-bluetoothle

Angular 1.x wrapper for the PhoneGap/Cordova Bluetooth Low Energy Plugin
Other
47 stars 34 forks source link

Cordova BluetoothLE Detects only mac laptop no other devices? #5

Closed Kailash43 closed 8 years ago

Kailash43 commented 8 years ago

I was trying to figure out how BLE works. Tried to go through your plugin have followed all the steps mentioned in document. Build for android using windows everything is working great till now.

But when i used to startScan it only detects my Mac laptop even if my all other devices are enabled. I wanna know

randdusing commented 8 years ago

Are the devices advertising in Bluetooth LE mode? The scan only picks up Bluetooth LE devices.

Kailash43 commented 8 years ago

Build bluetoothLE app on One plus 2 and trying to scan mac, samsung galaxy s6 and one plus x device but there is no result execpt mac laptop.

randdusing commented 8 years ago

Are they advertising as Bluetooth LE devices? They most likely aren't, which is why the scan doesn't seem them.

Kailash43 commented 8 years ago

Samsung Galaxy S6 and Oneplus X specs shows that it supports Bluetooth 4.0 (LE), however the bluetooth plugin isn’t able to discover those devices. Is there any further configuration that I need to do to enable its discovery? Please let me know.

randdusing commented 8 years ago

Your devices need to be advertising as Bluetooth LE devices. You can use an app like LightBlue to accomplish this.