From bcdaafa18415df4470ef5111eb0f57516527a2ee Mon Sep 17 00:00:00 2001 From: "matthias.ringwald@gmail.com" Date: Mon, 5 May 2014 21:50:13 +0000 Subject: [PATCH] sort fields a bit --- ble/gatt_client.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ble/gatt_client.h b/ble/gatt_client.h index 8bd827b47..cb3eb2c33 100644 --- a/ble/gatt_client.h +++ b/ble/gatt_client.h @@ -164,10 +164,10 @@ typedef struct le_service_event{ } le_service_event_t; typedef struct le_characteristic{ - uint8_t properties; uint16_t start_handle; uint16_t value_handle; uint16_t end_handle; + uint16_t properties; uint16_t uuid16; uint8_t uuid128[16]; } le_characteristic_t; @@ -178,9 +178,11 @@ typedef struct le_characteristic_event{ } le_characteristic_event_t; typedef struct le_characteristic_descriptor{ + // no properties uint16_t handle; uint16_t uuid16; uint8_t uuid128[16]; + // TODO move to le_characteristic_descriptor_event_t uint16_t value_length; uint16_t value_offset; uint8_t * value;