From 2c737695fff31c350b381550fc4710ff75163fd3 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Mon, 20 Feb 2017 12:41:57 +0100 Subject: [PATCH] events: fix events where len(format) != len(params) --- src/bluetooth.h | 3 ++- src/btstack_defines.h | 15 ++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/bluetooth.h b/src/bluetooth.h index 463a45d10..fa46442b6 100644 --- a/src/bluetooth.h +++ b/src/bluetooth.h @@ -372,7 +372,7 @@ typedef enum { #define HCI_EVENT_COMMAND_STATUS 0x0F /** - * @format 121 + * @format 1 * @param hardware_code */ #define HCI_EVENT_HARDWARE_ERROR 0x10 @@ -554,6 +554,7 @@ typedef enum { * @param connection_handle * @param conn_interval * @param conn_latency + * @param supervision_timeout */ #define HCI_SUBEVENT_LE_CONNECTION_UPDATE_COMPLETE 0x03 diff --git a/src/btstack_defines.h b/src/btstack_defines.h index 0d0fc3c83..f8a7abfd0 100644 --- a/src/btstack_defines.h +++ b/src/btstack_defines.h @@ -428,7 +428,7 @@ typedef uint8_t sm_key_t[16]; /** * @format H2 * @param handle - * @result + * @param result */ #define L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_RESPONSE 0x77 @@ -658,6 +658,7 @@ typedef uint8_t sm_key_t[16]; /** * @format H2LV + * @param handle * @param descriptor_handle * @param descriptor_length * @param descriptor @@ -782,7 +783,7 @@ typedef uint8_t sm_key_t[16]; #define SM_EVENT_PASSKEY_DISPLAY_CANCEL 0xD3 /** - * @format H1B421 + * @format H1B * @param handle * @param addr_type * @param address @@ -807,7 +808,7 @@ typedef uint8_t sm_key_t[16]; #define SM_EVENT_NUMERIC_COMPARISON_REQUEST 0xD6 /** - * @format H1B4 + * @format H1B * @param handle * @param addr_type * @param address @@ -1043,7 +1044,7 @@ typedef uint8_t sm_key_t[16]; #define HFP_SUBEVENT_AG_INDICATOR_STATUS_CHANGED 0x06 /** - * @format 1111T + * @format 111T * @param subevent_code * @param network_operator_mode * @param network_operator_format @@ -1210,7 +1211,7 @@ typedef uint8_t sm_key_t[16]; /** AVDTP Subevent */ /** - * @format 1H1 + * @format 1H11 * @param subevent_code * @param con_handle * @param signal_identifier @@ -1276,7 +1277,7 @@ typedef uint8_t sm_key_t[16]; #define AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CAPABILITY 0x07 /** - * @format 1H122 + * @format 1H12LV * @param subevent_code * @param con_handle * @param media_type @@ -1304,7 +1305,7 @@ typedef uint8_t sm_key_t[16]; #define AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION 0x09 /** - * @format 1H1122 + * @format 1H112LV * @param subevent_code * @param con_handle * @param reconfigure