Android Bluetooth Low Energy Pairing
When you get the GATT_INSUFFICIENT_AUTHENTICATION error, the system starts the bonding process for you. In the example below I’m trying to enable notifications and indications on glucose monitor. First I’m enabling the notifications on Glucose Measurement characteristic which can cause the error to appear. @Override public void onDescriptorWrite(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, int status) { if … Read more