BluetoothSerial
BluetoothSerial copied to clipboard
Problem connecting to Bluetooth LE_BM64_DSPKv2.1_GAT device using BluetoothSerial.connect
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:

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
Hi. I am facing the same issue. Did you find a solution? Thanks.
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