Part Number: CC2652P
-
Dear ti Team
I have enabled notification by following steps.
gatt.setCharacteristicNotification(mNotifyCharacteristics, true);
BluetoothGattDescriptor desc = mReadCharacteristics.getDescriptor(GattInfo.CLIENT_CHARACTERISTIC_CONFIG);
desc.setValue(BluetoothGattDescriptor.ENABLE_NOTIFICATION_VALUE) // return true
gatt.writeDescriptor(desc); // return false
But It is not getting called onCharacteristicChanged.
@Override
public void onCharacteristicChanged(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic)
{
broadcastUpdate(ACTION_DATA_NOTIFY, characteristic, BluetoothGatt.GATT_SUCCESS);
} // Not calling
Please correct me if anything is wrong. Because it is not working and I am unable to find the issue now.
Best Regards,
Ganesh
-