From 568284b08fa415cfefa87358341b4d966401705d Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 1 Apr 2016 16:35:09 +0200 Subject: [PATCH] events: use upper case for event name in descriptions --- src/btstack_event.h | 600 ++++++++++++++++---------------- tool/btstack_event_generator.py | 2 +- 2 files changed, 301 insertions(+), 301 deletions(-) diff --git a/src/btstack_event.h b/src/btstack_event.h index 4a7f17c7a..95870a0a0 100644 --- a/src/btstack_event.h +++ b/src/btstack_event.h @@ -102,7 +102,7 @@ static inline uint8_t hci_event_le_meta_get_subevent_code(const uint8_t * event) return event[2]; } /** - * @brief Get field status from event hci_event_inquiry_complete + * @brief Get field status from event HCI_EVENT_INQUIRY_COMPLETE * @param event packet * @return status * @note: btstack_type 1 @@ -112,7 +112,7 @@ static inline uint8_t hci_event_inquiry_complete_get_status(const uint8_t * even } /** - * @brief Get field num_responses from event hci_event_inquiry_result + * @brief Get field num_responses from event HCI_EVENT_INQUIRY_RESULT * @param event packet * @return num_responses * @note: btstack_type 1 @@ -121,7 +121,7 @@ static inline uint8_t hci_event_inquiry_result_get_num_responses(const uint8_t * return event[2]; } /** - * @brief Get field bd_addr from event hci_event_inquiry_result + * @brief Get field bd_addr from event HCI_EVENT_INQUIRY_RESULT * @param event packet * @param Pointer to storage for bd_addr * @note: btstack_type B @@ -130,7 +130,7 @@ static inline void hci_event_inquiry_result_get_bd_addr(const uint8_t * event, b reverse_bd_addr(&event[3], bd_addr); } /** - * @brief Get field page_scan_repetition_mode from event hci_event_inquiry_result + * @brief Get field page_scan_repetition_mode from event HCI_EVENT_INQUIRY_RESULT * @param event packet * @return page_scan_repetition_mode * @note: btstack_type 1 @@ -139,7 +139,7 @@ static inline uint8_t hci_event_inquiry_result_get_page_scan_repetition_mode(con return event[9]; } /** - * @brief Get field reserved1 from event hci_event_inquiry_result + * @brief Get field reserved1 from event HCI_EVENT_INQUIRY_RESULT * @param event packet * @return reserved1 * @note: btstack_type 1 @@ -148,7 +148,7 @@ static inline uint8_t hci_event_inquiry_result_get_reserved1(const uint8_t * eve return event[10]; } /** - * @brief Get field reserved2 from event hci_event_inquiry_result + * @brief Get field reserved2 from event HCI_EVENT_INQUIRY_RESULT * @param event packet * @return reserved2 * @note: btstack_type 1 @@ -157,7 +157,7 @@ static inline uint8_t hci_event_inquiry_result_get_reserved2(const uint8_t * eve return event[11]; } /** - * @brief Get field class_of_device from event hci_event_inquiry_result + * @brief Get field class_of_device from event HCI_EVENT_INQUIRY_RESULT * @param event packet * @return class_of_device * @note: btstack_type 3 @@ -166,7 +166,7 @@ static inline uint32_t hci_event_inquiry_result_get_class_of_device(const uint8_ return little_endian_read_24(event, 12); } /** - * @brief Get field clock_offset from event hci_event_inquiry_result + * @brief Get field clock_offset from event HCI_EVENT_INQUIRY_RESULT * @param event packet * @return clock_offset * @note: btstack_type 2 @@ -176,7 +176,7 @@ static inline uint16_t hci_event_inquiry_result_get_clock_offset(const uint8_t * } /** - * @brief Get field status from event hci_event_connection_complete + * @brief Get field status from event HCI_EVENT_CONNECTION_COMPLETE * @param event packet * @return status * @note: btstack_type 1 @@ -185,7 +185,7 @@ static inline uint8_t hci_event_connection_complete_get_status(const uint8_t * e return event[2]; } /** - * @brief Get field connection_handle from event hci_event_connection_complete + * @brief Get field connection_handle from event HCI_EVENT_CONNECTION_COMPLETE * @param event packet * @return connection_handle * @note: btstack_type 2 @@ -194,7 +194,7 @@ static inline uint16_t hci_event_connection_complete_get_connection_handle(const return little_endian_read_16(event, 3); } /** - * @brief Get field bd_addr from event hci_event_connection_complete + * @brief Get field bd_addr from event HCI_EVENT_CONNECTION_COMPLETE * @param event packet * @param Pointer to storage for bd_addr * @note: btstack_type B @@ -203,7 +203,7 @@ static inline void hci_event_connection_complete_get_bd_addr(const uint8_t * eve reverse_bd_addr(&event[5], bd_addr); } /** - * @brief Get field link_type from event hci_event_connection_complete + * @brief Get field link_type from event HCI_EVENT_CONNECTION_COMPLETE * @param event packet * @return link_type * @note: btstack_type 1 @@ -212,7 +212,7 @@ static inline uint8_t hci_event_connection_complete_get_link_type(const uint8_t return event[11]; } /** - * @brief Get field encryption_enabled from event hci_event_connection_complete + * @brief Get field encryption_enabled from event HCI_EVENT_CONNECTION_COMPLETE * @param event packet * @return encryption_enabled * @note: btstack_type 1 @@ -222,7 +222,7 @@ static inline uint8_t hci_event_connection_complete_get_encryption_enabled(const } /** - * @brief Get field bd_addr from event hci_event_connection_request + * @brief Get field bd_addr from event HCI_EVENT_CONNECTION_REQUEST * @param event packet * @param Pointer to storage for bd_addr * @note: btstack_type B @@ -231,7 +231,7 @@ static inline void hci_event_connection_request_get_bd_addr(const uint8_t * even reverse_bd_addr(&event[2], bd_addr); } /** - * @brief Get field class_of_device from event hci_event_connection_request + * @brief Get field class_of_device from event HCI_EVENT_CONNECTION_REQUEST * @param event packet * @return class_of_device * @note: btstack_type 3 @@ -240,7 +240,7 @@ static inline uint32_t hci_event_connection_request_get_class_of_device(const ui return little_endian_read_24(event, 8); } /** - * @brief Get field link_type from event hci_event_connection_request + * @brief Get field link_type from event HCI_EVENT_CONNECTION_REQUEST * @param event packet * @return link_type * @note: btstack_type 1 @@ -250,7 +250,7 @@ static inline uint8_t hci_event_connection_request_get_link_type(const uint8_t * } /** - * @brief Get field status from event hci_event_disconnection_complete + * @brief Get field status from event HCI_EVENT_DISCONNECTION_COMPLETE * @param event packet * @return status * @note: btstack_type 1 @@ -259,7 +259,7 @@ static inline uint8_t hci_event_disconnection_complete_get_status(const uint8_t return event[2]; } /** - * @brief Get field connection_handle from event hci_event_disconnection_complete + * @brief Get field connection_handle from event HCI_EVENT_DISCONNECTION_COMPLETE * @param event packet * @return connection_handle * @note: btstack_type 2 @@ -268,7 +268,7 @@ static inline uint16_t hci_event_disconnection_complete_get_connection_handle(co return little_endian_read_16(event, 3); } /** - * @brief Get field reason from event hci_event_disconnection_complete + * @brief Get field reason from event HCI_EVENT_DISCONNECTION_COMPLETE * @param event packet * @return reason * @note: btstack_type 1 @@ -278,7 +278,7 @@ static inline uint8_t hci_event_disconnection_complete_get_reason(const uint8_t } /** - * @brief Get field status from event hci_event_authentication_complete_event + * @brief Get field status from event HCI_EVENT_AUTHENTICATION_COMPLETE_EVENT * @param event packet * @return status * @note: btstack_type 1 @@ -287,7 +287,7 @@ static inline uint8_t hci_event_authentication_complete_event_get_status(const u return event[2]; } /** - * @brief Get field connection_handle from event hci_event_authentication_complete_event + * @brief Get field connection_handle from event HCI_EVENT_AUTHENTICATION_COMPLETE_EVENT * @param event packet * @return connection_handle * @note: btstack_type 2 @@ -297,7 +297,7 @@ static inline uint16_t hci_event_authentication_complete_event_get_connection_ha } /** - * @brief Get field status from event hci_event_remote_name_request_complete + * @brief Get field status from event HCI_EVENT_REMOTE_NAME_REQUEST_COMPLETE * @param event packet * @return status * @note: btstack_type 1 @@ -306,7 +306,7 @@ static inline uint16_t hci_event_authentication_complete_event_get_connection_ha // not implemented yet // } /** - * @brief Get field bd_addr from event hci_event_remote_name_request_complete + * @brief Get field bd_addr from event HCI_EVENT_REMOTE_NAME_REQUEST_COMPLETE * @param event packet * @return bd_addr * @note: btstack_type B @@ -315,7 +315,7 @@ static inline uint16_t hci_event_authentication_complete_event_get_connection_ha // not implemented yet // } /** - * @brief Get field remote_name from event hci_event_remote_name_request_complete + * @brief Get field remote_name from event HCI_EVENT_REMOTE_NAME_REQUEST_COMPLETE * @param event packet * @return remote_name * @note: btstack_type N @@ -325,7 +325,7 @@ static inline uint16_t hci_event_authentication_complete_event_get_connection_ha // } /** - * @brief Get field status from event hci_event_encryption_change + * @brief Get field status from event HCI_EVENT_ENCRYPTION_CHANGE * @param event packet * @return status * @note: btstack_type 1 @@ -334,7 +334,7 @@ static inline uint8_t hci_event_encryption_change_get_status(const uint8_t * eve return event[2]; } /** - * @brief Get field connection_handle from event hci_event_encryption_change + * @brief Get field connection_handle from event HCI_EVENT_ENCRYPTION_CHANGE * @param event packet * @return connection_handle * @note: btstack_type 2 @@ -343,7 +343,7 @@ static inline uint16_t hci_event_encryption_change_get_connection_handle(const u return little_endian_read_16(event, 3); } /** - * @brief Get field encryption_enabled from event hci_event_encryption_change + * @brief Get field encryption_enabled from event HCI_EVENT_ENCRYPTION_CHANGE * @param event packet * @return encryption_enabled * @note: btstack_type 1 @@ -353,7 +353,7 @@ static inline uint8_t hci_event_encryption_change_get_encryption_enabled(const u } /** - * @brief Get field status from event hci_event_change_connection_link_key_complete + * @brief Get field status from event HCI_EVENT_CHANGE_CONNECTION_LINK_KEY_COMPLETE * @param event packet * @return status * @note: btstack_type 1 @@ -362,7 +362,7 @@ static inline uint8_t hci_event_change_connection_link_key_complete_get_status(c return event[2]; } /** - * @brief Get field connection_handle from event hci_event_change_connection_link_key_complete + * @brief Get field connection_handle from event HCI_EVENT_CHANGE_CONNECTION_LINK_KEY_COMPLETE * @param event packet * @return connection_handle * @note: btstack_type 2 @@ -372,7 +372,7 @@ static inline uint16_t hci_event_change_connection_link_key_complete_get_connect } /** - * @brief Get field status from event hci_event_master_link_key_complete + * @brief Get field status from event HCI_EVENT_MASTER_LINK_KEY_COMPLETE * @param event packet * @return status * @note: btstack_type 1 @@ -381,7 +381,7 @@ static inline uint8_t hci_event_master_link_key_complete_get_status(const uint8_ return event[2]; } /** - * @brief Get field connection_handle from event hci_event_master_link_key_complete + * @brief Get field connection_handle from event HCI_EVENT_MASTER_LINK_KEY_COMPLETE * @param event packet * @return connection_handle * @note: btstack_type 2 @@ -390,7 +390,7 @@ static inline uint16_t hci_event_master_link_key_complete_get_connection_handle( return little_endian_read_16(event, 3); } /** - * @brief Get field key_flag from event hci_event_master_link_key_complete + * @brief Get field key_flag from event HCI_EVENT_MASTER_LINK_KEY_COMPLETE * @param event packet * @return key_flag * @note: btstack_type 1 @@ -400,7 +400,7 @@ static inline uint8_t hci_event_master_link_key_complete_get_key_flag(const uint } /** - * @brief Get field num_hci_command_packets from event hci_event_command_complete + * @brief Get field num_hci_command_packets from event HCI_EVENT_COMMAND_COMPLETE * @param event packet * @return num_hci_command_packets * @note: btstack_type 1 @@ -409,7 +409,7 @@ static inline uint8_t hci_event_command_complete_get_num_hci_command_packets(con return event[2]; } /** - * @brief Get field command_opcode from event hci_event_command_complete + * @brief Get field command_opcode from event HCI_EVENT_COMMAND_COMPLETE * @param event packet * @return command_opcode * @note: btstack_type 2 @@ -418,7 +418,7 @@ static inline uint16_t hci_event_command_complete_get_command_opcode(const uint8 return little_endian_read_16(event, 3); } /** - * @brief Get field return_parameters from event hci_event_command_complete + * @brief Get field return_parameters from event HCI_EVENT_COMMAND_COMPLETE * @param event packet * @return return_parameters * @note: btstack_type R @@ -428,7 +428,7 @@ static inline const uint8_t * hci_event_command_complete_get_return_parameters(c } /** - * @brief Get field status from event hci_event_command_status + * @brief Get field status from event HCI_EVENT_COMMAND_STATUS * @param event packet * @return status * @note: btstack_type 1 @@ -437,7 +437,7 @@ static inline uint8_t hci_event_command_status_get_status(const uint8_t * event) return event[2]; } /** - * @brief Get field num_hci_command_packets from event hci_event_command_status + * @brief Get field num_hci_command_packets from event HCI_EVENT_COMMAND_STATUS * @param event packet * @return num_hci_command_packets * @note: btstack_type 1 @@ -446,7 +446,7 @@ static inline uint8_t hci_event_command_status_get_num_hci_command_packets(const return event[3]; } /** - * @brief Get field command_opcode from event hci_event_command_status + * @brief Get field command_opcode from event HCI_EVENT_COMMAND_STATUS * @param event packet * @return command_opcode * @note: btstack_type 2 @@ -456,7 +456,7 @@ static inline uint16_t hci_event_command_status_get_command_opcode(const uint8_t } /** - * @brief Get field hardware_code from event hci_event_hardware_error + * @brief Get field hardware_code from event HCI_EVENT_HARDWARE_ERROR * @param event packet * @return hardware_code * @note: btstack_type 1 @@ -466,7 +466,7 @@ static inline uint8_t hci_event_hardware_error_get_hardware_code(const uint8_t * } /** - * @brief Get field status from event hci_event_role_change + * @brief Get field status from event HCI_EVENT_ROLE_CHANGE * @param event packet * @return status * @note: btstack_type 1 @@ -475,7 +475,7 @@ static inline uint8_t hci_event_role_change_get_status(const uint8_t * event){ return event[2]; } /** - * @brief Get field bd_addr from event hci_event_role_change + * @brief Get field bd_addr from event HCI_EVENT_ROLE_CHANGE * @param event packet * @param Pointer to storage for bd_addr * @note: btstack_type B @@ -484,7 +484,7 @@ static inline void hci_event_role_change_get_bd_addr(const uint8_t * event, bd_a reverse_bd_addr(&event[3], bd_addr); } /** - * @brief Get field role from event hci_event_role_change + * @brief Get field role from event HCI_EVENT_ROLE_CHANGE * @param event packet * @return role * @note: btstack_type 1 @@ -494,7 +494,7 @@ static inline uint8_t hci_event_role_change_get_role(const uint8_t * event){ } /** - * @brief Get field status from event hci_event_mode_change_event + * @brief Get field status from event HCI_EVENT_MODE_CHANGE_EVENT * @param event packet * @return status * @note: btstack_type 1 @@ -503,7 +503,7 @@ static inline uint8_t hci_event_mode_change_event_get_status(const uint8_t * eve return event[2]; } /** - * @brief Get field handle from event hci_event_mode_change_event + * @brief Get field handle from event HCI_EVENT_MODE_CHANGE_EVENT * @param event packet * @return handle * @note: btstack_type H @@ -512,7 +512,7 @@ static inline hci_con_handle_t hci_event_mode_change_event_get_handle(const uint return little_endian_read_16(event, 3); } /** - * @brief Get field mode from event hci_event_mode_change_event + * @brief Get field mode from event HCI_EVENT_MODE_CHANGE_EVENT * @param event packet * @return mode * @note: btstack_type 1 @@ -521,7 +521,7 @@ static inline uint8_t hci_event_mode_change_event_get_mode(const uint8_t * event return event[5]; } /** - * @brief Get field interval from event hci_event_mode_change_event + * @brief Get field interval from event HCI_EVENT_MODE_CHANGE_EVENT * @param event packet * @return interval * @note: btstack_type 2 @@ -531,7 +531,7 @@ static inline uint16_t hci_event_mode_change_event_get_interval(const uint8_t * } /** - * @brief Get field bd_addr from event hci_event_pin_code_request + * @brief Get field bd_addr from event HCI_EVENT_PIN_CODE_REQUEST * @param event packet * @param Pointer to storage for bd_addr * @note: btstack_type B @@ -541,7 +541,7 @@ static inline void hci_event_pin_code_request_get_bd_addr(const uint8_t * event, } /** - * @brief Get field bd_addr from event hci_event_link_key_request + * @brief Get field bd_addr from event HCI_EVENT_LINK_KEY_REQUEST * @param event packet * @param Pointer to storage for bd_addr * @note: btstack_type B @@ -551,7 +551,7 @@ static inline void hci_event_link_key_request_get_bd_addr(const uint8_t * event, } /** - * @brief Get field link_type from event hci_event_data_buffer_overflow + * @brief Get field link_type from event HCI_EVENT_DATA_BUFFER_OVERFLOW * @param event packet * @return link_type * @note: btstack_type 1 @@ -561,7 +561,7 @@ static inline uint8_t hci_event_data_buffer_overflow_get_link_type(const uint8_t } /** - * @brief Get field handle from event hci_event_max_slots_changed + * @brief Get field handle from event HCI_EVENT_MAX_SLOTS_CHANGED * @param event packet * @return handle * @note: btstack_type H @@ -570,7 +570,7 @@ static inline hci_con_handle_t hci_event_max_slots_changed_get_handle(const uint return little_endian_read_16(event, 2); } /** - * @brief Get field lmp_max_slots from event hci_event_max_slots_changed + * @brief Get field lmp_max_slots from event HCI_EVENT_MAX_SLOTS_CHANGED * @param event packet * @return lmp_max_slots * @note: btstack_type 1 @@ -580,7 +580,7 @@ static inline uint8_t hci_event_max_slots_changed_get_lmp_max_slots(const uint8_ } /** - * @brief Get field status from event hci_event_read_clock_offset_complete + * @brief Get field status from event HCI_EVENT_READ_CLOCK_OFFSET_COMPLETE * @param event packet * @return status * @note: btstack_type 1 @@ -589,7 +589,7 @@ static inline uint8_t hci_event_read_clock_offset_complete_get_status(const uint return event[2]; } /** - * @brief Get field handle from event hci_event_read_clock_offset_complete + * @brief Get field handle from event HCI_EVENT_READ_CLOCK_OFFSET_COMPLETE * @param event packet * @return handle * @note: btstack_type H @@ -598,7 +598,7 @@ static inline hci_con_handle_t hci_event_read_clock_offset_complete_get_handle(c return little_endian_read_16(event, 3); } /** - * @brief Get field clock_offset from event hci_event_read_clock_offset_complete + * @brief Get field clock_offset from event HCI_EVENT_READ_CLOCK_OFFSET_COMPLETE * @param event packet * @return clock_offset * @note: btstack_type 2 @@ -608,7 +608,7 @@ static inline uint16_t hci_event_read_clock_offset_complete_get_clock_offset(con } /** - * @brief Get field status from event hci_event_connection_packet_type_changed + * @brief Get field status from event HCI_EVENT_CONNECTION_PACKET_TYPE_CHANGED * @param event packet * @return status * @note: btstack_type 1 @@ -617,7 +617,7 @@ static inline uint8_t hci_event_connection_packet_type_changed_get_status(const return event[2]; } /** - * @brief Get field handle from event hci_event_connection_packet_type_changed + * @brief Get field handle from event HCI_EVENT_CONNECTION_PACKET_TYPE_CHANGED * @param event packet * @return handle * @note: btstack_type H @@ -626,7 +626,7 @@ static inline hci_con_handle_t hci_event_connection_packet_type_changed_get_hand return little_endian_read_16(event, 3); } /** - * @brief Get field packet_types from event hci_event_connection_packet_type_changed + * @brief Get field packet_types from event HCI_EVENT_CONNECTION_PACKET_TYPE_CHANGED * @param event packet * @return packet_types * @note: btstack_type 2 @@ -636,7 +636,7 @@ static inline uint16_t hci_event_connection_packet_type_changed_get_packet_types } /** - * @brief Get field num_responses from event hci_event_inquiry_result_with_rssi + * @brief Get field num_responses from event HCI_EVENT_INQUIRY_RESULT_WITH_RSSI * @param event packet * @return num_responses * @note: btstack_type 1 @@ -645,7 +645,7 @@ static inline uint8_t hci_event_inquiry_result_with_rssi_get_num_responses(const return event[2]; } /** - * @brief Get field bd_addr from event hci_event_inquiry_result_with_rssi + * @brief Get field bd_addr from event HCI_EVENT_INQUIRY_RESULT_WITH_RSSI * @param event packet * @param Pointer to storage for bd_addr * @note: btstack_type B @@ -654,7 +654,7 @@ static inline void hci_event_inquiry_result_with_rssi_get_bd_addr(const uint8_t reverse_bd_addr(&event[3], bd_addr); } /** - * @brief Get field page_scan_repetition_mode from event hci_event_inquiry_result_with_rssi + * @brief Get field page_scan_repetition_mode from event HCI_EVENT_INQUIRY_RESULT_WITH_RSSI * @param event packet * @return page_scan_repetition_mode * @note: btstack_type 1 @@ -663,7 +663,7 @@ static inline uint8_t hci_event_inquiry_result_with_rssi_get_page_scan_repetitio return event[9]; } /** - * @brief Get field reserved from event hci_event_inquiry_result_with_rssi + * @brief Get field reserved from event HCI_EVENT_INQUIRY_RESULT_WITH_RSSI * @param event packet * @return reserved * @note: btstack_type 1 @@ -672,7 +672,7 @@ static inline uint8_t hci_event_inquiry_result_with_rssi_get_reserved(const uint return event[10]; } /** - * @brief Get field class_of_device from event hci_event_inquiry_result_with_rssi + * @brief Get field class_of_device from event HCI_EVENT_INQUIRY_RESULT_WITH_RSSI * @param event packet * @return class_of_device * @note: btstack_type 3 @@ -681,7 +681,7 @@ static inline uint32_t hci_event_inquiry_result_with_rssi_get_class_of_device(co return little_endian_read_24(event, 11); } /** - * @brief Get field clock_offset from event hci_event_inquiry_result_with_rssi + * @brief Get field clock_offset from event HCI_EVENT_INQUIRY_RESULT_WITH_RSSI * @param event packet * @return clock_offset * @note: btstack_type 2 @@ -690,7 +690,7 @@ static inline uint16_t hci_event_inquiry_result_with_rssi_get_clock_offset(const return little_endian_read_16(event, 14); } /** - * @brief Get field rssi from event hci_event_inquiry_result_with_rssi + * @brief Get field rssi from event HCI_EVENT_INQUIRY_RESULT_WITH_RSSI * @param event packet * @return rssi * @note: btstack_type 1 @@ -700,7 +700,7 @@ static inline uint8_t hci_event_inquiry_result_with_rssi_get_rssi(const uint8_t } /** - * @brief Get field status from event hci_event_synchronous_connection_complete + * @brief Get field status from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE * @param event packet * @return status * @note: btstack_type 1 @@ -709,7 +709,7 @@ static inline uint8_t hci_event_synchronous_connection_complete_get_status(const return event[2]; } /** - * @brief Get field handle from event hci_event_synchronous_connection_complete + * @brief Get field handle from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE * @param event packet * @return handle * @note: btstack_type H @@ -718,7 +718,7 @@ static inline hci_con_handle_t hci_event_synchronous_connection_complete_get_han return little_endian_read_16(event, 3); } /** - * @brief Get field bd_addr from event hci_event_synchronous_connection_complete + * @brief Get field bd_addr from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE * @param event packet * @param Pointer to storage for bd_addr * @note: btstack_type B @@ -727,7 +727,7 @@ static inline void hci_event_synchronous_connection_complete_get_bd_addr(const u reverse_bd_addr(&event[5], bd_addr); } /** - * @brief Get field link_type from event hci_event_synchronous_connection_complete + * @brief Get field link_type from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE * @param event packet * @return link_type * @note: btstack_type 1 @@ -736,7 +736,7 @@ static inline uint8_t hci_event_synchronous_connection_complete_get_link_type(co return event[11]; } /** - * @brief Get field transmission_interval from event hci_event_synchronous_connection_complete + * @brief Get field transmission_interval from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE * @param event packet * @return transmission_interval * @note: btstack_type 1 @@ -745,7 +745,7 @@ static inline uint8_t hci_event_synchronous_connection_complete_get_transmission return event[12]; } /** - * @brief Get field retransmission_interval from event hci_event_synchronous_connection_complete + * @brief Get field retransmission_interval from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE * @param event packet * @return retransmission_interval * @note: btstack_type 1 @@ -754,7 +754,7 @@ static inline uint8_t hci_event_synchronous_connection_complete_get_retransmissi return event[13]; } /** - * @brief Get field rx_packet_length from event hci_event_synchronous_connection_complete + * @brief Get field rx_packet_length from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE * @param event packet * @return rx_packet_length * @note: btstack_type 2 @@ -763,7 +763,7 @@ static inline uint16_t hci_event_synchronous_connection_complete_get_rx_packet_l return little_endian_read_16(event, 14); } /** - * @brief Get field tx_packet_length from event hci_event_synchronous_connection_complete + * @brief Get field tx_packet_length from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE * @param event packet * @return tx_packet_length * @note: btstack_type 2 @@ -772,7 +772,7 @@ static inline uint16_t hci_event_synchronous_connection_complete_get_tx_packet_l return little_endian_read_16(event, 16); } /** - * @brief Get field air_mode from event hci_event_synchronous_connection_complete + * @brief Get field air_mode from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE * @param event packet * @return air_mode * @note: btstack_type 1 @@ -782,7 +782,7 @@ static inline uint8_t hci_event_synchronous_connection_complete_get_air_mode(con } /** - * @brief Get field num_responses from event hci_event_extended_inquiry_response + * @brief Get field num_responses from event HCI_EVENT_EXTENDED_INQUIRY_RESPONSE * @param event packet * @return num_responses * @note: btstack_type 1 @@ -791,7 +791,7 @@ static inline uint8_t hci_event_extended_inquiry_response_get_num_responses(cons return event[2]; } /** - * @brief Get field bd_addr from event hci_event_extended_inquiry_response + * @brief Get field bd_addr from event HCI_EVENT_EXTENDED_INQUIRY_RESPONSE * @param event packet * @param Pointer to storage for bd_addr * @note: btstack_type B @@ -800,7 +800,7 @@ static inline void hci_event_extended_inquiry_response_get_bd_addr(const uint8_t reverse_bd_addr(&event[3], bd_addr); } /** - * @brief Get field page_scan_repetition_mode from event hci_event_extended_inquiry_response + * @brief Get field page_scan_repetition_mode from event HCI_EVENT_EXTENDED_INQUIRY_RESPONSE * @param event packet * @return page_scan_repetition_mode * @note: btstack_type 1 @@ -809,7 +809,7 @@ static inline uint8_t hci_event_extended_inquiry_response_get_page_scan_repetiti return event[9]; } /** - * @brief Get field reserved from event hci_event_extended_inquiry_response + * @brief Get field reserved from event HCI_EVENT_EXTENDED_INQUIRY_RESPONSE * @param event packet * @return reserved * @note: btstack_type 1 @@ -818,7 +818,7 @@ static inline uint8_t hci_event_extended_inquiry_response_get_reserved(const uin return event[10]; } /** - * @brief Get field class_of_device from event hci_event_extended_inquiry_response + * @brief Get field class_of_device from event HCI_EVENT_EXTENDED_INQUIRY_RESPONSE * @param event packet * @return class_of_device * @note: btstack_type 3 @@ -827,7 +827,7 @@ static inline uint32_t hci_event_extended_inquiry_response_get_class_of_device(c return little_endian_read_24(event, 11); } /** - * @brief Get field clock_offset from event hci_event_extended_inquiry_response + * @brief Get field clock_offset from event HCI_EVENT_EXTENDED_INQUIRY_RESPONSE * @param event packet * @return clock_offset * @note: btstack_type 2 @@ -836,7 +836,7 @@ static inline uint16_t hci_event_extended_inquiry_response_get_clock_offset(cons return little_endian_read_16(event, 14); } /** - * @brief Get field rssi from event hci_event_extended_inquiry_response + * @brief Get field rssi from event HCI_EVENT_EXTENDED_INQUIRY_RESPONSE * @param event packet * @return rssi * @note: btstack_type 1 @@ -846,7 +846,7 @@ static inline uint8_t hci_event_extended_inquiry_response_get_rssi(const uint8_t } /** - * @brief Get field status from event hci_event_encryption_key_refresh_complete + * @brief Get field status from event HCI_EVENT_ENCRYPTION_KEY_REFRESH_COMPLETE * @param event packet * @return status * @note: btstack_type 1 @@ -855,7 +855,7 @@ static inline uint8_t hci_event_encryption_key_refresh_complete_get_status(const return event[2]; } /** - * @brief Get field handle from event hci_event_encryption_key_refresh_complete + * @brief Get field handle from event HCI_EVENT_ENCRYPTION_KEY_REFRESH_COMPLETE * @param event packet * @return handle * @note: btstack_type H @@ -865,7 +865,7 @@ static inline hci_con_handle_t hci_event_encryption_key_refresh_complete_get_han } /** - * @brief Get field state from event btstack_event_state + * @brief Get field state from event BTSTACK_EVENT_STATE * @param event packet * @return state * @note: btstack_type 1 @@ -876,7 +876,7 @@ static inline uint8_t btstack_event_state_get_state(const uint8_t * event){ /** - * @brief Get field discoverable from event btstack_event_discoverable_enabled + * @brief Get field discoverable from event BTSTACK_EVENT_DISCOVERABLE_ENABLED * @param event packet * @return discoverable * @note: btstack_type 1 @@ -886,7 +886,7 @@ static inline uint8_t btstack_event_discoverable_enabled_get_discoverable(const } /** - * @brief Get field handle from event hci_event_sco_can_send_now + * @brief Get field handle from event HCI_EVENT_SCO_CAN_SEND_NOW * @param event packet * @param Pointer to storage for handle * @note: btstack_type B @@ -896,7 +896,7 @@ static inline void hci_event_sco_can_send_now_get_handle(const uint8_t * event, } /** - * @brief Get field status from event l2cap_event_channel_opened + * @brief Get field status from event L2CAP_EVENT_CHANNEL_OPENED * @param event packet * @return status * @note: btstack_type 1 @@ -905,7 +905,7 @@ static inline uint8_t l2cap_event_channel_opened_get_status(const uint8_t * even return event[2]; } /** - * @brief Get field address from event l2cap_event_channel_opened + * @brief Get field address from event L2CAP_EVENT_CHANNEL_OPENED * @param event packet * @param Pointer to storage for address * @note: btstack_type B @@ -914,7 +914,7 @@ static inline void l2cap_event_channel_opened_get_address(const uint8_t * event, reverse_bd_addr(&event[3], address); } /** - * @brief Get field handle from event l2cap_event_channel_opened + * @brief Get field handle from event L2CAP_EVENT_CHANNEL_OPENED * @param event packet * @return handle * @note: btstack_type H @@ -923,7 +923,7 @@ static inline hci_con_handle_t l2cap_event_channel_opened_get_handle(const uint8 return little_endian_read_16(event, 9); } /** - * @brief Get field psm from event l2cap_event_channel_opened + * @brief Get field psm from event L2CAP_EVENT_CHANNEL_OPENED * @param event packet * @return psm * @note: btstack_type 2 @@ -932,7 +932,7 @@ static inline uint16_t l2cap_event_channel_opened_get_psm(const uint8_t * event) return little_endian_read_16(event, 11); } /** - * @brief Get field local_cid from event l2cap_event_channel_opened + * @brief Get field local_cid from event L2CAP_EVENT_CHANNEL_OPENED * @param event packet * @return local_cid * @note: btstack_type 2 @@ -941,7 +941,7 @@ static inline uint16_t l2cap_event_channel_opened_get_local_cid(const uint8_t * return little_endian_read_16(event, 13); } /** - * @brief Get field remote_cid from event l2cap_event_channel_opened + * @brief Get field remote_cid from event L2CAP_EVENT_CHANNEL_OPENED * @param event packet * @return remote_cid * @note: btstack_type 2 @@ -950,7 +950,7 @@ static inline uint16_t l2cap_event_channel_opened_get_remote_cid(const uint8_t * return little_endian_read_16(event, 15); } /** - * @brief Get field local_mtu from event l2cap_event_channel_opened + * @brief Get field local_mtu from event L2CAP_EVENT_CHANNEL_OPENED * @param event packet * @return local_mtu * @note: btstack_type 2 @@ -959,7 +959,7 @@ static inline uint16_t l2cap_event_channel_opened_get_local_mtu(const uint8_t * return little_endian_read_16(event, 17); } /** - * @brief Get field remote_mtu from event l2cap_event_channel_opened + * @brief Get field remote_mtu from event L2CAP_EVENT_CHANNEL_OPENED * @param event packet * @return remote_mtu * @note: btstack_type 2 @@ -968,7 +968,7 @@ static inline uint16_t l2cap_event_channel_opened_get_remote_mtu(const uint8_t * return little_endian_read_16(event, 19); } /** - * @brief Get field flush_timeout from event l2cap_event_channel_opened + * @brief Get field flush_timeout from event L2CAP_EVENT_CHANNEL_OPENED * @param event packet * @return flush_timeout * @note: btstack_type 2 @@ -978,7 +978,7 @@ static inline uint16_t l2cap_event_channel_opened_get_flush_timeout(const uint8_ } /** - * @brief Get field local_cid from event l2cap_event_channel_closed + * @brief Get field local_cid from event L2CAP_EVENT_CHANNEL_CLOSED * @param event packet * @return local_cid * @note: btstack_type 2 @@ -988,7 +988,7 @@ static inline uint16_t l2cap_event_channel_closed_get_local_cid(const uint8_t * } /** - * @brief Get field status from event l2cap_event_incoming_connection + * @brief Get field status from event L2CAP_EVENT_INCOMING_CONNECTION * @param event packet * @return status * @note: btstack_type 1 @@ -997,7 +997,7 @@ static inline uint8_t l2cap_event_incoming_connection_get_status(const uint8_t * return event[2]; } /** - * @brief Get field address from event l2cap_event_incoming_connection + * @brief Get field address from event L2CAP_EVENT_INCOMING_CONNECTION * @param event packet * @param Pointer to storage for address * @note: btstack_type B @@ -1006,7 +1006,7 @@ static inline void l2cap_event_incoming_connection_get_address(const uint8_t * e reverse_bd_addr(&event[3], address); } /** - * @brief Get field handle from event l2cap_event_incoming_connection + * @brief Get field handle from event L2CAP_EVENT_INCOMING_CONNECTION * @param event packet * @return handle * @note: btstack_type H @@ -1015,7 +1015,7 @@ static inline hci_con_handle_t l2cap_event_incoming_connection_get_handle(const return little_endian_read_16(event, 9); } /** - * @brief Get field psm from event l2cap_event_incoming_connection + * @brief Get field psm from event L2CAP_EVENT_INCOMING_CONNECTION * @param event packet * @return psm * @note: btstack_type 2 @@ -1024,7 +1024,7 @@ static inline uint16_t l2cap_event_incoming_connection_get_psm(const uint8_t * e return little_endian_read_16(event, 11); } /** - * @brief Get field local_cid from event l2cap_event_incoming_connection + * @brief Get field local_cid from event L2CAP_EVENT_INCOMING_CONNECTION * @param event packet * @return local_cid * @note: btstack_type 2 @@ -1033,7 +1033,7 @@ static inline uint16_t l2cap_event_incoming_connection_get_local_cid(const uint8 return little_endian_read_16(event, 13); } /** - * @brief Get field remote_cid from event l2cap_event_incoming_connection + * @brief Get field remote_cid from event L2CAP_EVENT_INCOMING_CONNECTION * @param event packet * @return remote_cid * @note: btstack_type 2 @@ -1043,7 +1043,7 @@ static inline uint16_t l2cap_event_incoming_connection_get_remote_cid(const uint } /** - * @brief Get field handle from event l2cap_event_connection_parameter_update_request + * @brief Get field handle from event L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_REQUEST * @param event packet * @return handle * @note: btstack_type H @@ -1052,7 +1052,7 @@ static inline hci_con_handle_t l2cap_event_connection_parameter_update_request_g return little_endian_read_16(event, 2); } /** - * @brief Get field interval_min from event l2cap_event_connection_parameter_update_request + * @brief Get field interval_min from event L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_REQUEST * @param event packet * @return interval_min * @note: btstack_type 2 @@ -1061,7 +1061,7 @@ static inline uint16_t l2cap_event_connection_parameter_update_request_get_inter return little_endian_read_16(event, 4); } /** - * @brief Get field interval_max from event l2cap_event_connection_parameter_update_request + * @brief Get field interval_max from event L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_REQUEST * @param event packet * @return interval_max * @note: btstack_type 2 @@ -1070,7 +1070,7 @@ static inline uint16_t l2cap_event_connection_parameter_update_request_get_inter return little_endian_read_16(event, 6); } /** - * @brief Get field latencey from event l2cap_event_connection_parameter_update_request + * @brief Get field latencey from event L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_REQUEST * @param event packet * @return latencey * @note: btstack_type 2 @@ -1079,7 +1079,7 @@ static inline uint16_t l2cap_event_connection_parameter_update_request_get_laten return little_endian_read_16(event, 8); } /** - * @brief Get field timeout_multiplier from event l2cap_event_connection_parameter_update_request + * @brief Get field timeout_multiplier from event L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_REQUEST * @param event packet * @return timeout_multiplier * @note: btstack_type 2 @@ -1089,7 +1089,7 @@ static inline uint16_t l2cap_event_connection_parameter_update_request_get_timeo } /** - * @brief Get field handle from event l2cap_event_connection_parameter_update_response + * @brief Get field handle from event L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_RESPONSE * @param event packet * @return handle * @note: btstack_type H @@ -1099,7 +1099,7 @@ static inline hci_con_handle_t l2cap_event_connection_parameter_update_response_ } /** - * @brief Get field local_cid from event l2cap_event_can_send_now + * @brief Get field local_cid from event L2CAP_EVENT_CAN_SEND_NOW * @param event packet * @return local_cid * @note: btstack_type 2 @@ -1109,7 +1109,7 @@ static inline uint16_t l2cap_event_can_send_now_get_local_cid(const uint8_t * ev } /** - * @brief Get field status from event rfcomm_event_channel_opened + * @brief Get field status from event RFCOMM_EVENT_CHANNEL_OPENED * @param event packet * @return status * @note: btstack_type 1 @@ -1118,7 +1118,7 @@ static inline uint8_t rfcomm_event_channel_opened_get_status(const uint8_t * eve return event[2]; } /** - * @brief Get field bd_addr from event rfcomm_event_channel_opened + * @brief Get field bd_addr from event RFCOMM_EVENT_CHANNEL_OPENED * @param event packet * @param Pointer to storage for bd_addr * @note: btstack_type B @@ -1127,7 +1127,7 @@ static inline void rfcomm_event_channel_opened_get_bd_addr(const uint8_t * event reverse_bd_addr(&event[3], bd_addr); } /** - * @brief Get field con_handle from event rfcomm_event_channel_opened + * @brief Get field con_handle from event RFCOMM_EVENT_CHANNEL_OPENED * @param event packet * @return con_handle * @note: btstack_type 2 @@ -1136,7 +1136,7 @@ static inline uint16_t rfcomm_event_channel_opened_get_con_handle(const uint8_t return little_endian_read_16(event, 9); } /** - * @brief Get field server_channel from event rfcomm_event_channel_opened + * @brief Get field server_channel from event RFCOMM_EVENT_CHANNEL_OPENED * @param event packet * @return server_channel * @note: btstack_type 1 @@ -1145,7 +1145,7 @@ static inline uint8_t rfcomm_event_channel_opened_get_server_channel(const uint8 return event[11]; } /** - * @brief Get field rfcomm_cid from event rfcomm_event_channel_opened + * @brief Get field rfcomm_cid from event RFCOMM_EVENT_CHANNEL_OPENED * @param event packet * @return rfcomm_cid * @note: btstack_type 2 @@ -1154,7 +1154,7 @@ static inline uint16_t rfcomm_event_channel_opened_get_rfcomm_cid(const uint8_t return little_endian_read_16(event, 12); } /** - * @brief Get field max_frame_size from event rfcomm_event_channel_opened + * @brief Get field max_frame_size from event RFCOMM_EVENT_CHANNEL_OPENED * @param event packet * @return max_frame_size * @note: btstack_type 2 @@ -1164,7 +1164,7 @@ static inline uint16_t rfcomm_event_channel_opened_get_max_frame_size(const uint } /** - * @brief Get field rfcomm_cid from event rfcomm_event_channel_closed + * @brief Get field rfcomm_cid from event RFCOMM_EVENT_CHANNEL_CLOSED * @param event packet * @return rfcomm_cid * @note: btstack_type 2 @@ -1174,7 +1174,7 @@ static inline uint16_t rfcomm_event_channel_closed_get_rfcomm_cid(const uint8_t } /** - * @brief Get field bd_addr from event rfcomm_event_incoming_connection + * @brief Get field bd_addr from event RFCOMM_EVENT_INCOMING_CONNECTION * @param event packet * @param Pointer to storage for bd_addr * @note: btstack_type B @@ -1183,7 +1183,7 @@ static inline void rfcomm_event_incoming_connection_get_bd_addr(const uint8_t * reverse_bd_addr(&event[2], bd_addr); } /** - * @brief Get field server_channel from event rfcomm_event_incoming_connection + * @brief Get field server_channel from event RFCOMM_EVENT_INCOMING_CONNECTION * @param event packet * @return server_channel * @note: btstack_type 1 @@ -1192,7 +1192,7 @@ static inline uint8_t rfcomm_event_incoming_connection_get_server_channel(const return event[8]; } /** - * @brief Get field rfcomm_cid from event rfcomm_event_incoming_connection + * @brief Get field rfcomm_cid from event RFCOMM_EVENT_INCOMING_CONNECTION * @param event packet * @return rfcomm_cid * @note: btstack_type 2 @@ -1202,7 +1202,7 @@ static inline uint16_t rfcomm_event_incoming_connection_get_rfcomm_cid(const uin } /** - * @brief Get field rfcomm_cid from event rfcomm_event_remote_line_status + * @brief Get field rfcomm_cid from event RFCOMM_EVENT_REMOTE_LINE_STATUS * @param event packet * @return rfcomm_cid * @note: btstack_type 2 @@ -1211,7 +1211,7 @@ static inline uint16_t rfcomm_event_remote_line_status_get_rfcomm_cid(const uint return little_endian_read_16(event, 2); } /** - * @brief Get field line_status from event rfcomm_event_remote_line_status + * @brief Get field line_status from event RFCOMM_EVENT_REMOTE_LINE_STATUS * @param event packet * @return line_status * @note: btstack_type 1 @@ -1221,7 +1221,7 @@ static inline uint8_t rfcomm_event_remote_line_status_get_line_status(const uint } /** - * @brief Get field rfcomm_cid from event rfcomm_event_remote_modem_status + * @brief Get field rfcomm_cid from event RFCOMM_EVENT_REMOTE_MODEM_STATUS * @param event packet * @return rfcomm_cid * @note: btstack_type 2 @@ -1230,7 +1230,7 @@ static inline uint16_t rfcomm_event_remote_modem_status_get_rfcomm_cid(const uin return little_endian_read_16(event, 2); } /** - * @brief Get field modem_status from event rfcomm_event_remote_modem_status + * @brief Get field modem_status from event RFCOMM_EVENT_REMOTE_MODEM_STATUS * @param event packet * @return modem_status * @note: btstack_type 1 @@ -1240,7 +1240,7 @@ static inline uint8_t rfcomm_event_remote_modem_status_get_modem_status(const ui } /** - * @brief Get field rfcomm_cid from event rfcomm_event_can_send_now + * @brief Get field rfcomm_cid from event RFCOMM_EVENT_CAN_SEND_NOW * @param event packet * @return rfcomm_cid * @note: btstack_type 2 @@ -1250,7 +1250,7 @@ static inline uint16_t rfcomm_event_can_send_now_get_rfcomm_cid(const uint8_t * } /** - * @brief Get field status from event sdp_event_query_complete + * @brief Get field status from event SDP_EVENT_QUERY_COMPLETE * @param event packet * @return status * @note: btstack_type 1 @@ -1260,7 +1260,7 @@ static inline uint8_t sdp_event_query_complete_get_status(const uint8_t * event) } /** - * @brief Get field rfcomm_channel from event sdp_event_query_rfcomm_service + * @brief Get field rfcomm_channel from event SDP_EVENT_QUERY_RFCOMM_SERVICE * @param event packet * @return rfcomm_channel * @note: btstack_type 1 @@ -1269,7 +1269,7 @@ static inline uint8_t sdp_event_query_rfcomm_service_get_rfcomm_channel(const ui return event[2]; } /** - * @brief Get field name from event sdp_event_query_rfcomm_service + * @brief Get field name from event SDP_EVENT_QUERY_RFCOMM_SERVICE * @param event packet * @return name * @note: btstack_type T @@ -1279,7 +1279,7 @@ static inline const char * sdp_event_query_rfcomm_service_get_name(const uint8_t } /** - * @brief Get field record_id from event sdp_event_query_attribute_byte + * @brief Get field record_id from event SDP_EVENT_QUERY_ATTRIBUTE_BYTE * @param event packet * @return record_id * @note: btstack_type 2 @@ -1288,7 +1288,7 @@ static inline uint16_t sdp_event_query_attribute_byte_get_record_id(const uint8_ return little_endian_read_16(event, 2); } /** - * @brief Get field attribute_id from event sdp_event_query_attribute_byte + * @brief Get field attribute_id from event SDP_EVENT_QUERY_ATTRIBUTE_BYTE * @param event packet * @return attribute_id * @note: btstack_type 2 @@ -1297,7 +1297,7 @@ static inline uint16_t sdp_event_query_attribute_byte_get_attribute_id(const uin return little_endian_read_16(event, 4); } /** - * @brief Get field attribute_length from event sdp_event_query_attribute_byte + * @brief Get field attribute_length from event SDP_EVENT_QUERY_ATTRIBUTE_BYTE * @param event packet * @return attribute_length * @note: btstack_type 2 @@ -1306,7 +1306,7 @@ static inline uint16_t sdp_event_query_attribute_byte_get_attribute_length(const return little_endian_read_16(event, 6); } /** - * @brief Get field data_offset from event sdp_event_query_attribute_byte + * @brief Get field data_offset from event SDP_EVENT_QUERY_ATTRIBUTE_BYTE * @param event packet * @return data_offset * @note: btstack_type 2 @@ -1315,7 +1315,7 @@ static inline uint16_t sdp_event_query_attribute_byte_get_data_offset(const uint return little_endian_read_16(event, 8); } /** - * @brief Get field data from event sdp_event_query_attribute_byte + * @brief Get field data from event SDP_EVENT_QUERY_ATTRIBUTE_BYTE * @param event packet * @return data * @note: btstack_type 1 @@ -1325,7 +1325,7 @@ static inline uint8_t sdp_event_query_attribute_byte_get_data(const uint8_t * ev } /** - * @brief Get field record_id from event sdp_event_query_attribute_value + * @brief Get field record_id from event SDP_EVENT_QUERY_ATTRIBUTE_VALUE * @param event packet * @return record_id * @note: btstack_type 2 @@ -1334,7 +1334,7 @@ static inline uint16_t sdp_event_query_attribute_value_get_record_id(const uint8 return little_endian_read_16(event, 2); } /** - * @brief Get field attribute_id from event sdp_event_query_attribute_value + * @brief Get field attribute_id from event SDP_EVENT_QUERY_ATTRIBUTE_VALUE * @param event packet * @return attribute_id * @note: btstack_type 2 @@ -1343,7 +1343,7 @@ static inline uint16_t sdp_event_query_attribute_value_get_attribute_id(const ui return little_endian_read_16(event, 4); } /** - * @brief Get field attribute_length from event sdp_event_query_attribute_value + * @brief Get field attribute_length from event SDP_EVENT_QUERY_ATTRIBUTE_VALUE * @param event packet * @return attribute_length * @note: btstack_type L @@ -1352,7 +1352,7 @@ static inline int sdp_event_query_attribute_value_get_attribute_length(const uin return little_endian_read_16(event, 6); } /** - * @brief Get field attribute_value from event sdp_event_query_attribute_value + * @brief Get field attribute_value from event SDP_EVENT_QUERY_ATTRIBUTE_VALUE * @param event packet * @return attribute_value * @note: btstack_type V @@ -1362,7 +1362,7 @@ static inline const uint8_t * sdp_event_query_attribute_value_get_attribute_valu } /** - * @brief Get field total_count from event sdp_event_query_service_record_handle + * @brief Get field total_count from event SDP_EVENT_QUERY_SERVICE_RECORD_HANDLE * @param event packet * @return total_count * @note: btstack_type 2 @@ -1371,7 +1371,7 @@ static inline uint16_t sdp_event_query_service_record_handle_get_total_count(con return little_endian_read_16(event, 2); } /** - * @brief Get field record_index from event sdp_event_query_service_record_handle + * @brief Get field record_index from event SDP_EVENT_QUERY_SERVICE_RECORD_HANDLE * @param event packet * @return record_index * @note: btstack_type 2 @@ -1380,7 +1380,7 @@ static inline uint16_t sdp_event_query_service_record_handle_get_record_index(co return little_endian_read_16(event, 4); } /** - * @brief Get field record_handle from event sdp_event_query_service_record_handle + * @brief Get field record_handle from event SDP_EVENT_QUERY_SERVICE_RECORD_HANDLE * @param event packet * @return record_handle * @note: btstack_type 4 @@ -1391,7 +1391,7 @@ static inline uint32_t sdp_event_query_service_record_handle_get_record_handle(c #ifdef ENABLE_BLE /** - * @brief Get field handle from event gatt_event_query_complete + * @brief Get field handle from event GATT_EVENT_QUERY_COMPLETE * @param event packet * @return handle * @note: btstack_type H @@ -1400,7 +1400,7 @@ static inline hci_con_handle_t gatt_event_query_complete_get_handle(const uint8_ return little_endian_read_16(event, 2); } /** - * @brief Get field status from event gatt_event_query_complete + * @brief Get field status from event GATT_EVENT_QUERY_COMPLETE * @param event packet * @return status * @note: btstack_type 1 @@ -1412,7 +1412,7 @@ static inline uint8_t gatt_event_query_complete_get_status(const uint8_t * event #ifdef ENABLE_BLE /** - * @brief Get field handle from event gatt_event_service_query_result + * @brief Get field handle from event GATT_EVENT_SERVICE_QUERY_RESULT * @param event packet * @return handle * @note: btstack_type H @@ -1421,7 +1421,7 @@ static inline hci_con_handle_t gatt_event_service_query_result_get_handle(const return little_endian_read_16(event, 2); } /** - * @brief Get field service from event gatt_event_service_query_result + * @brief Get field service from event GATT_EVENT_SERVICE_QUERY_RESULT * @param event packet * @param Pointer to storage for service * @note: btstack_type X @@ -1433,7 +1433,7 @@ static inline void gatt_event_service_query_result_get_service(const uint8_t * e #ifdef ENABLE_BLE /** - * @brief Get field handle from event gatt_event_characteristic_query_result + * @brief Get field handle from event GATT_EVENT_CHARACTERISTIC_QUERY_RESULT * @param event packet * @return handle * @note: btstack_type H @@ -1442,7 +1442,7 @@ static inline hci_con_handle_t gatt_event_characteristic_query_result_get_handle return little_endian_read_16(event, 2); } /** - * @brief Get field characteristic from event gatt_event_characteristic_query_result + * @brief Get field characteristic from event GATT_EVENT_CHARACTERISTIC_QUERY_RESULT * @param event packet * @param Pointer to storage for characteristic * @note: btstack_type Y @@ -1454,7 +1454,7 @@ static inline void gatt_event_characteristic_query_result_get_characteristic(con #ifdef ENABLE_BLE /** - * @brief Get field handle from event gatt_event_included_service_query_result + * @brief Get field handle from event GATT_EVENT_INCLUDED_SERVICE_QUERY_RESULT * @param event packet * @return handle * @note: btstack_type H @@ -1463,7 +1463,7 @@ static inline hci_con_handle_t gatt_event_included_service_query_result_get_hand return little_endian_read_16(event, 2); } /** - * @brief Get field include_handle from event gatt_event_included_service_query_result + * @brief Get field include_handle from event GATT_EVENT_INCLUDED_SERVICE_QUERY_RESULT * @param event packet * @return include_handle * @note: btstack_type 2 @@ -1472,7 +1472,7 @@ static inline uint16_t gatt_event_included_service_query_result_get_include_hand return little_endian_read_16(event, 4); } /** - * @brief Get field service from event gatt_event_included_service_query_result + * @brief Get field service from event GATT_EVENT_INCLUDED_SERVICE_QUERY_RESULT * @param event packet * @param Pointer to storage for service * @note: btstack_type X @@ -1484,7 +1484,7 @@ static inline void gatt_event_included_service_query_result_get_service(const ui #ifdef ENABLE_BLE /** - * @brief Get field handle from event gatt_event_all_characteristic_descriptors_query_result + * @brief Get field handle from event GATT_EVENT_ALL_CHARACTERISTIC_DESCRIPTORS_QUERY_RESULT * @param event packet * @return handle * @note: btstack_type H @@ -1493,7 +1493,7 @@ static inline hci_con_handle_t gatt_event_all_characteristic_descriptors_query_r return little_endian_read_16(event, 2); } /** - * @brief Get field characteristic_descriptor from event gatt_event_all_characteristic_descriptors_query_result + * @brief Get field characteristic_descriptor from event GATT_EVENT_ALL_CHARACTERISTIC_DESCRIPTORS_QUERY_RESULT * @param event packet * @param Pointer to storage for characteristic_descriptor * @note: btstack_type Z @@ -1505,7 +1505,7 @@ static inline void gatt_event_all_characteristic_descriptors_query_result_get_ch #ifdef ENABLE_BLE /** - * @brief Get field handle from event gatt_event_characteristic_value_query_result + * @brief Get field handle from event GATT_EVENT_CHARACTERISTIC_VALUE_QUERY_RESULT * @param event packet * @return handle * @note: btstack_type H @@ -1514,7 +1514,7 @@ static inline hci_con_handle_t gatt_event_characteristic_value_query_result_get_ return little_endian_read_16(event, 2); } /** - * @brief Get field value_handle from event gatt_event_characteristic_value_query_result + * @brief Get field value_handle from event GATT_EVENT_CHARACTERISTIC_VALUE_QUERY_RESULT * @param event packet * @return value_handle * @note: btstack_type 2 @@ -1523,7 +1523,7 @@ static inline uint16_t gatt_event_characteristic_value_query_result_get_value_ha return little_endian_read_16(event, 4); } /** - * @brief Get field value_length from event gatt_event_characteristic_value_query_result + * @brief Get field value_length from event GATT_EVENT_CHARACTERISTIC_VALUE_QUERY_RESULT * @param event packet * @return value_length * @note: btstack_type L @@ -1532,7 +1532,7 @@ static inline int gatt_event_characteristic_value_query_result_get_value_length( return little_endian_read_16(event, 6); } /** - * @brief Get field value from event gatt_event_characteristic_value_query_result + * @brief Get field value from event GATT_EVENT_CHARACTERISTIC_VALUE_QUERY_RESULT * @param event packet * @return value * @note: btstack_type V @@ -1544,7 +1544,7 @@ static inline const uint8_t * gatt_event_characteristic_value_query_result_get_v #ifdef ENABLE_BLE /** - * @brief Get field handle from event gatt_event_long_characteristic_value_query_result + * @brief Get field handle from event GATT_EVENT_LONG_CHARACTERISTIC_VALUE_QUERY_RESULT * @param event packet * @return handle * @note: btstack_type H @@ -1553,7 +1553,7 @@ static inline hci_con_handle_t gatt_event_long_characteristic_value_query_result return little_endian_read_16(event, 2); } /** - * @brief Get field value_handle from event gatt_event_long_characteristic_value_query_result + * @brief Get field value_handle from event GATT_EVENT_LONG_CHARACTERISTIC_VALUE_QUERY_RESULT * @param event packet * @return value_handle * @note: btstack_type 2 @@ -1562,7 +1562,7 @@ static inline uint16_t gatt_event_long_characteristic_value_query_result_get_val return little_endian_read_16(event, 4); } /** - * @brief Get field value_offset from event gatt_event_long_characteristic_value_query_result + * @brief Get field value_offset from event GATT_EVENT_LONG_CHARACTERISTIC_VALUE_QUERY_RESULT * @param event packet * @return value_offset * @note: btstack_type 2 @@ -1571,7 +1571,7 @@ static inline uint16_t gatt_event_long_characteristic_value_query_result_get_val return little_endian_read_16(event, 6); } /** - * @brief Get field value_length from event gatt_event_long_characteristic_value_query_result + * @brief Get field value_length from event GATT_EVENT_LONG_CHARACTERISTIC_VALUE_QUERY_RESULT * @param event packet * @return value_length * @note: btstack_type L @@ -1580,7 +1580,7 @@ static inline int gatt_event_long_characteristic_value_query_result_get_value_le return little_endian_read_16(event, 8); } /** - * @brief Get field value from event gatt_event_long_characteristic_value_query_result + * @brief Get field value from event GATT_EVENT_LONG_CHARACTERISTIC_VALUE_QUERY_RESULT * @param event packet * @return value * @note: btstack_type V @@ -1592,7 +1592,7 @@ static inline const uint8_t * gatt_event_long_characteristic_value_query_result_ #ifdef ENABLE_BLE /** - * @brief Get field handle from event gatt_event_notification + * @brief Get field handle from event GATT_EVENT_NOTIFICATION * @param event packet * @return handle * @note: btstack_type H @@ -1601,7 +1601,7 @@ static inline hci_con_handle_t gatt_event_notification_get_handle(const uint8_t return little_endian_read_16(event, 2); } /** - * @brief Get field value_handle from event gatt_event_notification + * @brief Get field value_handle from event GATT_EVENT_NOTIFICATION * @param event packet * @return value_handle * @note: btstack_type 2 @@ -1610,7 +1610,7 @@ static inline uint16_t gatt_event_notification_get_value_handle(const uint8_t * return little_endian_read_16(event, 4); } /** - * @brief Get field value_length from event gatt_event_notification + * @brief Get field value_length from event GATT_EVENT_NOTIFICATION * @param event packet * @return value_length * @note: btstack_type L @@ -1619,7 +1619,7 @@ static inline int gatt_event_notification_get_value_length(const uint8_t * event return little_endian_read_16(event, 6); } /** - * @brief Get field value from event gatt_event_notification + * @brief Get field value from event GATT_EVENT_NOTIFICATION * @param event packet * @return value * @note: btstack_type V @@ -1631,7 +1631,7 @@ static inline const uint8_t * gatt_event_notification_get_value(const uint8_t * #ifdef ENABLE_BLE /** - * @brief Get field handle from event gatt_event_indication + * @brief Get field handle from event GATT_EVENT_INDICATION * @param event packet * @return handle * @note: btstack_type H @@ -1640,7 +1640,7 @@ static inline hci_con_handle_t gatt_event_indication_get_handle(const uint8_t * return little_endian_read_16(event, 2); } /** - * @brief Get field value_handle from event gatt_event_indication + * @brief Get field value_handle from event GATT_EVENT_INDICATION * @param event packet * @return value_handle * @note: btstack_type 2 @@ -1649,7 +1649,7 @@ static inline uint16_t gatt_event_indication_get_value_handle(const uint8_t * ev return little_endian_read_16(event, 4); } /** - * @brief Get field value_length from event gatt_event_indication + * @brief Get field value_length from event GATT_EVENT_INDICATION * @param event packet * @return value_length * @note: btstack_type L @@ -1658,7 +1658,7 @@ static inline int gatt_event_indication_get_value_length(const uint8_t * event){ return little_endian_read_16(event, 6); } /** - * @brief Get field value from event gatt_event_indication + * @brief Get field value from event GATT_EVENT_INDICATION * @param event packet * @return value * @note: btstack_type V @@ -1670,7 +1670,7 @@ static inline const uint8_t * gatt_event_indication_get_value(const uint8_t * ev #ifdef ENABLE_BLE /** - * @brief Get field descriptor_handle from event gatt_event_characteristic_descriptor_query_result + * @brief Get field descriptor_handle from event GATT_EVENT_CHARACTERISTIC_DESCRIPTOR_QUERY_RESULT * @param event packet * @return descriptor_handle * @note: btstack_type H @@ -1679,7 +1679,7 @@ static inline hci_con_handle_t gatt_event_characteristic_descriptor_query_result return little_endian_read_16(event, 2); } /** - * @brief Get field descriptor_length from event gatt_event_characteristic_descriptor_query_result + * @brief Get field descriptor_length from event GATT_EVENT_CHARACTERISTIC_DESCRIPTOR_QUERY_RESULT * @param event packet * @return descriptor_length * @note: btstack_type 2 @@ -1688,7 +1688,7 @@ static inline uint16_t gatt_event_characteristic_descriptor_query_result_get_des return little_endian_read_16(event, 4); } /** - * @brief Get field descriptor from event gatt_event_characteristic_descriptor_query_result + * @brief Get field descriptor from event GATT_EVENT_CHARACTERISTIC_DESCRIPTOR_QUERY_RESULT * @param event packet * @return descriptor * @note: btstack_type L @@ -1700,7 +1700,7 @@ static inline int gatt_event_characteristic_descriptor_query_result_get_descript #ifdef ENABLE_BLE /** - * @brief Get field handle from event gatt_event_long_characteristic_descriptor_query_result + * @brief Get field handle from event GATT_EVENT_LONG_CHARACTERISTIC_DESCRIPTOR_QUERY_RESULT * @param event packet * @return handle * @note: btstack_type H @@ -1709,7 +1709,7 @@ static inline hci_con_handle_t gatt_event_long_characteristic_descriptor_query_r return little_endian_read_16(event, 2); } /** - * @brief Get field descriptor_offset from event gatt_event_long_characteristic_descriptor_query_result + * @brief Get field descriptor_offset from event GATT_EVENT_LONG_CHARACTERISTIC_DESCRIPTOR_QUERY_RESULT * @param event packet * @return descriptor_offset * @note: btstack_type 2 @@ -1718,7 +1718,7 @@ static inline uint16_t gatt_event_long_characteristic_descriptor_query_result_ge return little_endian_read_16(event, 4); } /** - * @brief Get field descriptor_length from event gatt_event_long_characteristic_descriptor_query_result + * @brief Get field descriptor_length from event GATT_EVENT_LONG_CHARACTERISTIC_DESCRIPTOR_QUERY_RESULT * @param event packet * @return descriptor_length * @note: btstack_type L @@ -1727,7 +1727,7 @@ static inline int gatt_event_long_characteristic_descriptor_query_result_get_des return little_endian_read_16(event, 6); } /** - * @brief Get field descriptor from event gatt_event_long_characteristic_descriptor_query_result + * @brief Get field descriptor from event GATT_EVENT_LONG_CHARACTERISTIC_DESCRIPTOR_QUERY_RESULT * @param event packet * @return descriptor * @note: btstack_type V @@ -1739,7 +1739,7 @@ static inline const uint8_t * gatt_event_long_characteristic_descriptor_query_re #ifdef ENABLE_BLE /** - * @brief Get field handle from event gatt_event_mtu + * @brief Get field handle from event GATT_EVENT_MTU * @param event packet * @return handle * @note: btstack_type H @@ -1748,7 +1748,7 @@ static inline hci_con_handle_t gatt_event_mtu_get_handle(const uint8_t * event){ return little_endian_read_16(event, 2); } /** - * @brief Get field MTU from event gatt_event_mtu + * @brief Get field MTU from event GATT_EVENT_MTU * @param event packet * @return MTU * @note: btstack_type 2 @@ -1759,7 +1759,7 @@ static inline uint16_t gatt_event_mtu_get_MTU(const uint8_t * event){ #endif /** - * @brief Get field handle from event att_event_mtu_exchange_complete + * @brief Get field handle from event ATT_EVENT_MTU_EXCHANGE_COMPLETE * @param event packet * @return handle * @note: btstack_type H @@ -1768,7 +1768,7 @@ static inline hci_con_handle_t att_event_mtu_exchange_complete_get_handle(const return little_endian_read_16(event, 2); } /** - * @brief Get field MTU from event att_event_mtu_exchange_complete + * @brief Get field MTU from event ATT_EVENT_MTU_EXCHANGE_COMPLETE * @param event packet * @return MTU * @note: btstack_type 2 @@ -1778,7 +1778,7 @@ static inline uint16_t att_event_mtu_exchange_complete_get_MTU(const uint8_t * e } /** - * @brief Get field status from event att_event_handle_value_indication_complete + * @brief Get field status from event ATT_EVENT_HANDLE_VALUE_INDICATION_COMPLETE * @param event packet * @return status * @note: btstack_type 1 @@ -1787,7 +1787,7 @@ static inline uint8_t att_event_handle_value_indication_complete_get_status(cons return event[2]; } /** - * @brief Get field conn_handle from event att_event_handle_value_indication_complete + * @brief Get field conn_handle from event ATT_EVENT_HANDLE_VALUE_INDICATION_COMPLETE * @param event packet * @return conn_handle * @note: btstack_type H @@ -1796,7 +1796,7 @@ static inline hci_con_handle_t att_event_handle_value_indication_complete_get_co return little_endian_read_16(event, 3); } /** - * @brief Get field attribute_handle from event att_event_handle_value_indication_complete + * @brief Get field attribute_handle from event ATT_EVENT_HANDLE_VALUE_INDICATION_COMPLETE * @param event packet * @return attribute_handle * @note: btstack_type 2 @@ -1807,7 +1807,7 @@ static inline uint16_t att_event_handle_value_indication_complete_get_attribute_ /** - * @brief Get field status from event bnep_event_service_registered + * @brief Get field status from event BNEP_EVENT_SERVICE_REGISTERED * @param event packet * @return status * @note: btstack_type 1 @@ -1816,7 +1816,7 @@ static inline uint8_t bnep_event_service_registered_get_status(const uint8_t * e return event[2]; } /** - * @brief Get field service_uuid from event bnep_event_service_registered + * @brief Get field service_uuid from event BNEP_EVENT_SERVICE_REGISTERED * @param event packet * @return service_uuid * @note: btstack_type 2 @@ -1826,7 +1826,7 @@ static inline uint16_t bnep_event_service_registered_get_service_uuid(const uint } /** - * @brief Get field status from event bnep_event_channel_opened + * @brief Get field status from event BNEP_EVENT_CHANNEL_OPENED * @param event packet * @return status * @note: btstack_type 1 @@ -1835,7 +1835,7 @@ static inline uint8_t bnep_event_channel_opened_get_status(const uint8_t * event return event[2]; } /** - * @brief Get field bnep_cid from event bnep_event_channel_opened + * @brief Get field bnep_cid from event BNEP_EVENT_CHANNEL_OPENED * @param event packet * @return bnep_cid * @note: btstack_type 2 @@ -1844,7 +1844,7 @@ static inline uint16_t bnep_event_channel_opened_get_bnep_cid(const uint8_t * ev return little_endian_read_16(event, 3); } /** - * @brief Get field source_uuid from event bnep_event_channel_opened + * @brief Get field source_uuid from event BNEP_EVENT_CHANNEL_OPENED * @param event packet * @return source_uuid * @note: btstack_type 2 @@ -1853,7 +1853,7 @@ static inline uint16_t bnep_event_channel_opened_get_source_uuid(const uint8_t * return little_endian_read_16(event, 5); } /** - * @brief Get field destination_uuid from event bnep_event_channel_opened + * @brief Get field destination_uuid from event BNEP_EVENT_CHANNEL_OPENED * @param event packet * @return destination_uuid * @note: btstack_type 2 @@ -1862,7 +1862,7 @@ static inline uint16_t bnep_event_channel_opened_get_destination_uuid(const uint return little_endian_read_16(event, 7); } /** - * @brief Get field mtu from event bnep_event_channel_opened + * @brief Get field mtu from event BNEP_EVENT_CHANNEL_OPENED * @param event packet * @return mtu * @note: btstack_type 2 @@ -1871,7 +1871,7 @@ static inline uint16_t bnep_event_channel_opened_get_mtu(const uint8_t * event){ return little_endian_read_16(event, 9); } /** - * @brief Get field remote_address from event bnep_event_channel_opened + * @brief Get field remote_address from event BNEP_EVENT_CHANNEL_OPENED * @param event packet * @param Pointer to storage for remote_address * @note: btstack_type B @@ -1881,7 +1881,7 @@ static inline void bnep_event_channel_opened_get_remote_address(const uint8_t * } /** - * @brief Get field bnep_cid from event bnep_event_channel_closed + * @brief Get field bnep_cid from event BNEP_EVENT_CHANNEL_CLOSED * @param event packet * @return bnep_cid * @note: btstack_type 2 @@ -1890,7 +1890,7 @@ static inline uint16_t bnep_event_channel_closed_get_bnep_cid(const uint8_t * ev return little_endian_read_16(event, 2); } /** - * @brief Get field source_uuid from event bnep_event_channel_closed + * @brief Get field source_uuid from event BNEP_EVENT_CHANNEL_CLOSED * @param event packet * @return source_uuid * @note: btstack_type 2 @@ -1899,7 +1899,7 @@ static inline uint16_t bnep_event_channel_closed_get_source_uuid(const uint8_t * return little_endian_read_16(event, 4); } /** - * @brief Get field destination_uuid from event bnep_event_channel_closed + * @brief Get field destination_uuid from event BNEP_EVENT_CHANNEL_CLOSED * @param event packet * @return destination_uuid * @note: btstack_type 2 @@ -1908,7 +1908,7 @@ static inline uint16_t bnep_event_channel_closed_get_destination_uuid(const uint return little_endian_read_16(event, 6); } /** - * @brief Get field remote_address from event bnep_event_channel_closed + * @brief Get field remote_address from event BNEP_EVENT_CHANNEL_CLOSED * @param event packet * @param Pointer to storage for remote_address * @note: btstack_type B @@ -1918,7 +1918,7 @@ static inline void bnep_event_channel_closed_get_remote_address(const uint8_t * } /** - * @brief Get field bnep_cid from event bnep_event_channel_timeout + * @brief Get field bnep_cid from event BNEP_EVENT_CHANNEL_TIMEOUT * @param event packet * @return bnep_cid * @note: btstack_type 2 @@ -1927,7 +1927,7 @@ static inline uint16_t bnep_event_channel_timeout_get_bnep_cid(const uint8_t * e return little_endian_read_16(event, 2); } /** - * @brief Get field source_uuid from event bnep_event_channel_timeout + * @brief Get field source_uuid from event BNEP_EVENT_CHANNEL_TIMEOUT * @param event packet * @return source_uuid * @note: btstack_type 2 @@ -1936,7 +1936,7 @@ static inline uint16_t bnep_event_channel_timeout_get_source_uuid(const uint8_t return little_endian_read_16(event, 4); } /** - * @brief Get field destination_uuid from event bnep_event_channel_timeout + * @brief Get field destination_uuid from event BNEP_EVENT_CHANNEL_TIMEOUT * @param event packet * @return destination_uuid * @note: btstack_type 2 @@ -1945,7 +1945,7 @@ static inline uint16_t bnep_event_channel_timeout_get_destination_uuid(const uin return little_endian_read_16(event, 6); } /** - * @brief Get field remote_address from event bnep_event_channel_timeout + * @brief Get field remote_address from event BNEP_EVENT_CHANNEL_TIMEOUT * @param event packet * @param Pointer to storage for remote_address * @note: btstack_type B @@ -1954,7 +1954,7 @@ static inline void bnep_event_channel_timeout_get_remote_address(const uint8_t * reverse_bd_addr(&event[8], remote_address); } /** - * @brief Get field channel_state from event bnep_event_channel_timeout + * @brief Get field channel_state from event BNEP_EVENT_CHANNEL_TIMEOUT * @param event packet * @return channel_state * @note: btstack_type 1 @@ -1964,7 +1964,7 @@ static inline uint8_t bnep_event_channel_timeout_get_channel_state(const uint8_t } /** - * @brief Get field bnep_cid from event bnep_event_can_send_now + * @brief Get field bnep_cid from event BNEP_EVENT_CAN_SEND_NOW * @param event packet * @return bnep_cid * @note: btstack_type 2 @@ -1973,7 +1973,7 @@ static inline uint16_t bnep_event_can_send_now_get_bnep_cid(const uint8_t * even return little_endian_read_16(event, 2); } /** - * @brief Get field source_uuid from event bnep_event_can_send_now + * @brief Get field source_uuid from event BNEP_EVENT_CAN_SEND_NOW * @param event packet * @return source_uuid * @note: btstack_type 2 @@ -1982,7 +1982,7 @@ static inline uint16_t bnep_event_can_send_now_get_source_uuid(const uint8_t * e return little_endian_read_16(event, 4); } /** - * @brief Get field destination_uuid from event bnep_event_can_send_now + * @brief Get field destination_uuid from event BNEP_EVENT_CAN_SEND_NOW * @param event packet * @return destination_uuid * @note: btstack_type 2 @@ -1991,7 +1991,7 @@ static inline uint16_t bnep_event_can_send_now_get_destination_uuid(const uint8_ return little_endian_read_16(event, 6); } /** - * @brief Get field remote_address from event bnep_event_can_send_now + * @brief Get field remote_address from event BNEP_EVENT_CAN_SEND_NOW * @param event packet * @param Pointer to storage for remote_address * @note: btstack_type B @@ -2002,7 +2002,7 @@ static inline void bnep_event_can_send_now_get_remote_address(const uint8_t * ev #ifdef ENABLE_BLE /** - * @brief Get field handle from event sm_event_just_works_request + * @brief Get field handle from event SM_EVENT_JUST_WORKS_REQUEST * @param event packet * @return handle * @note: btstack_type H @@ -2011,7 +2011,7 @@ static inline hci_con_handle_t sm_event_just_works_request_get_handle(const uint return little_endian_read_16(event, 2); } /** - * @brief Get field addr_type from event sm_event_just_works_request + * @brief Get field addr_type from event SM_EVENT_JUST_WORKS_REQUEST * @param event packet * @return addr_type * @note: btstack_type 1 @@ -2020,7 +2020,7 @@ static inline uint8_t sm_event_just_works_request_get_addr_type(const uint8_t * return event[4]; } /** - * @brief Get field address from event sm_event_just_works_request + * @brief Get field address from event SM_EVENT_JUST_WORKS_REQUEST * @param event packet * @param Pointer to storage for address * @note: btstack_type B @@ -2032,7 +2032,7 @@ static inline void sm_event_just_works_request_get_address(const uint8_t * event #ifdef ENABLE_BLE /** - * @brief Get field handle from event sm_event_just_works_cancel + * @brief Get field handle from event SM_EVENT_JUST_WORKS_CANCEL * @param event packet * @return handle * @note: btstack_type H @@ -2041,7 +2041,7 @@ static inline hci_con_handle_t sm_event_just_works_cancel_get_handle(const uint8 return little_endian_read_16(event, 2); } /** - * @brief Get field addr_type from event sm_event_just_works_cancel + * @brief Get field addr_type from event SM_EVENT_JUST_WORKS_CANCEL * @param event packet * @return addr_type * @note: btstack_type 1 @@ -2050,7 +2050,7 @@ static inline uint8_t sm_event_just_works_cancel_get_addr_type(const uint8_t * e return event[4]; } /** - * @brief Get field address from event sm_event_just_works_cancel + * @brief Get field address from event SM_EVENT_JUST_WORKS_CANCEL * @param event packet * @param Pointer to storage for address * @note: btstack_type B @@ -2062,7 +2062,7 @@ static inline void sm_event_just_works_cancel_get_address(const uint8_t * event, #ifdef ENABLE_BLE /** - * @brief Get field handle from event sm_event_passkey_display_number + * @brief Get field handle from event SM_EVENT_PASSKEY_DISPLAY_NUMBER * @param event packet * @return handle * @note: btstack_type H @@ -2071,7 +2071,7 @@ static inline hci_con_handle_t sm_event_passkey_display_number_get_handle(const return little_endian_read_16(event, 2); } /** - * @brief Get field addr_type from event sm_event_passkey_display_number + * @brief Get field addr_type from event SM_EVENT_PASSKEY_DISPLAY_NUMBER * @param event packet * @return addr_type * @note: btstack_type 1 @@ -2080,7 +2080,7 @@ static inline uint8_t sm_event_passkey_display_number_get_addr_type(const uint8_ return event[4]; } /** - * @brief Get field address from event sm_event_passkey_display_number + * @brief Get field address from event SM_EVENT_PASSKEY_DISPLAY_NUMBER * @param event packet * @param Pointer to storage for address * @note: btstack_type B @@ -2089,7 +2089,7 @@ static inline void sm_event_passkey_display_number_get_address(const uint8_t * e reverse_bd_addr(&event[5], address); } /** - * @brief Get field passkey from event sm_event_passkey_display_number + * @brief Get field passkey from event SM_EVENT_PASSKEY_DISPLAY_NUMBER * @param event packet * @return passkey * @note: btstack_type 4 @@ -2101,7 +2101,7 @@ static inline uint32_t sm_event_passkey_display_number_get_passkey(const uint8_t #ifdef ENABLE_BLE /** - * @brief Get field handle from event sm_event_passkey_display_cancel + * @brief Get field handle from event SM_EVENT_PASSKEY_DISPLAY_CANCEL * @param event packet * @return handle * @note: btstack_type H @@ -2110,7 +2110,7 @@ static inline hci_con_handle_t sm_event_passkey_display_cancel_get_handle(const return little_endian_read_16(event, 2); } /** - * @brief Get field addr_type from event sm_event_passkey_display_cancel + * @brief Get field addr_type from event SM_EVENT_PASSKEY_DISPLAY_CANCEL * @param event packet * @return addr_type * @note: btstack_type 1 @@ -2119,7 +2119,7 @@ static inline uint8_t sm_event_passkey_display_cancel_get_addr_type(const uint8_ return event[4]; } /** - * @brief Get field address from event sm_event_passkey_display_cancel + * @brief Get field address from event SM_EVENT_PASSKEY_DISPLAY_CANCEL * @param event packet * @param Pointer to storage for address * @note: btstack_type B @@ -2131,7 +2131,7 @@ static inline void sm_event_passkey_display_cancel_get_address(const uint8_t * e #ifdef ENABLE_BLE /** - * @brief Get field handle from event sm_event_passkey_input_number + * @brief Get field handle from event SM_EVENT_PASSKEY_INPUT_NUMBER * @param event packet * @return handle * @note: btstack_type H @@ -2140,7 +2140,7 @@ static inline hci_con_handle_t sm_event_passkey_input_number_get_handle(const ui return little_endian_read_16(event, 2); } /** - * @brief Get field addr_type from event sm_event_passkey_input_number + * @brief Get field addr_type from event SM_EVENT_PASSKEY_INPUT_NUMBER * @param event packet * @return addr_type * @note: btstack_type 1 @@ -2149,7 +2149,7 @@ static inline uint8_t sm_event_passkey_input_number_get_addr_type(const uint8_t return event[4]; } /** - * @brief Get field address from event sm_event_passkey_input_number + * @brief Get field address from event SM_EVENT_PASSKEY_INPUT_NUMBER * @param event packet * @param Pointer to storage for address * @note: btstack_type B @@ -2161,7 +2161,7 @@ static inline void sm_event_passkey_input_number_get_address(const uint8_t * eve #ifdef ENABLE_BLE /** - * @brief Get field handle from event sm_event_passkey_input_cancel + * @brief Get field handle from event SM_EVENT_PASSKEY_INPUT_CANCEL * @param event packet * @return handle * @note: btstack_type H @@ -2170,7 +2170,7 @@ static inline hci_con_handle_t sm_event_passkey_input_cancel_get_handle(const ui return little_endian_read_16(event, 2); } /** - * @brief Get field addr_type from event sm_event_passkey_input_cancel + * @brief Get field addr_type from event SM_EVENT_PASSKEY_INPUT_CANCEL * @param event packet * @return addr_type * @note: btstack_type 1 @@ -2179,7 +2179,7 @@ static inline uint8_t sm_event_passkey_input_cancel_get_addr_type(const uint8_t return event[4]; } /** - * @brief Get field address from event sm_event_passkey_input_cancel + * @brief Get field address from event SM_EVENT_PASSKEY_INPUT_CANCEL * @param event packet * @param Pointer to storage for address * @note: btstack_type B @@ -2191,7 +2191,7 @@ static inline void sm_event_passkey_input_cancel_get_address(const uint8_t * eve #ifdef ENABLE_BLE /** - * @brief Get field handle from event sm_event_identity_resolving_started + * @brief Get field handle from event SM_EVENT_IDENTITY_RESOLVING_STARTED * @param event packet * @return handle * @note: btstack_type H @@ -2200,7 +2200,7 @@ static inline hci_con_handle_t sm_event_identity_resolving_started_get_handle(co return little_endian_read_16(event, 2); } /** - * @brief Get field addr_type from event sm_event_identity_resolving_started + * @brief Get field addr_type from event SM_EVENT_IDENTITY_RESOLVING_STARTED * @param event packet * @return addr_type * @note: btstack_type 1 @@ -2209,7 +2209,7 @@ static inline uint8_t sm_event_identity_resolving_started_get_addr_type(const ui return event[4]; } /** - * @brief Get field address from event sm_event_identity_resolving_started + * @brief Get field address from event SM_EVENT_IDENTITY_RESOLVING_STARTED * @param event packet * @param Pointer to storage for address * @note: btstack_type B @@ -2221,7 +2221,7 @@ static inline void sm_event_identity_resolving_started_get_address(const uint8_t #ifdef ENABLE_BLE /** - * @brief Get field handle from event sm_event_identity_resolving_failed + * @brief Get field handle from event SM_EVENT_IDENTITY_RESOLVING_FAILED * @param event packet * @return handle * @note: btstack_type H @@ -2230,7 +2230,7 @@ static inline hci_con_handle_t sm_event_identity_resolving_failed_get_handle(con return little_endian_read_16(event, 2); } /** - * @brief Get field addr_type from event sm_event_identity_resolving_failed + * @brief Get field addr_type from event SM_EVENT_IDENTITY_RESOLVING_FAILED * @param event packet * @return addr_type * @note: btstack_type 1 @@ -2239,7 +2239,7 @@ static inline uint8_t sm_event_identity_resolving_failed_get_addr_type(const uin return event[4]; } /** - * @brief Get field address from event sm_event_identity_resolving_failed + * @brief Get field address from event SM_EVENT_IDENTITY_RESOLVING_FAILED * @param event packet * @param Pointer to storage for address * @note: btstack_type B @@ -2251,7 +2251,7 @@ static inline void sm_event_identity_resolving_failed_get_address(const uint8_t #ifdef ENABLE_BLE /** - * @brief Get field handle from event sm_event_identity_resolving_succeeded + * @brief Get field handle from event SM_EVENT_IDENTITY_RESOLVING_SUCCEEDED * @param event packet * @return handle * @note: btstack_type H @@ -2260,7 +2260,7 @@ static inline hci_con_handle_t sm_event_identity_resolving_succeeded_get_handle( return little_endian_read_16(event, 2); } /** - * @brief Get field addr_type from event sm_event_identity_resolving_succeeded + * @brief Get field addr_type from event SM_EVENT_IDENTITY_RESOLVING_SUCCEEDED * @param event packet * @return addr_type * @note: btstack_type 1 @@ -2269,7 +2269,7 @@ static inline uint8_t sm_event_identity_resolving_succeeded_get_addr_type(const return event[4]; } /** - * @brief Get field address from event sm_event_identity_resolving_succeeded + * @brief Get field address from event SM_EVENT_IDENTITY_RESOLVING_SUCCEEDED * @param event packet * @param Pointer to storage for address * @note: btstack_type B @@ -2278,7 +2278,7 @@ static inline void sm_event_identity_resolving_succeeded_get_address(const uint8 reverse_bd_addr(&event[5], address); } /** - * @brief Get field le_device_db_index from event sm_event_identity_resolving_succeeded + * @brief Get field le_device_db_index from event SM_EVENT_IDENTITY_RESOLVING_SUCCEEDED * @param event packet * @return le_device_db_index * @note: btstack_type 2 @@ -2290,7 +2290,7 @@ static inline uint16_t sm_event_identity_resolving_succeeded_get_le_device_db_in #ifdef ENABLE_BLE /** - * @brief Get field handle from event sm_event_authorization_request + * @brief Get field handle from event SM_EVENT_AUTHORIZATION_REQUEST * @param event packet * @return handle * @note: btstack_type H @@ -2299,7 +2299,7 @@ static inline hci_con_handle_t sm_event_authorization_request_get_handle(const u return little_endian_read_16(event, 2); } /** - * @brief Get field addr_type from event sm_event_authorization_request + * @brief Get field addr_type from event SM_EVENT_AUTHORIZATION_REQUEST * @param event packet * @return addr_type * @note: btstack_type 1 @@ -2308,7 +2308,7 @@ static inline uint8_t sm_event_authorization_request_get_addr_type(const uint8_t return event[4]; } /** - * @brief Get field address from event sm_event_authorization_request + * @brief Get field address from event SM_EVENT_AUTHORIZATION_REQUEST * @param event packet * @param Pointer to storage for address * @note: btstack_type B @@ -2320,7 +2320,7 @@ static inline void sm_event_authorization_request_get_address(const uint8_t * ev #ifdef ENABLE_BLE /** - * @brief Get field handle from event sm_event_authorization_result + * @brief Get field handle from event SM_EVENT_AUTHORIZATION_RESULT * @param event packet * @return handle * @note: btstack_type H @@ -2329,7 +2329,7 @@ static inline hci_con_handle_t sm_event_authorization_result_get_handle(const ui return little_endian_read_16(event, 2); } /** - * @brief Get field addr_type from event sm_event_authorization_result + * @brief Get field addr_type from event SM_EVENT_AUTHORIZATION_RESULT * @param event packet * @return addr_type * @note: btstack_type 1 @@ -2338,7 +2338,7 @@ static inline uint8_t sm_event_authorization_result_get_addr_type(const uint8_t return event[4]; } /** - * @brief Get field address from event sm_event_authorization_result + * @brief Get field address from event SM_EVENT_AUTHORIZATION_RESULT * @param event packet * @param Pointer to storage for address * @note: btstack_type B @@ -2347,7 +2347,7 @@ static inline void sm_event_authorization_result_get_address(const uint8_t * eve reverse_bd_addr(&event[5], address); } /** - * @brief Get field authorization_result from event sm_event_authorization_result + * @brief Get field authorization_result from event SM_EVENT_AUTHORIZATION_RESULT * @param event packet * @return authorization_result * @note: btstack_type 1 @@ -2358,7 +2358,7 @@ static inline uint8_t sm_event_authorization_result_get_authorization_result(con #endif /** - * @brief Get field advertising_event_type from event gap_event_advertising_report + * @brief Get field advertising_event_type from event GAP_EVENT_ADVERTISING_REPORT * @param event packet * @return advertising_event_type * @note: btstack_type 1 @@ -2367,7 +2367,7 @@ static inline uint8_t gap_event_advertising_report_get_advertising_event_type(co return event[2]; } /** - * @brief Get field address_type from event gap_event_advertising_report + * @brief Get field address_type from event GAP_EVENT_ADVERTISING_REPORT * @param event packet * @return address_type * @note: btstack_type 1 @@ -2376,7 +2376,7 @@ static inline uint8_t gap_event_advertising_report_get_address_type(const uint8_ return event[3]; } /** - * @brief Get field address from event gap_event_advertising_report + * @brief Get field address from event GAP_EVENT_ADVERTISING_REPORT * @param event packet * @param Pointer to storage for address * @note: btstack_type B @@ -2385,7 +2385,7 @@ static inline void gap_event_advertising_report_get_address(const uint8_t * even reverse_bd_addr(&event[4], address); } /** - * @brief Get field rssi from event gap_event_advertising_report + * @brief Get field rssi from event GAP_EVENT_ADVERTISING_REPORT * @param event packet * @return rssi * @note: btstack_type 1 @@ -2394,7 +2394,7 @@ static inline uint8_t gap_event_advertising_report_get_rssi(const uint8_t * even return event[10]; } /** - * @brief Get field data_length from event gap_event_advertising_report + * @brief Get field data_length from event GAP_EVENT_ADVERTISING_REPORT * @param event packet * @return data_length * @note: btstack_type J @@ -2403,7 +2403,7 @@ static inline int gap_event_advertising_report_get_data_length(const uint8_t * e return event[11]; } /** - * @brief Get field data from event gap_event_advertising_report + * @brief Get field data from event GAP_EVENT_ADVERTISING_REPORT * @param event packet * @return data * @note: btstack_type V @@ -2413,7 +2413,7 @@ static inline const uint8_t * gap_event_advertising_report_get_data(const uint8_ } /** - * @brief Get field status from event hci_subevent_le_connection_complete + * @brief Get field status from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE * @param event packet * @return status * @note: btstack_type 1 @@ -2422,7 +2422,7 @@ static inline uint8_t hci_subevent_le_connection_complete_get_status(const uint8 return event[3]; } /** - * @brief Get field connection_handle from event hci_subevent_le_connection_complete + * @brief Get field connection_handle from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE * @param event packet * @return connection_handle * @note: btstack_type H @@ -2431,7 +2431,7 @@ static inline hci_con_handle_t hci_subevent_le_connection_complete_get_connectio return little_endian_read_16(event, 4); } /** - * @brief Get field role from event hci_subevent_le_connection_complete + * @brief Get field role from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE * @param event packet * @return role * @note: btstack_type 1 @@ -2440,7 +2440,7 @@ static inline uint8_t hci_subevent_le_connection_complete_get_role(const uint8_t return event[6]; } /** - * @brief Get field peer_address_type from event hci_subevent_le_connection_complete + * @brief Get field peer_address_type from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE * @param event packet * @return peer_address_type * @note: btstack_type 1 @@ -2449,7 +2449,7 @@ static inline uint8_t hci_subevent_le_connection_complete_get_peer_address_type( return event[7]; } /** - * @brief Get field peer_address from event hci_subevent_le_connection_complete + * @brief Get field peer_address from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE * @param event packet * @param Pointer to storage for peer_address * @note: btstack_type B @@ -2458,7 +2458,7 @@ static inline void hci_subevent_le_connection_complete_get_peer_address(const ui reverse_bd_addr(&event[8], peer_address); } /** - * @brief Get field conn_interval from event hci_subevent_le_connection_complete + * @brief Get field conn_interval from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE * @param event packet * @return conn_interval * @note: btstack_type 2 @@ -2467,7 +2467,7 @@ static inline uint16_t hci_subevent_le_connection_complete_get_conn_interval(con return little_endian_read_16(event, 14); } /** - * @brief Get field conn_latency from event hci_subevent_le_connection_complete + * @brief Get field conn_latency from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE * @param event packet * @return conn_latency * @note: btstack_type 2 @@ -2476,7 +2476,7 @@ static inline uint16_t hci_subevent_le_connection_complete_get_conn_latency(cons return little_endian_read_16(event, 16); } /** - * @brief Get field supervision_timeout from event hci_subevent_le_connection_complete + * @brief Get field supervision_timeout from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE * @param event packet * @return supervision_timeout * @note: btstack_type 2 @@ -2485,7 +2485,7 @@ static inline uint16_t hci_subevent_le_connection_complete_get_supervision_timeo return little_endian_read_16(event, 18); } /** - * @brief Get field master_clock_accuracy from event hci_subevent_le_connection_complete + * @brief Get field master_clock_accuracy from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE * @param event packet * @return master_clock_accuracy * @note: btstack_type 1 @@ -2495,7 +2495,7 @@ static inline uint8_t hci_subevent_le_connection_complete_get_master_clock_accur } /** - * @brief Get field status from event hsp_subevent_rfcomm_connection_complete + * @brief Get field status from event HSP_SUBEVENT_RFCOMM_CONNECTION_COMPLETE * @param event packet * @return status * @note: btstack_type 1 @@ -2505,7 +2505,7 @@ static inline uint8_t hsp_subevent_rfcomm_connection_complete_get_status(const u } /** - * @brief Get field status from event hsp_subevent_rfcomm_disconnection_complete + * @brief Get field status from event HSP_SUBEVENT_RFCOMM_DISCONNECTION_COMPLETE * @param event packet * @return status * @note: btstack_type 1 @@ -2515,7 +2515,7 @@ static inline uint8_t hsp_subevent_rfcomm_disconnection_complete_get_status(cons } /** - * @brief Get field status from event hsp_subevent_audio_connection_complete + * @brief Get field status from event HSP_SUBEVENT_AUDIO_CONNECTION_COMPLETE * @param event packet * @return status * @note: btstack_type 1 @@ -2524,7 +2524,7 @@ static inline uint8_t hsp_subevent_audio_connection_complete_get_status(const ui return event[3]; } /** - * @brief Get field handle from event hsp_subevent_audio_connection_complete + * @brief Get field handle from event HSP_SUBEVENT_AUDIO_CONNECTION_COMPLETE * @param event packet * @return handle * @note: btstack_type H @@ -2534,7 +2534,7 @@ static inline hci_con_handle_t hsp_subevent_audio_connection_complete_get_handle } /** - * @brief Get field status from event hsp_subevent_audio_disconnection_complete + * @brief Get field status from event HSP_SUBEVENT_AUDIO_DISCONNECTION_COMPLETE * @param event packet * @return status * @note: btstack_type 1 @@ -2545,7 +2545,7 @@ static inline uint8_t hsp_subevent_audio_disconnection_complete_get_status(const /** - * @brief Get field gain from event hsp_subevent_microphone_gain_changed + * @brief Get field gain from event HSP_SUBEVENT_MICROPHONE_GAIN_CHANGED * @param event packet * @return gain * @note: btstack_type 1 @@ -2555,7 +2555,7 @@ static inline uint8_t hsp_subevent_microphone_gain_changed_get_gain(const uint8_ } /** - * @brief Get field gain from event hsp_subevent_speaker_gain_changed + * @brief Get field gain from event HSP_SUBEVENT_SPEAKER_GAIN_CHANGED * @param event packet * @return gain * @note: btstack_type 1 @@ -2565,7 +2565,7 @@ static inline uint8_t hsp_subevent_speaker_gain_changed_get_gain(const uint8_t * } /** - * @brief Get field value_length from event hsp_subevent_hs_command + * @brief Get field value_length from event HSP_SUBEVENT_HS_COMMAND * @param event packet * @return value_length * @note: btstack_type J @@ -2574,7 +2574,7 @@ static inline int hsp_subevent_hs_command_get_value_length(const uint8_t * event return event[3]; } /** - * @brief Get field value from event hsp_subevent_hs_command + * @brief Get field value from event HSP_SUBEVENT_HS_COMMAND * @param event packet * @return value * @note: btstack_type V @@ -2584,7 +2584,7 @@ static inline const uint8_t * hsp_subevent_hs_command_get_value(const uint8_t * } /** - * @brief Get field value_length from event hsp_subevent_ag_indication + * @brief Get field value_length from event HSP_SUBEVENT_AG_INDICATION * @param event packet * @return value_length * @note: btstack_type J @@ -2593,7 +2593,7 @@ static inline int hsp_subevent_ag_indication_get_value_length(const uint8_t * ev return event[3]; } /** - * @brief Get field value from event hsp_subevent_ag_indication + * @brief Get field value from event HSP_SUBEVENT_AG_INDICATION * @param event packet * @return value * @note: btstack_type V @@ -2603,7 +2603,7 @@ static inline const uint8_t * hsp_subevent_ag_indication_get_value(const uint8_t } /** - * @brief Get field status from event hfp_subevent_service_level_connection_established + * @brief Get field status from event HFP_SUBEVENT_SERVICE_LEVEL_CONNECTION_ESTABLISHED * @param event packet * @return status * @note: btstack_type 1 @@ -2614,7 +2614,7 @@ static inline uint8_t hfp_subevent_service_level_connection_established_get_stat /** - * @brief Get field status from event hfp_subevent_audio_connection_established + * @brief Get field status from event HFP_SUBEVENT_AUDIO_CONNECTION_ESTABLISHED * @param event packet * @return status * @note: btstack_type 1 @@ -2625,7 +2625,7 @@ static inline uint8_t hfp_subevent_audio_connection_established_get_status(const /** - * @brief Get field status from event hfp_subevent_complete + * @brief Get field status from event HFP_SUBEVENT_COMPLETE * @param event packet * @return status * @note: btstack_type 1 @@ -2635,7 +2635,7 @@ static inline uint8_t hfp_subevent_complete_get_status(const uint8_t * event){ } /** - * @brief Get field indicator_index from event hfp_subevent_ag_indicator_status_changed + * @brief Get field indicator_index from event HFP_SUBEVENT_AG_INDICATOR_STATUS_CHANGED * @param event packet * @return indicator_index * @note: btstack_type 1 @@ -2644,7 +2644,7 @@ static inline uint8_t hfp_subevent_ag_indicator_status_changed_get_indicator_ind return event[3]; } /** - * @brief Get field indicator_status from event hfp_subevent_ag_indicator_status_changed + * @brief Get field indicator_status from event HFP_SUBEVENT_AG_INDICATOR_STATUS_CHANGED * @param event packet * @return indicator_status * @note: btstack_type 1 @@ -2653,7 +2653,7 @@ static inline uint8_t hfp_subevent_ag_indicator_status_changed_get_indicator_sta return event[4]; } /** - * @brief Get field indicator_name from event hfp_subevent_ag_indicator_status_changed + * @brief Get field indicator_name from event HFP_SUBEVENT_AG_INDICATOR_STATUS_CHANGED * @param event packet * @return indicator_name * @note: btstack_type T @@ -2663,7 +2663,7 @@ static inline const char * hfp_subevent_ag_indicator_status_changed_get_indicato } /** - * @brief Get field network_operator_mode from event hfp_subevent_network_operator_changed + * @brief Get field network_operator_mode from event HFP_SUBEVENT_NETWORK_OPERATOR_CHANGED * @param event packet * @return network_operator_mode * @note: btstack_type 1 @@ -2672,7 +2672,7 @@ static inline uint8_t hfp_subevent_network_operator_changed_get_network_operator return event[3]; } /** - * @brief Get field network_operator_format from event hfp_subevent_network_operator_changed + * @brief Get field network_operator_format from event HFP_SUBEVENT_NETWORK_OPERATOR_CHANGED * @param event packet * @return network_operator_format * @note: btstack_type 1 @@ -2681,7 +2681,7 @@ static inline uint8_t hfp_subevent_network_operator_changed_get_network_operator return event[4]; } /** - * @brief Get field network_operator_name from event hfp_subevent_network_operator_changed + * @brief Get field network_operator_name from event HFP_SUBEVENT_NETWORK_OPERATOR_CHANGED * @param event packet * @return network_operator_name * @note: btstack_type 1 @@ -2691,7 +2691,7 @@ static inline uint8_t hfp_subevent_network_operator_changed_get_network_operator } /** - * @brief Get field error from event hfp_subevent_extended_audio_gateway_error + * @brief Get field error from event HFP_SUBEVENT_EXTENDED_AUDIO_GATEWAY_ERROR * @param event packet * @return error * @note: btstack_type 1 @@ -2701,7 +2701,7 @@ static inline uint8_t hfp_subevent_extended_audio_gateway_error_get_error(const } /** - * @brief Get field status from event hfp_subevent_codecs_connection_complete + * @brief Get field status from event HFP_SUBEVENT_CODECS_CONNECTION_COMPLETE * @param event packet * @return status * @note: btstack_type 1 @@ -2714,7 +2714,7 @@ static inline uint8_t hfp_subevent_codecs_connection_complete_get_status(const u /** - * @brief Get field number from event hfp_subevent_place_call_with_number + * @brief Get field number from event HFP_SUBEVENT_PLACE_CALL_WITH_NUMBER * @param event packet * @return number * @note: btstack_type T @@ -2725,7 +2725,7 @@ static inline const char * hfp_subevent_place_call_with_number_get_number(const /** - * @brief Get field number from event hfp_subevent_number_for_voice_tag + * @brief Get field number from event HFP_SUBEVENT_NUMBER_FOR_VOICE_TAG * @param event packet * @return number * @note: btstack_type T @@ -2735,7 +2735,7 @@ static inline const char * hfp_subevent_number_for_voice_tag_get_number(const ui } /** - * @brief Get field dtmf from event hfp_subevent_transmit_dtmf_codes + * @brief Get field dtmf from event HFP_SUBEVENT_TRANSMIT_DTMF_CODES * @param event packet * @return dtmf * @note: btstack_type T @@ -2748,7 +2748,7 @@ static inline const char * hfp_subevent_transmit_dtmf_codes_get_dtmf(const uint8 /** - * @brief Get field status from event hfp_subevent_speaker_volume + * @brief Get field status from event HFP_SUBEVENT_SPEAKER_VOLUME * @param event packet * @return status * @note: btstack_type 1 @@ -2757,7 +2757,7 @@ static inline uint8_t hfp_subevent_speaker_volume_get_status(const uint8_t * eve return event[3]; } /** - * @brief Get field gain from event hfp_subevent_speaker_volume + * @brief Get field gain from event HFP_SUBEVENT_SPEAKER_VOLUME * @param event packet * @return gain * @note: btstack_type 1 @@ -2767,7 +2767,7 @@ static inline uint8_t hfp_subevent_speaker_volume_get_gain(const uint8_t * event } /** - * @brief Get field status from event hfp_subevent_microphone_volume + * @brief Get field status from event HFP_SUBEVENT_MICROPHONE_VOLUME * @param event packet * @return status * @note: btstack_type 1 @@ -2776,7 +2776,7 @@ static inline uint8_t hfp_subevent_microphone_volume_get_status(const uint8_t * return event[3]; } /** - * @brief Get field gain from event hfp_subevent_microphone_volume + * @brief Get field gain from event HFP_SUBEVENT_MICROPHONE_VOLUME * @param event packet * @return gain * @note: btstack_type 1 @@ -2786,7 +2786,7 @@ static inline uint8_t hfp_subevent_microphone_volume_get_gain(const uint8_t * ev } /** - * @brief Get field type from event hfp_subevent_call_waiting_notification + * @brief Get field type from event HFP_SUBEVENT_CALL_WAITING_NOTIFICATION * @param event packet * @return type * @note: btstack_type 1 @@ -2795,7 +2795,7 @@ static inline uint8_t hfp_subevent_call_waiting_notification_get_type(const uint return event[3]; } /** - * @brief Get field number from event hfp_subevent_call_waiting_notification + * @brief Get field number from event HFP_SUBEVENT_CALL_WAITING_NOTIFICATION * @param event packet * @return number * @note: btstack_type T @@ -2805,7 +2805,7 @@ static inline const char * hfp_subevent_call_waiting_notification_get_number(con } /** - * @brief Get field type from event hfp_subevent_calling_line_indetification_notification + * @brief Get field type from event HFP_SUBEVENT_CALLING_LINE_INDETIFICATION_NOTIFICATION * @param event packet * @return type * @note: btstack_type 1 @@ -2814,7 +2814,7 @@ static inline uint8_t hfp_subevent_calling_line_indetification_notification_get_ return event[3]; } /** - * @brief Get field number from event hfp_subevent_calling_line_indetification_notification + * @brief Get field number from event HFP_SUBEVENT_CALLING_LINE_INDETIFICATION_NOTIFICATION * @param event packet * @return number * @note: btstack_type T @@ -2824,7 +2824,7 @@ static inline const char * hfp_subevent_calling_line_indetification_notification } /** - * @brief Get field clcc_idx from event hfp_subevent_enhanced_call_status + * @brief Get field clcc_idx from event HFP_SUBEVENT_ENHANCED_CALL_STATUS * @param event packet * @return clcc_idx * @note: btstack_type 1 @@ -2833,7 +2833,7 @@ static inline uint8_t hfp_subevent_enhanced_call_status_get_clcc_idx(const uint8 return event[3]; } /** - * @brief Get field clcc_dir from event hfp_subevent_enhanced_call_status + * @brief Get field clcc_dir from event HFP_SUBEVENT_ENHANCED_CALL_STATUS * @param event packet * @return clcc_dir * @note: btstack_type 1 @@ -2842,7 +2842,7 @@ static inline uint8_t hfp_subevent_enhanced_call_status_get_clcc_dir(const uint8 return event[4]; } /** - * @brief Get field clcc_status from event hfp_subevent_enhanced_call_status + * @brief Get field clcc_status from event HFP_SUBEVENT_ENHANCED_CALL_STATUS * @param event packet * @return clcc_status * @note: btstack_type 1 @@ -2851,7 +2851,7 @@ static inline uint8_t hfp_subevent_enhanced_call_status_get_clcc_status(const ui return event[5]; } /** - * @brief Get field clcc_mpty from event hfp_subevent_enhanced_call_status + * @brief Get field clcc_mpty from event HFP_SUBEVENT_ENHANCED_CALL_STATUS * @param event packet * @return clcc_mpty * @note: btstack_type 1 @@ -2860,7 +2860,7 @@ static inline uint8_t hfp_subevent_enhanced_call_status_get_clcc_mpty(const uint return event[6]; } /** - * @brief Get field bnip_type from event hfp_subevent_enhanced_call_status + * @brief Get field bnip_type from event HFP_SUBEVENT_ENHANCED_CALL_STATUS * @param event packet * @return bnip_type * @note: btstack_type 1 @@ -2869,7 +2869,7 @@ static inline uint8_t hfp_subevent_enhanced_call_status_get_bnip_type(const uint return event[7]; } /** - * @brief Get field bnip_number from event hfp_subevent_enhanced_call_status + * @brief Get field bnip_number from event HFP_SUBEVENT_ENHANCED_CALL_STATUS * @param event packet * @return bnip_number * @note: btstack_type T @@ -2879,7 +2879,7 @@ static inline const char * hfp_subevent_enhanced_call_status_get_bnip_number(con } /** - * @brief Get field status from event hfp_subevent_subscriber_number_information + * @brief Get field status from event HFP_SUBEVENT_SUBSCRIBER_NUMBER_INFORMATION * @param event packet * @return status * @note: btstack_type 1 @@ -2888,7 +2888,7 @@ static inline uint8_t hfp_subevent_subscriber_number_information_get_status(cons return event[3]; } /** - * @brief Get field bnip_type from event hfp_subevent_subscriber_number_information + * @brief Get field bnip_type from event HFP_SUBEVENT_SUBSCRIBER_NUMBER_INFORMATION * @param event packet * @return bnip_type * @note: btstack_type 1 @@ -2897,7 +2897,7 @@ static inline uint8_t hfp_subevent_subscriber_number_information_get_bnip_type(c return event[4]; } /** - * @brief Get field bnip_number from event hfp_subevent_subscriber_number_information + * @brief Get field bnip_number from event HFP_SUBEVENT_SUBSCRIBER_NUMBER_INFORMATION * @param event packet * @return bnip_number * @note: btstack_type T @@ -2907,7 +2907,7 @@ static inline const char * hfp_subevent_subscriber_number_information_get_bnip_n } /** - * @brief Get field value from event hfp_subevent_response_and_hold_status + * @brief Get field value from event HFP_SUBEVENT_RESPONSE_AND_HOLD_STATUS * @param event packet * @return value * @note: btstack_type T @@ -2918,7 +2918,7 @@ static inline const char * hfp_subevent_response_and_hold_status_get_value(const #ifdef ENABLE_BLE /** - * @brief Get field handle from event ancs_subevent_client_connected + * @brief Get field handle from event ANCS_SUBEVENT_CLIENT_CONNECTED * @param event packet * @return handle * @note: btstack_type H @@ -2930,7 +2930,7 @@ static inline hci_con_handle_t ancs_subevent_client_connected_get_handle(const u #ifdef ENABLE_BLE /** - * @brief Get field handle from event ancs_subevent_client_notification + * @brief Get field handle from event ANCS_SUBEVENT_CLIENT_NOTIFICATION * @param event packet * @return handle * @note: btstack_type H @@ -2939,7 +2939,7 @@ static inline hci_con_handle_t ancs_subevent_client_notification_get_handle(cons return little_endian_read_16(event, 3); } /** - * @brief Get field attribute_id from event ancs_subevent_client_notification + * @brief Get field attribute_id from event ANCS_SUBEVENT_CLIENT_NOTIFICATION * @param event packet * @return attribute_id * @note: btstack_type 2 @@ -2948,7 +2948,7 @@ static inline uint16_t ancs_subevent_client_notification_get_attribute_id(const return little_endian_read_16(event, 5); } /** - * @brief Get field text from event ancs_subevent_client_notification + * @brief Get field text from event ANCS_SUBEVENT_CLIENT_NOTIFICATION * @param event packet * @return text * @note: btstack_type T @@ -2960,7 +2960,7 @@ static inline const char * ancs_subevent_client_notification_get_text(const uint #ifdef ENABLE_BLE /** - * @brief Get field handle from event ancs_subevent_client_disconnected + * @brief Get field handle from event ANCS_SUBEVENT_CLIENT_DISCONNECTED * @param event packet * @return handle * @note: btstack_type H diff --git a/tool/btstack_event_generator.py b/tool/btstack_event_generator.py index 901164dab..b4b676f82 100755 --- a/tool/btstack_event_generator.py +++ b/tool/btstack_event_generator.py @@ -205,7 +205,7 @@ def create_getter(event_name, field_name, field_type, offset, supported): global c_prototoype_unsupported global param_read - description = "Get field %s from event %s" % (field_name, event_name) + description = "Get field %s from event %s" % (field_name, event_name.upper()) result_name = field_name fn_name = "%s_get_%s" % (event_name, field_name) result_type = c_type_for_btstack_type(field_type)