cordova-plugin-bluetoothle
cordova-plugin-bluetoothle copied to clipboard
byte[] android.bluetooth.BluetoothGattDescriptor.getValue() with notify function on Android
I have a problem with the Notify function on Android. Indeed, no matter what value I want to send, I have this error: "Attempt to invoke virtual method 'byte [] android.bluetooth.BluetoothGattDescriptor.getValue ()' on a null object reference".
However, I initialized well (Client and Peripheral because I need both), added my service (test before and after connecting my device).
Do you know where it could come from?
Thanks in advance