Skip to content

Instantly share code, notes, and snippets.

@AppWerft
Created November 13, 2018 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AppWerft/676361b720bf741f9b258738bb93813b to your computer and use it in GitHub Desktop.
Save AppWerft/676361b720bf741f9b258738bb93813b to your computer and use it in GitHub Desktop.
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.commands.DistocomCommand.preparePayload - commandString: raiseEvent
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.commands.DistocomCommand.preparePayload - commandParams: 10
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.commands.Command.setPayload - payload: raiseEvent 10
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.Devices.Device.processCommand - Called with type: DistanceDCValue: raiseEvent 10
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.Devices.Device.processCommand - Has new ble services
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.Devices.Device.processCommand - waitForData: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleConnectionManager.sendCommand - -sending-getPayload is: raiseEvent 10
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.writeCharacteristic - write - begin
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.writeCharacteristic - package amount: 1
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.writeCharacteristic - write package (1/1)
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.onCharacteristicWrite - ack
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.writeCharacteristic - write - end
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.onCharacteristicChanged - Characteristic changed: 3ab10121-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.onCharacteristicRead - uuid: 3ab10121-f831-4395-b29d-570977d5bf94, value: raiseEvent: !
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.commands.ReceivedData.parseYetiReceivedData - YetiDataPacket saved.
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.commands.ReceivedYetiDataPacket$YetiDistocomData.<init> - Distocom data Received: raiseEvent: !
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.commands.ReceivedData.parseYetiReceivedData - Complete distocomReceivedMessage = raiseEvent: !
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.Devices.ResponseHelper.c - ReceivedData Added: (Yeti) ch.leica.sdk.commands.ReceivedYetiDataPacket@2b619da
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.Devices.ResponseHelper.c - YetiDataPacket with id:
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.Devices.BleDevice.onBleDataReceived - waitingForBleResponsesTime: 1
[INFO] : TiDisto: (Thread-6) [148,3409] raiseEvent: !
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback$1.run - Discover Services is called
[DEBUG] : BluetoothGatt: discoverServices() - device: F1:5D:8E:45:90:7D
[DEBUG] : BluetoothGatt: onSearchComplete() = Device=F1:5D:8E:45:90:7D Status=0
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.onServicesDiscovered - On Services Discovered Status: 0
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.toggleNotifications - Notifications are set to: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Service: 00001800-0000-1000-8000-00805f9b34fb
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a00-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a01-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a04-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002aa6-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Service: 00001801-0000-1000-8000-00805f9b34fb
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a05-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Service: 0000180a-0000-1000-8000-00805f9b34fb
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a29-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a50-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Service: 0000180f-0000-1000-8000-00805f9b34fb
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a19-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Service: 3ab10100-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 3ab1010c-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 3ab1010d-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 3ab1010f-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 3ab10110-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 3ab10111-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 3ab10112-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 3ab10120-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 3ab10121-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 3ab10122-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.a - Request: ENABLE_NOTIFICATIONS
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic UUID: 3ab10110-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.a - Request: ENABLE_NOTIFICATIONS
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic UUID: 3ab10111-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.a - Request: ENABLE_NOTIFICATIONS
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic UUID: 3ab10121-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.a - Request: ENABLE_NOTIFICATIONS
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic UUID: 3ab10112-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.a - Request: ENABLE_NOTIFICATIONS
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic UUID: 3ab10122-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.a - Request: ENABLE_NOTIFICATIONS
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic UUID: 3ab1010d-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.a - Request: ENABLE_NOTIFICATIONS
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic UUID: 3ab1010f-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Service: 00001812-0000-1000-8000-00805f9b34fb
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a4e-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a4d-0000-1000-8000-00805f9b34fb Enable: true
[INFO] : chatty: uid=10223(de.appwerft.firebaseauth) Binder:11658_3 identical 1 line
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a4d-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a4b-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a22-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a32-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a4a-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a4c-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.nextRequest - TaskSize: 6 Next Task: ENABLE_NOTIFICATIONS
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleCharacteristic.setNotificationValue - Characteristic: 3ab10110-f831-4395-b29d-570977d5bf94 Notification Value: indicate
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - call gatt.setCharacteristicNotification with: true
[DEBUG] : BluetoothGatt: setCharacteristicNotification() - uuid: 3ab10110-f831-4395-b29d-570977d5bf94 enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - gatt.setCharacteristicNotification returned true, UUID: 3ab10110-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - characteristic: 3ab10110-f831-4395-b29d-570977d5bf94 Number of Descriptors: 1
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - BluetoothGattDescriptor.ENABLE_INDICATION_VALUE: 3ab10110-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - call gatt.writeDescriptor() now for gattDescriptor: 00002902-0000-1000-8000-00805f9b34fb, gattCharacteristics: 3ab10110-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.onNotificationEnd - gatt.writeDescriptor returned true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.onCharacteristicChanged - Characteristic changed: 3ab1010d-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.onCharacteristicRead - uuid: 3ab1010d-f831-4395-b29d-570977d5bf94, value: ��*?o�N:���������������������
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.commands.ReceivedYetiDataPacket$YetiBasicMeasurements.<init> - distance: 0.666452 inclination: 7.8888884E-4 direction: 0.0 timestampAndFlags: -16384
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.Devices.BleDevice.onBleDataReceived - currentResponse is null, data is an event.
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.nextRequest - TaskSize: 5 Next Task: ENABLE_NOTIFICATIONS
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleCharacteristic.setNotificationValue - Characteristic: 3ab10111-f831-4395-b29d-570977d5bf94 Notification Value: notify
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - call gatt.setCharacteristicNotification with: true
[DEBUG] : BluetoothGatt: setCharacteristicNotification() - uuid: 3ab10111-f831-4395-b29d-570977d5bf94 enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - gatt.setCharacteristicNotification returned true, UUID: 3ab10111-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - characteristic: 3ab10111-f831-4395-b29d-570977d5bf94 Number of Descriptors: 1
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - BluetoothGattDescriptor.ENABLE_NOTIFICATION_VALUE: 3ab10111-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - call gatt.writeDescriptor() now for gattDescriptor: 00002902-0000-1000-8000-00805f9b34fb, gattCharacteristics: 3ab10111-f831-4395-b29d-570977d5bf94
[ERROR] : E/SDK - CodeError : : ch.leica.sdk.connection.ble.BleManagerGattCallback.onNotificationEnd - UUID: 3ab10111-f831-4395-b29d-570977d5bf94 gatt.writeDescriptor returned false mRetrys: 400
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.discoverServices - DiscoverServicesDelay: 900
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback$1.run - Discover Services is called
[DEBUG] : BluetoothGatt: discoverServices() - device: F1:5D:8E:45:90:7D
[DEBUG] : BluetoothGatt: onSearchComplete() = Device=F1:5D:8E:45:90:7D Status=0
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.onServicesDiscovered - On Services Discovered Status: 0
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.toggleNotifications - Notifications are set to: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Service: 00001800-0000-1000-8000-00805f9b34fb
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a00-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a01-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a04-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002aa6-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Service: 00001801-0000-1000-8000-00805f9b34fb
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a05-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Service: 0000180a-0000-1000-8000-00805f9b34fb
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a29-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a50-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Service: 0000180f-0000-1000-8000-00805f9b34fb
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a19-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Service: 3ab10100-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 3ab1010c-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 3ab1010d-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 3ab1010f-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 3ab10110-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 3ab10111-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 3ab10112-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 3ab10120-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 3ab10121-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 3ab10122-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.a - Request: ENABLE_NOTIFICATIONS
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic UUID: 3ab10110-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.a - Request: ENABLE_NOTIFICATIONS
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic UUID: 3ab10111-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.a - Request: ENABLE_NOTIFICATIONS
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic UUID: 3ab10121-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.a - Request: ENABLE_NOTIFICATIONS
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic UUID: 3ab10112-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.a - Request: ENABLE_NOTIFICATIONS
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic UUID: 3ab10122-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.a - Request: ENABLE_NOTIFICATIONS
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic UUID: 3ab1010d-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.a - Request: ENABLE_NOTIFICATIONS
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic UUID: 3ab1010f-f831-4395-b29d-570977d5bf94 Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Service: 00001812-0000-1000-8000-00805f9b34fb
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a4e-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a4d-0000-1000-8000-00805f9b34fb Enable: true
[INFO] : chatty: uid=10223(de.appwerft.firebaseauth) Binder:11658_3 identical 1 line
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a4d-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a4b-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a22-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a32-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a4a-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.a - Characteristic: 00002a4c-0000-1000-8000-00805f9b34fb Enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.nextRequest - TaskSize: 6 Next Task: ENABLE_NOTIFICATIONS
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleCharacteristic.setNotificationValue - Characteristic: 3ab10110-f831-4395-b29d-570977d5bf94 Notification Value: indicate
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - call gatt.setCharacteristicNotification with: true
[DEBUG] : BluetoothGatt: setCharacteristicNotification() - uuid: 3ab10110-f831-4395-b29d-570977d5bf94 enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - gatt.setCharacteristicNotification returned true, UUID: 3ab10110-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - characteristic: 3ab10110-f831-4395-b29d-570977d5bf94 Number of Descriptors: 1
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - BluetoothGattDescriptor.ENABLE_INDICATION_VALUE: 3ab10110-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - call gatt.writeDescriptor() now for gattDescriptor: 00002902-0000-1000-8000-00805f9b34fb, gattCharacteristics: 3ab10110-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.onNotificationEnd - gatt.writeDescriptor returned true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.nextRequest - TaskSize: 5 Next Task: ENABLE_NOTIFICATIONS
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleCharacteristic.setNotificationValue - Characteristic: 3ab10111-f831-4395-b29d-570977d5bf94 Notification Value: notify
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - call gatt.setCharacteristicNotification with: true
[DEBUG] : BluetoothGatt: setCharacteristicNotification() - uuid: 3ab10111-f831-4395-b29d-570977d5bf94 enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - gatt.setCharacteristicNotification returned true, UUID: 3ab10111-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - characteristic: 3ab10111-f831-4395-b29d-570977d5bf94 Number of Descriptors: 1
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - BluetoothGattDescriptor.ENABLE_NOTIFICATION_VALUE: 3ab10111-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - call gatt.writeDescriptor() now for gattDescriptor: 00002902-0000-1000-8000-00805f9b34fb, gattCharacteristics: 3ab10111-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.onNotificationEnd - gatt.writeDescriptor returned true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.nextRequest - TaskSize: 4 Next Task: ENABLE_NOTIFICATIONS
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleCharacteristic.setNotificationValue - Characteristic: 3ab10121-f831-4395-b29d-570977d5bf94 Notification Value: notify
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - call gatt.setCharacteristicNotification with: true
[DEBUG] : BluetoothGatt: setCharacteristicNotification() - uuid: 3ab10121-f831-4395-b29d-570977d5bf94 enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - gatt.setCharacteristicNotification returned true, UUID: 3ab10121-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - characteristic: 3ab10121-f831-4395-b29d-570977d5bf94 Number of Descriptors: 1
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - BluetoothGattDescriptor.ENABLE_NOTIFICATION_VALUE: 3ab10121-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - call gatt.writeDescriptor() now for gattDescriptor: 00002902-0000-1000-8000-00805f9b34fb, gattCharacteristics: 3ab10121-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.onNotificationEnd - gatt.writeDescriptor returned true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.nextRequest - TaskSize: 3 Next Task: ENABLE_NOTIFICATIONS
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleCharacteristic.setNotificationValue - Characteristic: 3ab10112-f831-4395-b29d-570977d5bf94 Notification Value: indicate
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - call gatt.setCharacteristicNotification with: true
[DEBUG] : BluetoothGatt: setCharacteristicNotification() - uuid: 3ab10112-f831-4395-b29d-570977d5bf94 enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - gatt.setCharacteristicNotification returned true, UUID: 3ab10112-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - characteristic: 3ab10112-f831-4395-b29d-570977d5bf94 Number of Descriptors: 1
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - BluetoothGattDescriptor.ENABLE_INDICATION_VALUE: 3ab10112-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - call gatt.writeDescriptor() now for gattDescriptor: 00002902-0000-1000-8000-00805f9b34fb, gattCharacteristics: 3ab10112-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.onNotificationEnd - gatt.writeDescriptor returned true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.nextRequest - TaskSize: 2 Next Task: ENABLE_NOTIFICATIONS
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleCharacteristic.setNotificationValue - Characteristic: 3ab10122-f831-4395-b29d-570977d5bf94 Notification Value: notify
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - call gatt.setCharacteristicNotification with: true
[DEBUG] : BluetoothGatt: setCharacteristicNotification() - uuid: 3ab10122-f831-4395-b29d-570977d5bf94 enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - gatt.setCharacteristicNotification returned true, UUID: 3ab10122-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - characteristic: 3ab10122-f831-4395-b29d-570977d5bf94 Number of Descriptors: 1
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - BluetoothGattDescriptor.ENABLE_NOTIFICATION_VALUE: 3ab10122-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - call gatt.writeDescriptor() now for gattDescriptor: 00002902-0000-1000-8000-00805f9b34fb, gattCharacteristics: 3ab10122-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.onNotificationEnd - gatt.writeDescriptor returned true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.nextRequest - TaskSize: 1 Next Task: ENABLE_NOTIFICATIONS
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleCharacteristic.setNotificationValue - Characteristic: 3ab1010d-f831-4395-b29d-570977d5bf94 Notification Value: indicate
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - call gatt.setCharacteristicNotification with: true
[DEBUG] : BluetoothGatt: setCharacteristicNotification() - uuid: 3ab1010d-f831-4395-b29d-570977d5bf94 enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - gatt.setCharacteristicNotification returned true, UUID: 3ab1010d-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - characteristic: 3ab1010d-f831-4395-b29d-570977d5bf94 Number of Descriptors: 1
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - BluetoothGattDescriptor.ENABLE_INDICATION_VALUE: 3ab1010d-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - call gatt.writeDescriptor() now for gattDescriptor: 00002902-0000-1000-8000-00805f9b34fb, gattCharacteristics: 3ab1010d-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.onNotificationEnd - gatt.writeDescriptor returned true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.nextRequest - TaskSize: 0 Next Task: ENABLE_NOTIFICATIONS
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleCharacteristic.setNotificationValue - Characteristic: 3ab1010f-f831-4395-b29d-570977d5bf94 Notification Value: indicate
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - call gatt.setCharacteristicNotification with: true
[DEBUG] : BluetoothGatt: setCharacteristicNotification() - uuid: 3ab1010f-f831-4395-b29d-570977d5bf94 enable: true
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - gatt.setCharacteristicNotification returned true, UUID: 3ab1010f-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - characteristic: 3ab1010f-f831-4395-b29d-570977d5bf94 Number of Descriptors: 1
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - BluetoothGattDescriptor.ENABLE_INDICATION_VALUE: 3ab1010f-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleQueue.internalEnableNotifications - call gatt.writeDescriptor() now for gattDescriptor: 00002902-0000-1000-8000-00805f9b34fb, gattCharacteristics: 3ab1010f-f831-4395-b29d-570977d5bf94
[DEBUG] : D/SDK - Debug : : ch.leica.sdk.connection.ble.BleManagerGattCallback.onNotificationEnd - gatt.writeDescriptor returned true
@AppWerft
Copy link
Author

AppWerft commented Nov 13, 2018

This log above is result of:

public void getDistance( KrollFunction callback) {
	new Thread(new Runnable() {
		@Override
		public void run() {
			try {
				final ResponsePlain response = (ResponsePlain) currentDevice.sendCommand(Types.Commands.DistanceDC);
				response.waitForData();
		              if (response.getError() != null) {
					Log.e(LCAT,response.getError().getErrorMessage());
      			} else {
					Log.i(LCAT,response.getReceivedDataString());
				}
			} catch (DeviceException e) {
				Log.e(LCAT,e.getMessage());				}
		}
	}).start();
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment