This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2652P: Android BLE Notification not enabling.

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

  • Hey Ganesh,

    This seems to be Android code, correct? We do not support questions about Android Bluetooth library and applications. We only support TI software for our bluetooth chips. I recommend that you post your question on a website like stack overflow.