I have a working Bluefruit UART unit that successfully works with the Bluefruit app on Android. I am trying to build a custom app but have come across and issue where I am unable to configure the parameters for the callback notification to tell Android that characters have arrived.
Most of it works ok but I am unable to get the onDescriptorWrite command to return true, as shown below:
connectGatt
onConnectionStateChange status=0 newState=2
discoverServices called
onServicesDiscovered proceeding to enableTXNotification
enableTXNotification Starting the routine to enable TX notification
charNotification success mBluetoothGatt.setCharacteristicNotification(RxChar, true) succeeded
RxChar properties: NOTIFY, PERMISSION_WRITE
TxChar properties: WRITE, WRITE_NO_RESPONSE
call to mBluetoothGatt.writeDescriptor returned true
onDescriptorWrite called back write not permitted
Cant seem to figure out if this is an Android issue or within the Bluefruit LE module. Any help with this would be much appreciated.
Bluefruit LE UART Friend
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
Please be positive and constructive with your questions and comments.