-
public class LoggerUtil
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classLoggerUtil.AttributeLogWrapper
-
Method Summary
Modifier and Type Method Description static StringbytesToHex(Array<byte> bytes)static voidlogOperationStarted(Operation operation)static voidlogOperationRunning(Operation operation)static voidlogOperationRemoved(Operation operation)static voidlogOperationQueued(Operation operation)static voidlogOperationFinished(Operation operation, long startTime, long endTime)static voidlogOperationSkippedBecauseDisposedWhenAboutToRun(Operation operation)static voidlogCallback(String callbackName, BluetoothGatt gatt, int status, BluetoothGattCharacteristic characteristic, @Nullable() Array<byte> valueBytes)static voidlogCallback(String callbackName, BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, @Nullable() Array<byte> valueBytes)static voidlogCallback(String callbackName, BluetoothGatt gatt, int status, BluetoothGattDescriptor descriptor, Array<byte> valueBytes)static voidlogCallback(String callbackName, BluetoothGatt gatt, int status)static voidlogCallback(String callbackName, BluetoothGatt gatt, int status, int value)static voidlogCallback(String callbackName, BluetoothGatt gatt, int status, int valueA, int valueB)static voidlogConnectionUpdateCallback(String callbackName, BluetoothGatt gatt, int status, int interval, int latency, int timeout)static StringcommonMacMessage(BluetoothGatt gatt)static StringcommonMacMessage(String macAddress)static LoggerUtil.AttributeLogWrapperwrap(BluetoothGattCharacteristic characteristic, @Nullable() Array<byte> characteristicValue)static LoggerUtil.AttributeLogWrapperwrap(BluetoothGattDescriptor descriptor, @Nullable() Array<byte> descriptorValue)static StringgetUuidToLog(UUID uuid)static StringgetUuidSetToLog(Set<UUID> uuidSet)-
-
Method Detail
-
bytesToHex
static String bytesToHex(Array<byte> bytes)
-
logOperationStarted
static void logOperationStarted(Operation operation)
-
logOperationRunning
static void logOperationRunning(Operation operation)
-
logOperationRemoved
static void logOperationRemoved(Operation operation)
-
logOperationQueued
static void logOperationQueued(Operation operation)
-
logOperationFinished
static void logOperationFinished(Operation operation, long startTime, long endTime)
-
logOperationSkippedBecauseDisposedWhenAboutToRun
static void logOperationSkippedBecauseDisposedWhenAboutToRun(Operation operation)
-
logCallback
static void logCallback(String callbackName, BluetoothGatt gatt, int status, BluetoothGattCharacteristic characteristic, @Nullable() Array<byte> valueBytes)
-
logCallback
static void logCallback(String callbackName, BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, @Nullable() Array<byte> valueBytes)
-
logCallback
static void logCallback(String callbackName, BluetoothGatt gatt, int status, BluetoothGattDescriptor descriptor, Array<byte> valueBytes)
-
logCallback
static void logCallback(String callbackName, BluetoothGatt gatt, int status)
-
logCallback
static void logCallback(String callbackName, BluetoothGatt gatt, int status, int value)
-
logCallback
static void logCallback(String callbackName, BluetoothGatt gatt, int status, int valueA, int valueB)
-
logConnectionUpdateCallback
static void logConnectionUpdateCallback(String callbackName, BluetoothGatt gatt, int status, int interval, int latency, int timeout)
-
commonMacMessage
static String commonMacMessage(BluetoothGatt gatt)
-
commonMacMessage
static String commonMacMessage(String macAddress)
-
wrap
static LoggerUtil.AttributeLogWrapper wrap(BluetoothGattCharacteristic characteristic, @Nullable() Array<byte> characteristicValue)
-
wrap
static LoggerUtil.AttributeLogWrapper wrap(BluetoothGattDescriptor descriptor, @Nullable() Array<byte> descriptorValue)
-
getUuidToLog
static String getUuidToLog(UUID uuid)
-
getUuidSetToLog
static String getUuidSetToLog(Set<UUID> uuidSet)
-
-
-
-