Example for subscribing for BLE indicate in android
问题 I have connected to a bluetooth device. I am able to read charectristic using mGatt.readCharacteristic(getMiliService().getCharacteristic(uuid)); But I am not able to register indicate for a characteristic. What I tried boolean flag1 = m_Gatt.setCharacteristicNotification(bluetoothgattcharacteristic, flag); BluetoothGattDescriptor descriptor= bluetoothgattcharacteristic.getDescriptor(Helper.UUID_DESCRIPTOR_CLIENT_CHARACTERISTIC_CONFIGURATION); descriptor.setValue(BluetoothGattDescriptor