BluetoothSerial icon indicating copy to clipboard operation
BluetoothSerial copied to clipboard

Problem connecting to Bluetooth LE_BM64_DSPKv2.1_GAT device using BluetoothSerial.connect

Open develgooapps opened this issue 6 years ago • 2 comments

I am trying to connect to the device through an Ionic application. I am testing the app in an Android device and I am already connected to the device in my phone. The problem is when I try to connect to the device through the application, always getting the 'Unable to connect to device' error in the connect function error callback. Here is the code I use: image

The parameter deviceId is the mac address of the device, that is 'CB:81:F4:5B:37:2D'. I have been searching for this error for a long time and I do not seem to find a solution to it. Any help on this? Thank you

develgooapps avatar Jan 10 '19 09:01 develgooapps

Hi. I am facing the same issue. Did you find a solution? Thanks.

Karabillie avatar Apr 08 '19 09:04 Karabillie

If you want to connect to a BLE device, you may use a ble plugin. https://github.com/don/cordova-plugin-ble-central https://github.com/don/cordova-plugin-rfduino

lovemonkey avatar Aug 20 '19 07:08 lovemonkey