diff options
author | Jack He <siyuanh@google.com> | 2022-02-23 16:58:03 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2022-02-23 16:58:03 +0000 |
commit | 3a88d77b08c87cb1517fa63cbdf7f99ca10100db (patch) | |
tree | c2c8d3e52f453cfd79776457c35d2935a698b93c /system/include/hardware/bt_has.h | |
parent | 89b965d721c1b41755dc4935e576158d554714e5 (diff) | |
parent | 2e6d4b42917664491cd42bc0e13a2961ef058db4 (diff) |
Merge changes I343ff48c,I4b1ecf81 am: 2e6d4b4291
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1985329
Change-Id: Id92c7e06e2d4a4ecbbf63942a922613ce6484020
Diffstat (limited to 'system/include/hardware/bt_has.h')
-rw-r--r-- | system/include/hardware/bt_has.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/system/include/hardware/bt_has.h b/system/include/hardware/bt_has.h index 4fdd316852..739edc041f 100644 --- a/system/include/hardware/bt_has.h +++ b/system/include/hardware/bt_has.h @@ -36,9 +36,10 @@ enum class ConnectionState : uint8_t { /** Results codes for the failed preset operations */ enum class ErrorCode : uint8_t { NO_ERROR = 0, - SET_NAME_NOT_ALLOWED, - OPERATION_NOT_SUPPORTED, - OPERATION_NOT_POSSIBLE, + SET_NAME_NOT_ALLOWED, // Preset cannot be written (read only preset) + OPERATION_NOT_SUPPORTED, // If theres no optional characteristic, + // or request opcode is invalid or not supported + OPERATION_NOT_POSSIBLE, // Operation cannot be performed at this time INVALID_PRESET_NAME_LENGTH, INVALID_PRESET_INDEX, GROUP_OPERATION_NOT_SUPPORTED, |