commit | 7dde9350e61acf97b98e9078972548f07e6a9400 | [log] [tgz] |
---|---|---|
author | Jakub Pawlowski <jpawlowski@google.com> | Tue Jun 14 12:45:59 2016 -0700 |
committer | Jakub Pawlowski <jpawlowski@google.com> | Tue Jun 14 12:47:34 2016 -0700 |
tree | 6268e3ee3c618aa52f1544104aea59d8dea58d3c | |
parent | 86df5ad096224060eb5275e6b7c4a1d5552210ee [diff] |
Use UINT16 for GATT attribute id field Id field is equal to attribute handle, so it must be 16bits. Otherwise only piece of GATT database can be used. Bug: 29253825 Change-Id: I75c0c993a987bf0a48e910fa3c0f41f9d876bec6
diff --git a/include/hardware/bt_common_types.h b/include/hardware/bt_common_types.h index 77c845b..01b5256 100644 --- a/include/hardware/bt_common_types.h +++ b/include/hardware/bt_common_types.h
@@ -52,7 +52,7 @@ typedef struct { - uint8_t id; + uint16_t id; bt_uuid_t uuid; bt_gatt_db_attribute_type_t type; uint16_t attribute_handle;