MCPcopy Create free account
hub / github.com/XCSoar/XCSoar / onDescriptorWrite

Method onDescriptorWrite

android/src/BluetoothSensor.java:236–247  ·  view source on GitHub ↗
(BluetoothGatt gatt,
                                BluetoothGattDescriptor descriptor,
                                int status)

Source from the content-addressed store, hash-verified

234 }
235
236 @Override
237 public void onDescriptorWrite(BluetoothGatt gatt,
238 BluetoothGattDescriptor descriptor,
239 int status) {
240 synchronized(enableNotificationQueue) {
241 currentEnableNotification = enableNotificationQueue.poll();
242 if (currentEnableNotification != null) {
243 if (!doEnableNotification(currentEnableNotification))
244 currentEnableNotification = null;
245 }
246 }
247 }
248
249 @Override
250 public void onServicesDiscovered(BluetoothGatt gatt,

Callers

nothing calls this directly

Calls 1

doEnableNotificationMethod · 0.95

Tested by

no test coverage detected