Bluefruit LE UART Friend

For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
HardeepU
 
Posts: 1
Joined: Thu Aug 11, 2022 7:10 am

Bluefruit LE UART Friend

Post by HardeepU »

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.

Locked
Please be positive and constructive with your questions and comments.

Return to “Wireless: WiFi and Bluetooth”