cordova-plugin-bluetoothle
cordova-plugin-bluetoothle copied to clipboard
Bluetooth not initialized error
Hello there,
I am using ionic and using the BluetoothLE library to scan the available BLE devices.
I am sure that I have run the this.bluetoothle.initialize() function.
I also made a button in the GUI that calls this function to be sure that the function was called. But I still get the "Bluetooth uninitialized error" whenever I try to call the function this.bluetoothle.startScan().
Kindly find the error attached from the console.
.
I would also like to know how can I receive the list of available devices when calling this.bluetoothle.startScan() method