btstack_event.h (71af96a130946aa0e82f8cf9e24500f7c12f5e48) btstack_event.h (36c1abd2e3dfcb4ed9d5d01ebb0a0d26fe7ec6f4)
1/*
2 * Copyright (C) 2016 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 169 unchanged lines hidden (view full) ---

178}
179/**
180 * @brief Get field bd_addr from event HCI_EVENT_INQUIRY_RESULT
181 * @param event packet
182 * @param Pointer to storage for bd_addr
183 * @note: btstack_type B
184 */
185static inline void hci_event_inquiry_result_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
1/*
2 * Copyright (C) 2016 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 169 unchanged lines hidden (view full) ---

178}
179/**
180 * @brief Get field bd_addr from event HCI_EVENT_INQUIRY_RESULT
181 * @param event packet
182 * @param Pointer to storage for bd_addr
183 * @note: btstack_type B
184 */
185static inline void hci_event_inquiry_result_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
186 reverse_bd_addr(&event[3], bd_addr);
186 reverse_bd_addr(&event[3], bd_addr);
187}
188/**
189 * @brief Get field page_scan_repetition_mode from event HCI_EVENT_INQUIRY_RESULT
190 * @param event packet
191 * @return page_scan_repetition_mode
192 * @note: btstack_type 1
193 */
194static inline uint8_t hci_event_inquiry_result_get_page_scan_repetition_mode(const uint8_t * event){

--- 56 unchanged lines hidden (view full) ---

251}
252/**
253 * @brief Get field bd_addr from event HCI_EVENT_CONNECTION_COMPLETE
254 * @param event packet
255 * @param Pointer to storage for bd_addr
256 * @note: btstack_type B
257 */
258static inline void hci_event_connection_complete_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
187}
188/**
189 * @brief Get field page_scan_repetition_mode from event HCI_EVENT_INQUIRY_RESULT
190 * @param event packet
191 * @return page_scan_repetition_mode
192 * @note: btstack_type 1
193 */
194static inline uint8_t hci_event_inquiry_result_get_page_scan_repetition_mode(const uint8_t * event){

--- 56 unchanged lines hidden (view full) ---

251}
252/**
253 * @brief Get field bd_addr from event HCI_EVENT_CONNECTION_COMPLETE
254 * @param event packet
255 * @param Pointer to storage for bd_addr
256 * @note: btstack_type B
257 */
258static inline void hci_event_connection_complete_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
259 reverse_bd_addr(&event[5], bd_addr);
259 reverse_bd_addr(&event[5], bd_addr);
260}
261/**
262 * @brief Get field link_type from event HCI_EVENT_CONNECTION_COMPLETE
263 * @param event packet
264 * @return link_type
265 * @note: btstack_type 1
266 */
267static inline uint8_t hci_event_connection_complete_get_link_type(const uint8_t * event){

--- 11 unchanged lines hidden (view full) ---

279
280/**
281 * @brief Get field bd_addr from event HCI_EVENT_CONNECTION_REQUEST
282 * @param event packet
283 * @param Pointer to storage for bd_addr
284 * @note: btstack_type B
285 */
286static inline void hci_event_connection_request_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
260}
261/**
262 * @brief Get field link_type from event HCI_EVENT_CONNECTION_COMPLETE
263 * @param event packet
264 * @return link_type
265 * @note: btstack_type 1
266 */
267static inline uint8_t hci_event_connection_complete_get_link_type(const uint8_t * event){

--- 11 unchanged lines hidden (view full) ---

279
280/**
281 * @brief Get field bd_addr from event HCI_EVENT_CONNECTION_REQUEST
282 * @param event packet
283 * @param Pointer to storage for bd_addr
284 * @note: btstack_type B
285 */
286static inline void hci_event_connection_request_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
287 reverse_bd_addr(&event[2], bd_addr);
287 reverse_bd_addr(&event[2], bd_addr);
288}
289/**
290 * @brief Get field class_of_device from event HCI_EVENT_CONNECTION_REQUEST
291 * @param event packet
292 * @return class_of_device
293 * @note: btstack_type 3
294 */
295static inline uint32_t hci_event_connection_request_get_class_of_device(const uint8_t * event){

--- 67 unchanged lines hidden (view full) ---

363}
364/**
365 * @brief Get field bd_addr from event HCI_EVENT_REMOTE_NAME_REQUEST_COMPLETE
366 * @param event packet
367 * @param Pointer to storage for bd_addr
368 * @note: btstack_type B
369 */
370static inline void hci_event_remote_name_request_complete_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
288}
289/**
290 * @brief Get field class_of_device from event HCI_EVENT_CONNECTION_REQUEST
291 * @param event packet
292 * @return class_of_device
293 * @note: btstack_type 3
294 */
295static inline uint32_t hci_event_connection_request_get_class_of_device(const uint8_t * event){

--- 67 unchanged lines hidden (view full) ---

363}
364/**
365 * @brief Get field bd_addr from event HCI_EVENT_REMOTE_NAME_REQUEST_COMPLETE
366 * @param event packet
367 * @param Pointer to storage for bd_addr
368 * @note: btstack_type B
369 */
370static inline void hci_event_remote_name_request_complete_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
371 reverse_bd_addr(&event[3], bd_addr);
371 reverse_bd_addr(&event[3], bd_addr);
372}
373/**
374 * @brief Get field remote_name from event HCI_EVENT_REMOTE_NAME_REQUEST_COMPLETE
375 * @param event packet
376 * @return remote_name
377 * @note: btstack_type N
378 */
379static inline const char * hci_event_remote_name_request_complete_get_remote_name(const uint8_t * event){

--- 152 unchanged lines hidden (view full) ---

532}
533/**
534 * @brief Get field bd_addr from event HCI_EVENT_ROLE_CHANGE
535 * @param event packet
536 * @param Pointer to storage for bd_addr
537 * @note: btstack_type B
538 */
539static inline void hci_event_role_change_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
372}
373/**
374 * @brief Get field remote_name from event HCI_EVENT_REMOTE_NAME_REQUEST_COMPLETE
375 * @param event packet
376 * @return remote_name
377 * @note: btstack_type N
378 */
379static inline const char * hci_event_remote_name_request_complete_get_remote_name(const uint8_t * event){

--- 152 unchanged lines hidden (view full) ---

532}
533/**
534 * @brief Get field bd_addr from event HCI_EVENT_ROLE_CHANGE
535 * @param event packet
536 * @param Pointer to storage for bd_addr
537 * @note: btstack_type B
538 */
539static inline void hci_event_role_change_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
540 reverse_bd_addr(&event[3], bd_addr);
540 reverse_bd_addr(&event[3], bd_addr);
541}
542/**
543 * @brief Get field role from event HCI_EVENT_ROLE_CHANGE
544 * @param event packet
545 * @return role
546 * @note: btstack_type 1
547 */
548static inline uint8_t hci_event_role_change_get_role(const uint8_t * event){

--- 39 unchanged lines hidden (view full) ---

588
589/**
590 * @brief Get field bd_addr from event HCI_EVENT_PIN_CODE_REQUEST
591 * @param event packet
592 * @param Pointer to storage for bd_addr
593 * @note: btstack_type B
594 */
595static inline void hci_event_pin_code_request_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
541}
542/**
543 * @brief Get field role from event HCI_EVENT_ROLE_CHANGE
544 * @param event packet
545 * @return role
546 * @note: btstack_type 1
547 */
548static inline uint8_t hci_event_role_change_get_role(const uint8_t * event){

--- 39 unchanged lines hidden (view full) ---

588
589/**
590 * @brief Get field bd_addr from event HCI_EVENT_PIN_CODE_REQUEST
591 * @param event packet
592 * @param Pointer to storage for bd_addr
593 * @note: btstack_type B
594 */
595static inline void hci_event_pin_code_request_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
596 reverse_bd_addr(&event[2], bd_addr);
596 reverse_bd_addr(&event[2], bd_addr);
597}
598
599/**
600 * @brief Get field bd_addr from event HCI_EVENT_LINK_KEY_REQUEST
601 * @param event packet
602 * @param Pointer to storage for bd_addr
603 * @note: btstack_type B
604 */
605static inline void hci_event_link_key_request_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
597}
598
599/**
600 * @brief Get field bd_addr from event HCI_EVENT_LINK_KEY_REQUEST
601 * @param event packet
602 * @param Pointer to storage for bd_addr
603 * @note: btstack_type B
604 */
605static inline void hci_event_link_key_request_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
606 reverse_bd_addr(&event[2], bd_addr);
606 reverse_bd_addr(&event[2], bd_addr);
607}
608
609/**
610 * @brief Get field link_type from event HCI_EVENT_DATA_BUFFER_OVERFLOW
611 * @param event packet
612 * @return link_type
613 * @note: btstack_type 1
614 */

--- 87 unchanged lines hidden (view full) ---

702}
703/**
704 * @brief Get field bd_addr from event HCI_EVENT_INQUIRY_RESULT_WITH_RSSI
705 * @param event packet
706 * @param Pointer to storage for bd_addr
707 * @note: btstack_type B
708 */
709static inline void hci_event_inquiry_result_with_rssi_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
607}
608
609/**
610 * @brief Get field link_type from event HCI_EVENT_DATA_BUFFER_OVERFLOW
611 * @param event packet
612 * @return link_type
613 * @note: btstack_type 1
614 */

--- 87 unchanged lines hidden (view full) ---

702}
703/**
704 * @brief Get field bd_addr from event HCI_EVENT_INQUIRY_RESULT_WITH_RSSI
705 * @param event packet
706 * @param Pointer to storage for bd_addr
707 * @note: btstack_type B
708 */
709static inline void hci_event_inquiry_result_with_rssi_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
710 reverse_bd_addr(&event[3], bd_addr);
710 reverse_bd_addr(&event[3], bd_addr);
711}
712/**
713 * @brief Get field page_scan_repetition_mode from event HCI_EVENT_INQUIRY_RESULT_WITH_RSSI
714 * @param event packet
715 * @return page_scan_repetition_mode
716 * @note: btstack_type 1
717 */
718static inline uint8_t hci_event_inquiry_result_with_rssi_get_page_scan_repetition_mode(const uint8_t * event){

--- 56 unchanged lines hidden (view full) ---

775}
776/**
777 * @brief Get field bd_addr from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE
778 * @param event packet
779 * @param Pointer to storage for bd_addr
780 * @note: btstack_type B
781 */
782static inline void hci_event_synchronous_connection_complete_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
711}
712/**
713 * @brief Get field page_scan_repetition_mode from event HCI_EVENT_INQUIRY_RESULT_WITH_RSSI
714 * @param event packet
715 * @return page_scan_repetition_mode
716 * @note: btstack_type 1
717 */
718static inline uint8_t hci_event_inquiry_result_with_rssi_get_page_scan_repetition_mode(const uint8_t * event){

--- 56 unchanged lines hidden (view full) ---

775}
776/**
777 * @brief Get field bd_addr from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE
778 * @param event packet
779 * @param Pointer to storage for bd_addr
780 * @note: btstack_type B
781 */
782static inline void hci_event_synchronous_connection_complete_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
783 reverse_bd_addr(&event[5], bd_addr);
783 reverse_bd_addr(&event[5], bd_addr);
784}
785/**
786 * @brief Get field link_type from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE
787 * @param event packet
788 * @return link_type
789 * @note: btstack_type 1
790 */
791static inline uint8_t hci_event_synchronous_connection_complete_get_link_type(const uint8_t * event){

--- 56 unchanged lines hidden (view full) ---

848}
849/**
850 * @brief Get field bd_addr from event HCI_EVENT_EXTENDED_INQUIRY_RESPONSE
851 * @param event packet
852 * @param Pointer to storage for bd_addr
853 * @note: btstack_type B
854 */
855static inline void hci_event_extended_inquiry_response_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
784}
785/**
786 * @brief Get field link_type from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE
787 * @param event packet
788 * @return link_type
789 * @note: btstack_type 1
790 */
791static inline uint8_t hci_event_synchronous_connection_complete_get_link_type(const uint8_t * event){

--- 56 unchanged lines hidden (view full) ---

848}
849/**
850 * @brief Get field bd_addr from event HCI_EVENT_EXTENDED_INQUIRY_RESPONSE
851 * @param event packet
852 * @param Pointer to storage for bd_addr
853 * @note: btstack_type B
854 */
855static inline void hci_event_extended_inquiry_response_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
856 reverse_bd_addr(&event[3], bd_addr);
856 reverse_bd_addr(&event[3], bd_addr);
857}
858/**
859 * @brief Get field page_scan_repetition_mode from event HCI_EVENT_EXTENDED_INQUIRY_RESPONSE
860 * @param event packet
861 * @return page_scan_repetition_mode
862 * @note: btstack_type 1
863 */
864static inline uint8_t hci_event_extended_inquiry_response_get_page_scan_repetition_mode(const uint8_t * event){

--- 57 unchanged lines hidden (view full) ---

922
923/**
924 * @brief Get field bd_addr from event HCI_EVENT_USER_CONFIRMATION_REQUEST
925 * @param event packet
926 * @param Pointer to storage for bd_addr
927 * @note: btstack_type B
928 */
929static inline void hci_event_user_confirmation_request_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
857}
858/**
859 * @brief Get field page_scan_repetition_mode from event HCI_EVENT_EXTENDED_INQUIRY_RESPONSE
860 * @param event packet
861 * @return page_scan_repetition_mode
862 * @note: btstack_type 1
863 */
864static inline uint8_t hci_event_extended_inquiry_response_get_page_scan_repetition_mode(const uint8_t * event){

--- 57 unchanged lines hidden (view full) ---

922
923/**
924 * @brief Get field bd_addr from event HCI_EVENT_USER_CONFIRMATION_REQUEST
925 * @param event packet
926 * @param Pointer to storage for bd_addr
927 * @note: btstack_type B
928 */
929static inline void hci_event_user_confirmation_request_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
930 reverse_bd_addr(&event[2], bd_addr);
930 reverse_bd_addr(&event[2], bd_addr);
931}
932/**
933 * @brief Get field numeric_value from event HCI_EVENT_USER_CONFIRMATION_REQUEST
934 * @param event packet
935 * @return numeric_value
936 * @note: btstack_type 4
937 */
938static inline uint32_t hci_event_user_confirmation_request_get_numeric_value(const uint8_t * event){
939 return little_endian_read_32(event, 8);
940}
941
942/**
943 * @brief Get field bd_addr from event HCI_EVENT_USER_PASSKEY_REQUEST
944 * @param event packet
945 * @param Pointer to storage for bd_addr
946 * @note: btstack_type B
947 */
948static inline void hci_event_user_passkey_request_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
931}
932/**
933 * @brief Get field numeric_value from event HCI_EVENT_USER_CONFIRMATION_REQUEST
934 * @param event packet
935 * @return numeric_value
936 * @note: btstack_type 4
937 */
938static inline uint32_t hci_event_user_confirmation_request_get_numeric_value(const uint8_t * event){
939 return little_endian_read_32(event, 8);
940}
941
942/**
943 * @brief Get field bd_addr from event HCI_EVENT_USER_PASSKEY_REQUEST
944 * @param event packet
945 * @param Pointer to storage for bd_addr
946 * @note: btstack_type B
947 */
948static inline void hci_event_user_passkey_request_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
949 reverse_bd_addr(&event[2], bd_addr);
949 reverse_bd_addr(&event[2], bd_addr);
950}
951
952/**
953 * @brief Get field bd_addr from event HCI_EVENT_REMOTE_OOB_DATA_REQUEST
954 * @param event packet
955 * @param Pointer to storage for bd_addr
956 * @note: btstack_type B
957 */
958static inline void hci_event_remote_oob_data_request_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
950}
951
952/**
953 * @brief Get field bd_addr from event HCI_EVENT_REMOTE_OOB_DATA_REQUEST
954 * @param event packet
955 * @param Pointer to storage for bd_addr
956 * @note: btstack_type B
957 */
958static inline void hci_event_remote_oob_data_request_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
959 reverse_bd_addr(&event[2], bd_addr);
959 reverse_bd_addr(&event[2], bd_addr);
960}
961
962/**
963 * @brief Get field status from event HCI_EVENT_SIMPLE_PAIRING_COMPLETE
964 * @param event packet
965 * @return status
966 * @note: btstack_type 1
967 */
968static inline uint8_t hci_event_simple_pairing_complete_get_status(const uint8_t * event){
969 return event[2];
970}
971/**
972 * @brief Get field bd_addr from event HCI_EVENT_SIMPLE_PAIRING_COMPLETE
973 * @param event packet
974 * @param Pointer to storage for bd_addr
975 * @note: btstack_type B
976 */
977static inline void hci_event_simple_pairing_complete_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
960}
961
962/**
963 * @brief Get field status from event HCI_EVENT_SIMPLE_PAIRING_COMPLETE
964 * @param event packet
965 * @return status
966 * @note: btstack_type 1
967 */
968static inline uint8_t hci_event_simple_pairing_complete_get_status(const uint8_t * event){
969 return event[2];
970}
971/**
972 * @brief Get field bd_addr from event HCI_EVENT_SIMPLE_PAIRING_COMPLETE
973 * @param event packet
974 * @param Pointer to storage for bd_addr
975 * @note: btstack_type B
976 */
977static inline void hci_event_simple_pairing_complete_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
978 reverse_bd_addr(&event[3], bd_addr);
978 reverse_bd_addr(&event[3], bd_addr);
979}
980
981/**
982 * @brief Get field state from event BTSTACK_EVENT_STATE
983 * @param event packet
984 * @return state
985 * @note: btstack_type 1
986 */

--- 34 unchanged lines hidden (view full) ---

1021
1022/**
1023 * @brief Get field handle from event HCI_EVENT_SCO_CAN_SEND_NOW
1024 * @param event packet
1025 * @param Pointer to storage for handle
1026 * @note: btstack_type B
1027 */
1028static inline void hci_event_sco_can_send_now_get_handle(const uint8_t * event, bd_addr_t handle){
979}
980
981/**
982 * @brief Get field state from event BTSTACK_EVENT_STATE
983 * @param event packet
984 * @return state
985 * @note: btstack_type 1
986 */

--- 34 unchanged lines hidden (view full) ---

1021
1022/**
1023 * @brief Get field handle from event HCI_EVENT_SCO_CAN_SEND_NOW
1024 * @param event packet
1025 * @param Pointer to storage for handle
1026 * @note: btstack_type B
1027 */
1028static inline void hci_event_sco_can_send_now_get_handle(const uint8_t * event, bd_addr_t handle){
1029 reverse_bd_addr(&event[2], handle);
1029 reverse_bd_addr(&event[2], handle);
1030}
1031
1032/**
1033 * @brief Get field status from event L2CAP_EVENT_CHANNEL_OPENED
1034 * @param event packet
1035 * @return status
1036 * @note: btstack_type 1
1037 */
1038static inline uint8_t l2cap_event_channel_opened_get_status(const uint8_t * event){
1039 return event[2];
1040}
1041/**
1042 * @brief Get field address from event L2CAP_EVENT_CHANNEL_OPENED
1043 * @param event packet
1044 * @param Pointer to storage for address
1045 * @note: btstack_type B
1046 */
1047static inline void l2cap_event_channel_opened_get_address(const uint8_t * event, bd_addr_t address){
1030}
1031
1032/**
1033 * @brief Get field status from event L2CAP_EVENT_CHANNEL_OPENED
1034 * @param event packet
1035 * @return status
1036 * @note: btstack_type 1
1037 */
1038static inline uint8_t l2cap_event_channel_opened_get_status(const uint8_t * event){
1039 return event[2];
1040}
1041/**
1042 * @brief Get field address from event L2CAP_EVENT_CHANNEL_OPENED
1043 * @param event packet
1044 * @param Pointer to storage for address
1045 * @note: btstack_type B
1046 */
1047static inline void l2cap_event_channel_opened_get_address(const uint8_t * event, bd_addr_t address){
1048 reverse_bd_addr(&event[3], address);
1048 reverse_bd_addr(&event[3], address);
1049}
1050/**
1051 * @brief Get field handle from event L2CAP_EVENT_CHANNEL_OPENED
1052 * @param event packet
1053 * @return handle
1054 * @note: btstack_type H
1055 */
1056static inline hci_con_handle_t l2cap_event_channel_opened_get_handle(const uint8_t * event){

--- 75 unchanged lines hidden (view full) ---

1132
1133/**
1134 * @brief Get field address from event L2CAP_EVENT_INCOMING_CONNECTION
1135 * @param event packet
1136 * @param Pointer to storage for address
1137 * @note: btstack_type B
1138 */
1139static inline void l2cap_event_incoming_connection_get_address(const uint8_t * event, bd_addr_t address){
1049}
1050/**
1051 * @brief Get field handle from event L2CAP_EVENT_CHANNEL_OPENED
1052 * @param event packet
1053 * @return handle
1054 * @note: btstack_type H
1055 */
1056static inline hci_con_handle_t l2cap_event_channel_opened_get_handle(const uint8_t * event){

--- 75 unchanged lines hidden (view full) ---

1132
1133/**
1134 * @brief Get field address from event L2CAP_EVENT_INCOMING_CONNECTION
1135 * @param event packet
1136 * @param Pointer to storage for address
1137 * @note: btstack_type B
1138 */
1139static inline void l2cap_event_incoming_connection_get_address(const uint8_t * event, bd_addr_t address){
1140 reverse_bd_addr(&event[2], address);
1140 reverse_bd_addr(&event[2], address);
1141}
1142/**
1143 * @brief Get field handle from event L2CAP_EVENT_INCOMING_CONNECTION
1144 * @param event packet
1145 * @return handle
1146 * @note: btstack_type H
1147 */
1148static inline hci_con_handle_t l2cap_event_incoming_connection_get_handle(const uint8_t * event){

--- 113 unchanged lines hidden (view full) ---

1262}
1263/**
1264 * @brief Get field address from event L2CAP_EVENT_LE_INCOMING_CONNECTION
1265 * @param event packet
1266 * @param Pointer to storage for address
1267 * @note: btstack_type B
1268 */
1269static inline void l2cap_event_le_incoming_connection_get_address(const uint8_t * event, bd_addr_t address){
1141}
1142/**
1143 * @brief Get field handle from event L2CAP_EVENT_INCOMING_CONNECTION
1144 * @param event packet
1145 * @return handle
1146 * @note: btstack_type H
1147 */
1148static inline hci_con_handle_t l2cap_event_incoming_connection_get_handle(const uint8_t * event){

--- 113 unchanged lines hidden (view full) ---

1262}
1263/**
1264 * @brief Get field address from event L2CAP_EVENT_LE_INCOMING_CONNECTION
1265 * @param event packet
1266 * @param Pointer to storage for address
1267 * @note: btstack_type B
1268 */
1269static inline void l2cap_event_le_incoming_connection_get_address(const uint8_t * event, bd_addr_t address){
1270 reverse_bd_addr(&event[3], address);
1270 reverse_bd_addr(&event[3], address);
1271}
1272/**
1273 * @brief Get field handle from event L2CAP_EVENT_LE_INCOMING_CONNECTION
1274 * @param event packet
1275 * @return handle
1276 * @note: btstack_type H
1277 */
1278static inline hci_con_handle_t l2cap_event_le_incoming_connection_get_handle(const uint8_t * event){

--- 56 unchanged lines hidden (view full) ---

1335}
1336/**
1337 * @brief Get field address from event L2CAP_EVENT_LE_CHANNEL_OPENED
1338 * @param event packet
1339 * @param Pointer to storage for address
1340 * @note: btstack_type B
1341 */
1342static inline void l2cap_event_le_channel_opened_get_address(const uint8_t * event, bd_addr_t address){
1271}
1272/**
1273 * @brief Get field handle from event L2CAP_EVENT_LE_INCOMING_CONNECTION
1274 * @param event packet
1275 * @return handle
1276 * @note: btstack_type H
1277 */
1278static inline hci_con_handle_t l2cap_event_le_incoming_connection_get_handle(const uint8_t * event){

--- 56 unchanged lines hidden (view full) ---

1335}
1336/**
1337 * @brief Get field address from event L2CAP_EVENT_LE_CHANNEL_OPENED
1338 * @param event packet
1339 * @param Pointer to storage for address
1340 * @note: btstack_type B
1341 */
1342static inline void l2cap_event_le_channel_opened_get_address(const uint8_t * event, bd_addr_t address){
1343 reverse_bd_addr(&event[4], address);
1343 reverse_bd_addr(&event[4], address);
1344}
1345/**
1346 * @brief Get field handle from event L2CAP_EVENT_LE_CHANNEL_OPENED
1347 * @param event packet
1348 * @return handle
1349 * @note: btstack_type H
1350 */
1351static inline hci_con_handle_t l2cap_event_le_channel_opened_get_handle(const uint8_t * event){

--- 95 unchanged lines hidden (view full) ---

1447}
1448/**
1449 * @brief Get field bd_addr from event RFCOMM_EVENT_CHANNEL_OPENED
1450 * @param event packet
1451 * @param Pointer to storage for bd_addr
1452 * @note: btstack_type B
1453 */
1454static inline void rfcomm_event_channel_opened_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
1344}
1345/**
1346 * @brief Get field handle from event L2CAP_EVENT_LE_CHANNEL_OPENED
1347 * @param event packet
1348 * @return handle
1349 * @note: btstack_type H
1350 */
1351static inline hci_con_handle_t l2cap_event_le_channel_opened_get_handle(const uint8_t * event){

--- 95 unchanged lines hidden (view full) ---

1447}
1448/**
1449 * @brief Get field bd_addr from event RFCOMM_EVENT_CHANNEL_OPENED
1450 * @param event packet
1451 * @param Pointer to storage for bd_addr
1452 * @note: btstack_type B
1453 */
1454static inline void rfcomm_event_channel_opened_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
1455 reverse_bd_addr(&event[3], bd_addr);
1455 reverse_bd_addr(&event[3], bd_addr);
1456}
1457/**
1458 * @brief Get field con_handle from event RFCOMM_EVENT_CHANNEL_OPENED
1459 * @param event packet
1460 * @return con_handle
1461 * @note: btstack_type 2
1462 */
1463static inline uint16_t rfcomm_event_channel_opened_get_con_handle(const uint8_t * event){

--- 48 unchanged lines hidden (view full) ---

1512
1513/**
1514 * @brief Get field bd_addr from event RFCOMM_EVENT_INCOMING_CONNECTION
1515 * @param event packet
1516 * @param Pointer to storage for bd_addr
1517 * @note: btstack_type B
1518 */
1519static inline void rfcomm_event_incoming_connection_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
1456}
1457/**
1458 * @brief Get field con_handle from event RFCOMM_EVENT_CHANNEL_OPENED
1459 * @param event packet
1460 * @return con_handle
1461 * @note: btstack_type 2
1462 */
1463static inline uint16_t rfcomm_event_channel_opened_get_con_handle(const uint8_t * event){

--- 48 unchanged lines hidden (view full) ---

1512
1513/**
1514 * @brief Get field bd_addr from event RFCOMM_EVENT_INCOMING_CONNECTION
1515 * @param event packet
1516 * @param Pointer to storage for bd_addr
1517 * @note: btstack_type B
1518 */
1519static inline void rfcomm_event_incoming_connection_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
1520 reverse_bd_addr(&event[2], bd_addr);
1520 reverse_bd_addr(&event[2], bd_addr);
1521}
1522/**
1523 * @brief Get field server_channel from event RFCOMM_EVENT_INCOMING_CONNECTION
1524 * @param event packet
1525 * @return server_channel
1526 * @note: btstack_type 1
1527 */
1528static inline uint8_t rfcomm_event_incoming_connection_get_server_channel(const uint8_t * event){

--- 230 unchanged lines hidden (view full) ---

1759}
1760/**
1761 * @brief Get field service from event GATT_EVENT_SERVICE_QUERY_RESULT
1762 * @param event packet
1763 * @param Pointer to storage for service
1764 * @note: btstack_type X
1765 */
1766static inline void gatt_event_service_query_result_get_service(const uint8_t * event, gatt_client_service_t * service){
1521}
1522/**
1523 * @brief Get field server_channel from event RFCOMM_EVENT_INCOMING_CONNECTION
1524 * @param event packet
1525 * @return server_channel
1526 * @note: btstack_type 1
1527 */
1528static inline uint8_t rfcomm_event_incoming_connection_get_server_channel(const uint8_t * event){

--- 230 unchanged lines hidden (view full) ---

1759}
1760/**
1761 * @brief Get field service from event GATT_EVENT_SERVICE_QUERY_RESULT
1762 * @param event packet
1763 * @param Pointer to storage for service
1764 * @note: btstack_type X
1765 */
1766static inline void gatt_event_service_query_result_get_service(const uint8_t * event, gatt_client_service_t * service){
1767 gatt_client_deserialize_service(event, 4, service);
1767 gatt_client_deserialize_service(event, 4, service);
1768}
1769#endif
1770
1771#ifdef ENABLE_BLE
1772/**
1773 * @brief Get field handle from event GATT_EVENT_CHARACTERISTIC_QUERY_RESULT
1774 * @param event packet
1775 * @return handle

--- 4 unchanged lines hidden (view full) ---

1780}
1781/**
1782 * @brief Get field characteristic from event GATT_EVENT_CHARACTERISTIC_QUERY_RESULT
1783 * @param event packet
1784 * @param Pointer to storage for characteristic
1785 * @note: btstack_type Y
1786 */
1787static inline void gatt_event_characteristic_query_result_get_characteristic(const uint8_t * event, gatt_client_characteristic_t * characteristic){
1768}
1769#endif
1770
1771#ifdef ENABLE_BLE
1772/**
1773 * @brief Get field handle from event GATT_EVENT_CHARACTERISTIC_QUERY_RESULT
1774 * @param event packet
1775 * @return handle

--- 4 unchanged lines hidden (view full) ---

1780}
1781/**
1782 * @brief Get field characteristic from event GATT_EVENT_CHARACTERISTIC_QUERY_RESULT
1783 * @param event packet
1784 * @param Pointer to storage for characteristic
1785 * @note: btstack_type Y
1786 */
1787static inline void gatt_event_characteristic_query_result_get_characteristic(const uint8_t * event, gatt_client_characteristic_t * characteristic){
1788 gatt_client_deserialize_characteristic(event, 4, characteristic);
1788 gatt_client_deserialize_characteristic(event, 4, characteristic);
1789}
1790#endif
1791
1792#ifdef ENABLE_BLE
1793/**
1794 * @brief Get field handle from event GATT_EVENT_INCLUDED_SERVICE_QUERY_RESULT
1795 * @param event packet
1796 * @return handle

--- 13 unchanged lines hidden (view full) ---

1810}
1811/**
1812 * @brief Get field service from event GATT_EVENT_INCLUDED_SERVICE_QUERY_RESULT
1813 * @param event packet
1814 * @param Pointer to storage for service
1815 * @note: btstack_type X
1816 */
1817static inline void gatt_event_included_service_query_result_get_service(const uint8_t * event, gatt_client_service_t * service){
1789}
1790#endif
1791
1792#ifdef ENABLE_BLE
1793/**
1794 * @brief Get field handle from event GATT_EVENT_INCLUDED_SERVICE_QUERY_RESULT
1795 * @param event packet
1796 * @return handle

--- 13 unchanged lines hidden (view full) ---

1810}
1811/**
1812 * @brief Get field service from event GATT_EVENT_INCLUDED_SERVICE_QUERY_RESULT
1813 * @param event packet
1814 * @param Pointer to storage for service
1815 * @note: btstack_type X
1816 */
1817static inline void gatt_event_included_service_query_result_get_service(const uint8_t * event, gatt_client_service_t * service){
1818 gatt_client_deserialize_service(event, 6, service);
1818 gatt_client_deserialize_service(event, 6, service);
1819}
1820#endif
1821
1822#ifdef ENABLE_BLE
1823/**
1824 * @brief Get field handle from event GATT_EVENT_ALL_CHARACTERISTIC_DESCRIPTORS_QUERY_RESULT
1825 * @param event packet
1826 * @return handle

--- 4 unchanged lines hidden (view full) ---

1831}
1832/**
1833 * @brief Get field characteristic_descriptor from event GATT_EVENT_ALL_CHARACTERISTIC_DESCRIPTORS_QUERY_RESULT
1834 * @param event packet
1835 * @param Pointer to storage for characteristic_descriptor
1836 * @note: btstack_type Z
1837 */
1838static inline void gatt_event_all_characteristic_descriptors_query_result_get_characteristic_descriptor(const uint8_t * event, gatt_client_characteristic_descriptor_t * characteristic_descriptor){
1819}
1820#endif
1821
1822#ifdef ENABLE_BLE
1823/**
1824 * @brief Get field handle from event GATT_EVENT_ALL_CHARACTERISTIC_DESCRIPTORS_QUERY_RESULT
1825 * @param event packet
1826 * @return handle

--- 4 unchanged lines hidden (view full) ---

1831}
1832/**
1833 * @brief Get field characteristic_descriptor from event GATT_EVENT_ALL_CHARACTERISTIC_DESCRIPTORS_QUERY_RESULT
1834 * @param event packet
1835 * @param Pointer to storage for characteristic_descriptor
1836 * @note: btstack_type Z
1837 */
1838static inline void gatt_event_all_characteristic_descriptors_query_result_get_characteristic_descriptor(const uint8_t * event, gatt_client_characteristic_descriptor_t * characteristic_descriptor){
1839 gatt_client_deserialize_characteristic_descriptor(event, 4, characteristic_descriptor);
1839 gatt_client_deserialize_characteristic_descriptor(event, 4, characteristic_descriptor);
1840}
1841#endif
1842
1843#ifdef ENABLE_BLE
1844/**
1845 * @brief Get field handle from event GATT_EVENT_CHARACTERISTIC_VALUE_QUERY_RESULT
1846 * @param event packet
1847 * @return handle

--- 382 unchanged lines hidden (view full) ---

2230}
2231/**
2232 * @brief Get field remote_address from event BNEP_EVENT_CHANNEL_OPENED
2233 * @param event packet
2234 * @param Pointer to storage for remote_address
2235 * @note: btstack_type B
2236 */
2237static inline void bnep_event_channel_opened_get_remote_address(const uint8_t * event, bd_addr_t remote_address){
1840}
1841#endif
1842
1843#ifdef ENABLE_BLE
1844/**
1845 * @brief Get field handle from event GATT_EVENT_CHARACTERISTIC_VALUE_QUERY_RESULT
1846 * @param event packet
1847 * @return handle

--- 382 unchanged lines hidden (view full) ---

2230}
2231/**
2232 * @brief Get field remote_address from event BNEP_EVENT_CHANNEL_OPENED
2233 * @param event packet
2234 * @param Pointer to storage for remote_address
2235 * @note: btstack_type B
2236 */
2237static inline void bnep_event_channel_opened_get_remote_address(const uint8_t * event, bd_addr_t remote_address){
2238 reverse_bd_addr(&event[11], remote_address);
2238 reverse_bd_addr(&event[11], remote_address);
2239}
2240
2241/**
2242 * @brief Get field bnep_cid from event BNEP_EVENT_CHANNEL_CLOSED
2243 * @param event packet
2244 * @return bnep_cid
2245 * @note: btstack_type 2
2246 */

--- 20 unchanged lines hidden (view full) ---

2267}
2268/**
2269 * @brief Get field remote_address from event BNEP_EVENT_CHANNEL_CLOSED
2270 * @param event packet
2271 * @param Pointer to storage for remote_address
2272 * @note: btstack_type B
2273 */
2274static inline void bnep_event_channel_closed_get_remote_address(const uint8_t * event, bd_addr_t remote_address){
2239}
2240
2241/**
2242 * @brief Get field bnep_cid from event BNEP_EVENT_CHANNEL_CLOSED
2243 * @param event packet
2244 * @return bnep_cid
2245 * @note: btstack_type 2
2246 */

--- 20 unchanged lines hidden (view full) ---

2267}
2268/**
2269 * @brief Get field remote_address from event BNEP_EVENT_CHANNEL_CLOSED
2270 * @param event packet
2271 * @param Pointer to storage for remote_address
2272 * @note: btstack_type B
2273 */
2274static inline void bnep_event_channel_closed_get_remote_address(const uint8_t * event, bd_addr_t remote_address){
2275 reverse_bd_addr(&event[8], remote_address);
2275 reverse_bd_addr(&event[8], remote_address);
2276}
2277
2278/**
2279 * @brief Get field bnep_cid from event BNEP_EVENT_CHANNEL_TIMEOUT
2280 * @param event packet
2281 * @return bnep_cid
2282 * @note: btstack_type 2
2283 */

--- 20 unchanged lines hidden (view full) ---

2304}
2305/**
2306 * @brief Get field remote_address from event BNEP_EVENT_CHANNEL_TIMEOUT
2307 * @param event packet
2308 * @param Pointer to storage for remote_address
2309 * @note: btstack_type B
2310 */
2311static inline void bnep_event_channel_timeout_get_remote_address(const uint8_t * event, bd_addr_t remote_address){
2276}
2277
2278/**
2279 * @brief Get field bnep_cid from event BNEP_EVENT_CHANNEL_TIMEOUT
2280 * @param event packet
2281 * @return bnep_cid
2282 * @note: btstack_type 2
2283 */

--- 20 unchanged lines hidden (view full) ---

2304}
2305/**
2306 * @brief Get field remote_address from event BNEP_EVENT_CHANNEL_TIMEOUT
2307 * @param event packet
2308 * @param Pointer to storage for remote_address
2309 * @note: btstack_type B
2310 */
2311static inline void bnep_event_channel_timeout_get_remote_address(const uint8_t * event, bd_addr_t remote_address){
2312 reverse_bd_addr(&event[8], remote_address);
2312 reverse_bd_addr(&event[8], remote_address);
2313}
2314/**
2315 * @brief Get field channel_state from event BNEP_EVENT_CHANNEL_TIMEOUT
2316 * @param event packet
2317 * @return channel_state
2318 * @note: btstack_type 1
2319 */
2320static inline uint8_t bnep_event_channel_timeout_get_channel_state(const uint8_t * event){

--- 29 unchanged lines hidden (view full) ---

2350}
2351/**
2352 * @brief Get field remote_address from event BNEP_EVENT_CAN_SEND_NOW
2353 * @param event packet
2354 * @param Pointer to storage for remote_address
2355 * @note: btstack_type B
2356 */
2357static inline void bnep_event_can_send_now_get_remote_address(const uint8_t * event, bd_addr_t remote_address){
2313}
2314/**
2315 * @brief Get field channel_state from event BNEP_EVENT_CHANNEL_TIMEOUT
2316 * @param event packet
2317 * @return channel_state
2318 * @note: btstack_type 1
2319 */
2320static inline uint8_t bnep_event_channel_timeout_get_channel_state(const uint8_t * event){

--- 29 unchanged lines hidden (view full) ---

2350}
2351/**
2352 * @brief Get field remote_address from event BNEP_EVENT_CAN_SEND_NOW
2353 * @param event packet
2354 * @param Pointer to storage for remote_address
2355 * @note: btstack_type B
2356 */
2357static inline void bnep_event_can_send_now_get_remote_address(const uint8_t * event, bd_addr_t remote_address){
2358 reverse_bd_addr(&event[8], remote_address);
2358 reverse_bd_addr(&event[8], remote_address);
2359}
2360
2361#ifdef ENABLE_BLE
2362/**
2363 * @brief Get field handle from event SM_EVENT_JUST_WORKS_REQUEST
2364 * @param event packet
2365 * @return handle
2366 * @note: btstack_type H

--- 12 unchanged lines hidden (view full) ---

2379}
2380/**
2381 * @brief Get field address from event SM_EVENT_JUST_WORKS_REQUEST
2382 * @param event packet
2383 * @param Pointer to storage for address
2384 * @note: btstack_type B
2385 */
2386static inline void sm_event_just_works_request_get_address(const uint8_t * event, bd_addr_t address){
2359}
2360
2361#ifdef ENABLE_BLE
2362/**
2363 * @brief Get field handle from event SM_EVENT_JUST_WORKS_REQUEST
2364 * @param event packet
2365 * @return handle
2366 * @note: btstack_type H

--- 12 unchanged lines hidden (view full) ---

2379}
2380/**
2381 * @brief Get field address from event SM_EVENT_JUST_WORKS_REQUEST
2382 * @param event packet
2383 * @param Pointer to storage for address
2384 * @note: btstack_type B
2385 */
2386static inline void sm_event_just_works_request_get_address(const uint8_t * event, bd_addr_t address){
2387 reverse_bd_addr(&event[5], address);
2387 reverse_bd_addr(&event[5], address);
2388}
2389#endif
2390
2391#ifdef ENABLE_BLE
2392/**
2393 * @brief Get field handle from event SM_EVENT_JUST_WORKS_CANCEL
2394 * @param event packet
2395 * @return handle

--- 13 unchanged lines hidden (view full) ---

2409}
2410/**
2411 * @brief Get field address from event SM_EVENT_JUST_WORKS_CANCEL
2412 * @param event packet
2413 * @param Pointer to storage for address
2414 * @note: btstack_type B
2415 */
2416static inline void sm_event_just_works_cancel_get_address(const uint8_t * event, bd_addr_t address){
2388}
2389#endif
2390
2391#ifdef ENABLE_BLE
2392/**
2393 * @brief Get field handle from event SM_EVENT_JUST_WORKS_CANCEL
2394 * @param event packet
2395 * @return handle

--- 13 unchanged lines hidden (view full) ---

2409}
2410/**
2411 * @brief Get field address from event SM_EVENT_JUST_WORKS_CANCEL
2412 * @param event packet
2413 * @param Pointer to storage for address
2414 * @note: btstack_type B
2415 */
2416static inline void sm_event_just_works_cancel_get_address(const uint8_t * event, bd_addr_t address){
2417 reverse_bd_addr(&event[5], address);
2417 reverse_bd_addr(&event[5], address);
2418}
2419#endif
2420
2421#ifdef ENABLE_BLE
2422/**
2423 * @brief Get field handle from event SM_EVENT_PASSKEY_DISPLAY_NUMBER
2424 * @param event packet
2425 * @return handle

--- 13 unchanged lines hidden (view full) ---

2439}
2440/**
2441 * @brief Get field address from event SM_EVENT_PASSKEY_DISPLAY_NUMBER
2442 * @param event packet
2443 * @param Pointer to storage for address
2444 * @note: btstack_type B
2445 */
2446static inline void sm_event_passkey_display_number_get_address(const uint8_t * event, bd_addr_t address){
2418}
2419#endif
2420
2421#ifdef ENABLE_BLE
2422/**
2423 * @brief Get field handle from event SM_EVENT_PASSKEY_DISPLAY_NUMBER
2424 * @param event packet
2425 * @return handle

--- 13 unchanged lines hidden (view full) ---

2439}
2440/**
2441 * @brief Get field address from event SM_EVENT_PASSKEY_DISPLAY_NUMBER
2442 * @param event packet
2443 * @param Pointer to storage for address
2444 * @note: btstack_type B
2445 */
2446static inline void sm_event_passkey_display_number_get_address(const uint8_t * event, bd_addr_t address){
2447 reverse_bd_addr(&event[5], address);
2447 reverse_bd_addr(&event[5], address);
2448}
2449/**
2450 * @brief Get field passkey from event SM_EVENT_PASSKEY_DISPLAY_NUMBER
2451 * @param event packet
2452 * @return passkey
2453 * @note: btstack_type 4
2454 */
2455static inline uint32_t sm_event_passkey_display_number_get_passkey(const uint8_t * event){

--- 22 unchanged lines hidden (view full) ---

2478}
2479/**
2480 * @brief Get field address from event SM_EVENT_PASSKEY_DISPLAY_CANCEL
2481 * @param event packet
2482 * @param Pointer to storage for address
2483 * @note: btstack_type B
2484 */
2485static inline void sm_event_passkey_display_cancel_get_address(const uint8_t * event, bd_addr_t address){
2448}
2449/**
2450 * @brief Get field passkey from event SM_EVENT_PASSKEY_DISPLAY_NUMBER
2451 * @param event packet
2452 * @return passkey
2453 * @note: btstack_type 4
2454 */
2455static inline uint32_t sm_event_passkey_display_number_get_passkey(const uint8_t * event){

--- 22 unchanged lines hidden (view full) ---

2478}
2479/**
2480 * @brief Get field address from event SM_EVENT_PASSKEY_DISPLAY_CANCEL
2481 * @param event packet
2482 * @param Pointer to storage for address
2483 * @note: btstack_type B
2484 */
2485static inline void sm_event_passkey_display_cancel_get_address(const uint8_t * event, bd_addr_t address){
2486 reverse_bd_addr(&event[5], address);
2486 reverse_bd_addr(&event[5], address);
2487}
2488#endif
2489
2490#ifdef ENABLE_BLE
2491/**
2492 * @brief Get field handle from event SM_EVENT_PASSKEY_INPUT_NUMBER
2493 * @param event packet
2494 * @return handle

--- 13 unchanged lines hidden (view full) ---

2508}
2509/**
2510 * @brief Get field address from event SM_EVENT_PASSKEY_INPUT_NUMBER
2511 * @param event packet
2512 * @param Pointer to storage for address
2513 * @note: btstack_type B
2514 */
2515static inline void sm_event_passkey_input_number_get_address(const uint8_t * event, bd_addr_t address){
2487}
2488#endif
2489
2490#ifdef ENABLE_BLE
2491/**
2492 * @brief Get field handle from event SM_EVENT_PASSKEY_INPUT_NUMBER
2493 * @param event packet
2494 * @return handle

--- 13 unchanged lines hidden (view full) ---

2508}
2509/**
2510 * @brief Get field address from event SM_EVENT_PASSKEY_INPUT_NUMBER
2511 * @param event packet
2512 * @param Pointer to storage for address
2513 * @note: btstack_type B
2514 */
2515static inline void sm_event_passkey_input_number_get_address(const uint8_t * event, bd_addr_t address){
2516 reverse_bd_addr(&event[5], address);
2516 reverse_bd_addr(&event[5], address);
2517}
2518#endif
2519
2520#ifdef ENABLE_BLE
2521/**
2522 * @brief Get field handle from event SM_EVENT_PASSKEY_INPUT_CANCEL
2523 * @param event packet
2524 * @return handle

--- 13 unchanged lines hidden (view full) ---

2538}
2539/**
2540 * @brief Get field address from event SM_EVENT_PASSKEY_INPUT_CANCEL
2541 * @param event packet
2542 * @param Pointer to storage for address
2543 * @note: btstack_type B
2544 */
2545static inline void sm_event_passkey_input_cancel_get_address(const uint8_t * event, bd_addr_t address){
2517}
2518#endif
2519
2520#ifdef ENABLE_BLE
2521/**
2522 * @brief Get field handle from event SM_EVENT_PASSKEY_INPUT_CANCEL
2523 * @param event packet
2524 * @return handle

--- 13 unchanged lines hidden (view full) ---

2538}
2539/**
2540 * @brief Get field address from event SM_EVENT_PASSKEY_INPUT_CANCEL
2541 * @param event packet
2542 * @param Pointer to storage for address
2543 * @note: btstack_type B
2544 */
2545static inline void sm_event_passkey_input_cancel_get_address(const uint8_t * event, bd_addr_t address){
2546 reverse_bd_addr(&event[5], address);
2546 reverse_bd_addr(&event[5], address);
2547}
2548#endif
2549
2550#ifdef ENABLE_BLE
2551/**
2552 * @brief Get field handle from event SM_EVENT_NUMERIC_COMPARISON_REQUEST
2553 * @param event packet
2554 * @return handle

--- 13 unchanged lines hidden (view full) ---

2568}
2569/**
2570 * @brief Get field address from event SM_EVENT_NUMERIC_COMPARISON_REQUEST
2571 * @param event packet
2572 * @param Pointer to storage for address
2573 * @note: btstack_type B
2574 */
2575static inline void sm_event_numeric_comparison_request_get_address(const uint8_t * event, bd_addr_t address){
2547}
2548#endif
2549
2550#ifdef ENABLE_BLE
2551/**
2552 * @brief Get field handle from event SM_EVENT_NUMERIC_COMPARISON_REQUEST
2553 * @param event packet
2554 * @return handle

--- 13 unchanged lines hidden (view full) ---

2568}
2569/**
2570 * @brief Get field address from event SM_EVENT_NUMERIC_COMPARISON_REQUEST
2571 * @param event packet
2572 * @param Pointer to storage for address
2573 * @note: btstack_type B
2574 */
2575static inline void sm_event_numeric_comparison_request_get_address(const uint8_t * event, bd_addr_t address){
2576 reverse_bd_addr(&event[5], address);
2576 reverse_bd_addr(&event[5], address);
2577}
2578/**
2579 * @brief Get field passkey from event SM_EVENT_NUMERIC_COMPARISON_REQUEST
2580 * @param event packet
2581 * @return passkey
2582 * @note: btstack_type 4
2583 */
2584static inline uint32_t sm_event_numeric_comparison_request_get_passkey(const uint8_t * event){

--- 22 unchanged lines hidden (view full) ---

2607}
2608/**
2609 * @brief Get field address from event SM_EVENT_NUMERIC_COMPARISON_CANCEL
2610 * @param event packet
2611 * @param Pointer to storage for address
2612 * @note: btstack_type B
2613 */
2614static inline void sm_event_numeric_comparison_cancel_get_address(const uint8_t * event, bd_addr_t address){
2577}
2578/**
2579 * @brief Get field passkey from event SM_EVENT_NUMERIC_COMPARISON_REQUEST
2580 * @param event packet
2581 * @return passkey
2582 * @note: btstack_type 4
2583 */
2584static inline uint32_t sm_event_numeric_comparison_request_get_passkey(const uint8_t * event){

--- 22 unchanged lines hidden (view full) ---

2607}
2608/**
2609 * @brief Get field address from event SM_EVENT_NUMERIC_COMPARISON_CANCEL
2610 * @param event packet
2611 * @param Pointer to storage for address
2612 * @note: btstack_type B
2613 */
2614static inline void sm_event_numeric_comparison_cancel_get_address(const uint8_t * event, bd_addr_t address){
2615 reverse_bd_addr(&event[5], address);
2615 reverse_bd_addr(&event[5], address);
2616}
2617#endif
2618
2619#ifdef ENABLE_BLE
2620/**
2621 * @brief Get field handle from event SM_EVENT_IDENTITY_RESOLVING_STARTED
2622 * @param event packet
2623 * @return handle

--- 13 unchanged lines hidden (view full) ---

2637}
2638/**
2639 * @brief Get field address from event SM_EVENT_IDENTITY_RESOLVING_STARTED
2640 * @param event packet
2641 * @param Pointer to storage for address
2642 * @note: btstack_type B
2643 */
2644static inline void sm_event_identity_resolving_started_get_address(const uint8_t * event, bd_addr_t address){
2616}
2617#endif
2618
2619#ifdef ENABLE_BLE
2620/**
2621 * @brief Get field handle from event SM_EVENT_IDENTITY_RESOLVING_STARTED
2622 * @param event packet
2623 * @return handle

--- 13 unchanged lines hidden (view full) ---

2637}
2638/**
2639 * @brief Get field address from event SM_EVENT_IDENTITY_RESOLVING_STARTED
2640 * @param event packet
2641 * @param Pointer to storage for address
2642 * @note: btstack_type B
2643 */
2644static inline void sm_event_identity_resolving_started_get_address(const uint8_t * event, bd_addr_t address){
2645 reverse_bd_addr(&event[5], address);
2645 reverse_bd_addr(&event[5], address);
2646}
2647#endif
2648
2649#ifdef ENABLE_BLE
2650/**
2651 * @brief Get field handle from event SM_EVENT_IDENTITY_RESOLVING_FAILED
2652 * @param event packet
2653 * @return handle

--- 13 unchanged lines hidden (view full) ---

2667}
2668/**
2669 * @brief Get field address from event SM_EVENT_IDENTITY_RESOLVING_FAILED
2670 * @param event packet
2671 * @param Pointer to storage for address
2672 * @note: btstack_type B
2673 */
2674static inline void sm_event_identity_resolving_failed_get_address(const uint8_t * event, bd_addr_t address){
2646}
2647#endif
2648
2649#ifdef ENABLE_BLE
2650/**
2651 * @brief Get field handle from event SM_EVENT_IDENTITY_RESOLVING_FAILED
2652 * @param event packet
2653 * @return handle

--- 13 unchanged lines hidden (view full) ---

2667}
2668/**
2669 * @brief Get field address from event SM_EVENT_IDENTITY_RESOLVING_FAILED
2670 * @param event packet
2671 * @param Pointer to storage for address
2672 * @note: btstack_type B
2673 */
2674static inline void sm_event_identity_resolving_failed_get_address(const uint8_t * event, bd_addr_t address){
2675 reverse_bd_addr(&event[5], address);
2675 reverse_bd_addr(&event[5], address);
2676}
2677#endif
2678
2679#ifdef ENABLE_BLE
2680/**
2681 * @brief Get field handle from event SM_EVENT_IDENTITY_RESOLVING_SUCCEEDED
2682 * @param event packet
2683 * @return handle

--- 13 unchanged lines hidden (view full) ---

2697}
2698/**
2699 * @brief Get field address from event SM_EVENT_IDENTITY_RESOLVING_SUCCEEDED
2700 * @param event packet
2701 * @param Pointer to storage for address
2702 * @note: btstack_type B
2703 */
2704static inline void sm_event_identity_resolving_succeeded_get_address(const uint8_t * event, bd_addr_t address){
2676}
2677#endif
2678
2679#ifdef ENABLE_BLE
2680/**
2681 * @brief Get field handle from event SM_EVENT_IDENTITY_RESOLVING_SUCCEEDED
2682 * @param event packet
2683 * @return handle

--- 13 unchanged lines hidden (view full) ---

2697}
2698/**
2699 * @brief Get field address from event SM_EVENT_IDENTITY_RESOLVING_SUCCEEDED
2700 * @param event packet
2701 * @param Pointer to storage for address
2702 * @note: btstack_type B
2703 */
2704static inline void sm_event_identity_resolving_succeeded_get_address(const uint8_t * event, bd_addr_t address){
2705 reverse_bd_addr(&event[5], address);
2705 reverse_bd_addr(&event[5], address);
2706}
2707/**
2708 * @brief Get field identity_addr_type from event SM_EVENT_IDENTITY_RESOLVING_SUCCEEDED
2709 * @param event packet
2710 * @return identity_addr_type
2711 * @note: btstack_type 1
2712 */
2713static inline uint8_t sm_event_identity_resolving_succeeded_get_identity_addr_type(const uint8_t * event){
2714 return event[11];
2715}
2716/**
2717 * @brief Get field identity_address from event SM_EVENT_IDENTITY_RESOLVING_SUCCEEDED
2718 * @param event packet
2719 * @param Pointer to storage for identity_address
2720 * @note: btstack_type B
2721 */
2722static inline void sm_event_identity_resolving_succeeded_get_identity_address(const uint8_t * event, bd_addr_t identity_address){
2706}
2707/**
2708 * @brief Get field identity_addr_type from event SM_EVENT_IDENTITY_RESOLVING_SUCCEEDED
2709 * @param event packet
2710 * @return identity_addr_type
2711 * @note: btstack_type 1
2712 */
2713static inline uint8_t sm_event_identity_resolving_succeeded_get_identity_addr_type(const uint8_t * event){
2714 return event[11];
2715}
2716/**
2717 * @brief Get field identity_address from event SM_EVENT_IDENTITY_RESOLVING_SUCCEEDED
2718 * @param event packet
2719 * @param Pointer to storage for identity_address
2720 * @note: btstack_type B
2721 */
2722static inline void sm_event_identity_resolving_succeeded_get_identity_address(const uint8_t * event, bd_addr_t identity_address){
2723 reverse_bd_addr(&event[12], identity_address);
2723 reverse_bd_addr(&event[12], identity_address);
2724}
2725/**
2726 * @brief Get field index from event SM_EVENT_IDENTITY_RESOLVING_SUCCEEDED
2727 * @param event packet
2728 * @return index
2729 * @note: btstack_type 2
2730 */
2731static inline uint16_t sm_event_identity_resolving_succeeded_get_index(const uint8_t * event){

--- 22 unchanged lines hidden (view full) ---

2754}
2755/**
2756 * @brief Get field address from event SM_EVENT_AUTHORIZATION_REQUEST
2757 * @param event packet
2758 * @param Pointer to storage for address
2759 * @note: btstack_type B
2760 */
2761static inline void sm_event_authorization_request_get_address(const uint8_t * event, bd_addr_t address){
2724}
2725/**
2726 * @brief Get field index from event SM_EVENT_IDENTITY_RESOLVING_SUCCEEDED
2727 * @param event packet
2728 * @return index
2729 * @note: btstack_type 2
2730 */
2731static inline uint16_t sm_event_identity_resolving_succeeded_get_index(const uint8_t * event){

--- 22 unchanged lines hidden (view full) ---

2754}
2755/**
2756 * @brief Get field address from event SM_EVENT_AUTHORIZATION_REQUEST
2757 * @param event packet
2758 * @param Pointer to storage for address
2759 * @note: btstack_type B
2760 */
2761static inline void sm_event_authorization_request_get_address(const uint8_t * event, bd_addr_t address){
2762 reverse_bd_addr(&event[5], address);
2762 reverse_bd_addr(&event[5], address);
2763}
2764#endif
2765
2766#ifdef ENABLE_BLE
2767/**
2768 * @brief Get field handle from event SM_EVENT_AUTHORIZATION_RESULT
2769 * @param event packet
2770 * @return handle

--- 13 unchanged lines hidden (view full) ---

2784}
2785/**
2786 * @brief Get field address from event SM_EVENT_AUTHORIZATION_RESULT
2787 * @param event packet
2788 * @param Pointer to storage for address
2789 * @note: btstack_type B
2790 */
2791static inline void sm_event_authorization_result_get_address(const uint8_t * event, bd_addr_t address){
2763}
2764#endif
2765
2766#ifdef ENABLE_BLE
2767/**
2768 * @brief Get field handle from event SM_EVENT_AUTHORIZATION_RESULT
2769 * @param event packet
2770 * @return handle

--- 13 unchanged lines hidden (view full) ---

2784}
2785/**
2786 * @brief Get field address from event SM_EVENT_AUTHORIZATION_RESULT
2787 * @param event packet
2788 * @param Pointer to storage for address
2789 * @note: btstack_type B
2790 */
2791static inline void sm_event_authorization_result_get_address(const uint8_t * event, bd_addr_t address){
2792 reverse_bd_addr(&event[5], address);
2792 reverse_bd_addr(&event[5], address);
2793}
2794/**
2795 * @brief Get field authorization_result from event SM_EVENT_AUTHORIZATION_RESULT
2796 * @param event packet
2797 * @return authorization_result
2798 * @note: btstack_type 1
2799 */
2800static inline uint8_t sm_event_authorization_result_get_authorization_result(const uint8_t * event){

--- 43 unchanged lines hidden (view full) ---

2844}
2845/**
2846 * @brief Get field address from event SM_EVENT_IDENTITY_CREATED
2847 * @param event packet
2848 * @param Pointer to storage for address
2849 * @note: btstack_type B
2850 */
2851static inline void sm_event_identity_created_get_address(const uint8_t * event, bd_addr_t address){
2793}
2794/**
2795 * @brief Get field authorization_result from event SM_EVENT_AUTHORIZATION_RESULT
2796 * @param event packet
2797 * @return authorization_result
2798 * @note: btstack_type 1
2799 */
2800static inline uint8_t sm_event_authorization_result_get_authorization_result(const uint8_t * event){

--- 43 unchanged lines hidden (view full) ---

2844}
2845/**
2846 * @brief Get field address from event SM_EVENT_IDENTITY_CREATED
2847 * @param event packet
2848 * @param Pointer to storage for address
2849 * @note: btstack_type B
2850 */
2851static inline void sm_event_identity_created_get_address(const uint8_t * event, bd_addr_t address){
2852 reverse_bd_addr(&event[5], address);
2852 reverse_bd_addr(&event[5], address);
2853}
2854/**
2855 * @brief Get field identity_addr_type from event SM_EVENT_IDENTITY_CREATED
2856 * @param event packet
2857 * @return identity_addr_type
2858 * @note: btstack_type 1
2859 */
2860static inline uint8_t sm_event_identity_created_get_identity_addr_type(const uint8_t * event){
2861 return event[11];
2862}
2863/**
2864 * @brief Get field identity_address from event SM_EVENT_IDENTITY_CREATED
2865 * @param event packet
2866 * @param Pointer to storage for identity_address
2867 * @note: btstack_type B
2868 */
2869static inline void sm_event_identity_created_get_identity_address(const uint8_t * event, bd_addr_t identity_address){
2853}
2854/**
2855 * @brief Get field identity_addr_type from event SM_EVENT_IDENTITY_CREATED
2856 * @param event packet
2857 * @return identity_addr_type
2858 * @note: btstack_type 1
2859 */
2860static inline uint8_t sm_event_identity_created_get_identity_addr_type(const uint8_t * event){
2861 return event[11];
2862}
2863/**
2864 * @brief Get field identity_address from event SM_EVENT_IDENTITY_CREATED
2865 * @param event packet
2866 * @param Pointer to storage for identity_address
2867 * @note: btstack_type B
2868 */
2869static inline void sm_event_identity_created_get_identity_address(const uint8_t * event, bd_addr_t identity_address){
2870 reverse_bd_addr(&event[12], identity_address);
2870 reverse_bd_addr(&event[12], identity_address);
2871}
2872/**
2873 * @brief Get field index from event SM_EVENT_IDENTITY_CREATED
2874 * @param event packet
2875 * @return index
2876 * @note: btstack_type 1
2877 */
2878static inline uint8_t sm_event_identity_created_get_index(const uint8_t * event){
2879 return event[18];
2880}
2881#endif
2882
2871}
2872/**
2873 * @brief Get field index from event SM_EVENT_IDENTITY_CREATED
2874 * @param event packet
2875 * @return index
2876 * @note: btstack_type 1
2877 */
2878static inline uint8_t sm_event_identity_created_get_index(const uint8_t * event){
2879 return event[18];
2880}
2881#endif
2882
2883#ifdef ENABLE_BLE
2883/**
2884/**
2885 * @brief Get field handle from event SM_EVENT_PAIRING_COMPLETE
2886 * @param event packet
2887 * @return handle
2888 * @note: btstack_type H
2889 */
2890static inline hci_con_handle_t sm_event_pairing_complete_get_handle(const uint8_t * event){
2891 return little_endian_read_16(event, 2);
2892}
2893/**
2894 * @brief Get field addr_type from event SM_EVENT_PAIRING_COMPLETE
2895 * @param event packet
2896 * @return addr_type
2897 * @note: btstack_type 1
2898 */
2899static inline uint8_t sm_event_pairing_complete_get_addr_type(const uint8_t * event){
2900 return event[4];
2901}
2902/**
2903 * @brief Get field address from event SM_EVENT_PAIRING_COMPLETE
2904 * @param event packet
2905 * @param Pointer to storage for address
2906 * @note: btstack_type B
2907 */
2908static inline void sm_event_pairing_complete_get_address(const uint8_t * event, bd_addr_t address){
2909 reverse_bd_addr(&event[5], address);
2910}
2911/**
2912 * @brief Get field status from event SM_EVENT_PAIRING_COMPLETE
2913 * @param event packet
2914 * @return status
2915 * @note: btstack_type 1
2916 */
2917static inline uint8_t sm_event_pairing_complete_get_status(const uint8_t * event){
2918 return event[11];
2919}
2920/**
2921 * @brief Get field reason from event SM_EVENT_PAIRING_COMPLETE
2922 * @param event packet
2923 * @return reason
2924 * @note: btstack_type 1
2925 */
2926static inline uint8_t sm_event_pairing_complete_get_reason(const uint8_t * event){
2927 return event[12];
2928}
2929#endif
2930
2931/**
2884 * @brief Get field handle from event GAP_EVENT_SECURITY_LEVEL
2885 * @param event packet
2886 * @return handle
2887 * @note: btstack_type H
2888 */
2889static inline hci_con_handle_t gap_event_security_level_get_handle(const uint8_t * event){
2890 return little_endian_read_16(event, 2);
2891}

--- 18 unchanged lines hidden (view full) ---

2910}
2911/**
2912 * @brief Get field address from event GAP_EVENT_DEDICATED_BONDING_COMPLETED
2913 * @param event packet
2914 * @param Pointer to storage for address
2915 * @note: btstack_type B
2916 */
2917static inline void gap_event_dedicated_bonding_completed_get_address(const uint8_t * event, bd_addr_t address){
2932 * @brief Get field handle from event GAP_EVENT_SECURITY_LEVEL
2933 * @param event packet
2934 * @return handle
2935 * @note: btstack_type H
2936 */
2937static inline hci_con_handle_t gap_event_security_level_get_handle(const uint8_t * event){
2938 return little_endian_read_16(event, 2);
2939}

--- 18 unchanged lines hidden (view full) ---

2958}
2959/**
2960 * @brief Get field address from event GAP_EVENT_DEDICATED_BONDING_COMPLETED
2961 * @param event packet
2962 * @param Pointer to storage for address
2963 * @note: btstack_type B
2964 */
2965static inline void gap_event_dedicated_bonding_completed_get_address(const uint8_t * event, bd_addr_t address){
2918 reverse_bd_addr(&event[3], address);
2966 reverse_bd_addr(&event[3], address);
2919}
2920
2921/**
2922 * @brief Get field advertising_event_type from event GAP_EVENT_ADVERTISING_REPORT
2923 * @param event packet
2924 * @return advertising_event_type
2925 * @note: btstack_type 1
2926 */

--- 11 unchanged lines hidden (view full) ---

2938}
2939/**
2940 * @brief Get field address from event GAP_EVENT_ADVERTISING_REPORT
2941 * @param event packet
2942 * @param Pointer to storage for address
2943 * @note: btstack_type B
2944 */
2945static inline void gap_event_advertising_report_get_address(const uint8_t * event, bd_addr_t address){
2967}
2968
2969/**
2970 * @brief Get field advertising_event_type from event GAP_EVENT_ADVERTISING_REPORT
2971 * @param event packet
2972 * @return advertising_event_type
2973 * @note: btstack_type 1
2974 */

--- 11 unchanged lines hidden (view full) ---

2986}
2987/**
2988 * @brief Get field address from event GAP_EVENT_ADVERTISING_REPORT
2989 * @param event packet
2990 * @param Pointer to storage for address
2991 * @note: btstack_type B
2992 */
2993static inline void gap_event_advertising_report_get_address(const uint8_t * event, bd_addr_t address){
2946 reverse_bd_addr(&event[4], address);
2994 reverse_bd_addr(&event[4], address);
2947}
2948/**
2949 * @brief Get field rssi from event GAP_EVENT_ADVERTISING_REPORT
2950 * @param event packet
2951 * @return rssi
2952 * @note: btstack_type 1
2953 */
2954static inline uint8_t gap_event_advertising_report_get_rssi(const uint8_t * event){

--- 20 unchanged lines hidden (view full) ---

2975
2976/**
2977 * @brief Get field bd_addr from event GAP_EVENT_INQUIRY_RESULT
2978 * @param event packet
2979 * @param Pointer to storage for bd_addr
2980 * @note: btstack_type B
2981 */
2982static inline void gap_event_inquiry_result_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
2995}
2996/**
2997 * @brief Get field rssi from event GAP_EVENT_ADVERTISING_REPORT
2998 * @param event packet
2999 * @return rssi
3000 * @note: btstack_type 1
3001 */
3002static inline uint8_t gap_event_advertising_report_get_rssi(const uint8_t * event){

--- 20 unchanged lines hidden (view full) ---

3023
3024/**
3025 * @brief Get field bd_addr from event GAP_EVENT_INQUIRY_RESULT
3026 * @param event packet
3027 * @param Pointer to storage for bd_addr
3028 * @note: btstack_type B
3029 */
3030static inline void gap_event_inquiry_result_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
2983 reverse_bd_addr(&event[2], bd_addr);
3031 reverse_bd_addr(&event[2], bd_addr);
2984}
2985/**
2986 * @brief Get field page_scan_repetition_mode from event GAP_EVENT_INQUIRY_RESULT
2987 * @param event packet
2988 * @return page_scan_repetition_mode
2989 * @note: btstack_type 1
2990 */
2991static inline uint8_t gap_event_inquiry_result_get_page_scan_repetition_mode(const uint8_t * event){

--- 111 unchanged lines hidden (view full) ---

3103}
3104/**
3105 * @brief Get field peer_address from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE
3106 * @param event packet
3107 * @param Pointer to storage for peer_address
3108 * @note: btstack_type B
3109 */
3110static inline void hci_subevent_le_connection_complete_get_peer_address(const uint8_t * event, bd_addr_t peer_address){
3032}
3033/**
3034 * @brief Get field page_scan_repetition_mode from event GAP_EVENT_INQUIRY_RESULT
3035 * @param event packet
3036 * @return page_scan_repetition_mode
3037 * @note: btstack_type 1
3038 */
3039static inline uint8_t gap_event_inquiry_result_get_page_scan_repetition_mode(const uint8_t * event){

--- 111 unchanged lines hidden (view full) ---

3151}
3152/**
3153 * @brief Get field peer_address from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE
3154 * @param event packet
3155 * @param Pointer to storage for peer_address
3156 * @note: btstack_type B
3157 */
3158static inline void hci_subevent_le_connection_complete_get_peer_address(const uint8_t * event, bd_addr_t peer_address){
3111 reverse_bd_addr(&event[8], peer_address);
3159 reverse_bd_addr(&event[8], peer_address);
3112}
3113/**
3114 * @brief Get field conn_interval from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE
3115 * @param event packet
3116 * @return conn_interval
3117 * @note: btstack_type 2
3118 */
3119static inline uint16_t hci_subevent_le_connection_complete_get_conn_interval(const uint8_t * event){

--- 232 unchanged lines hidden (view full) ---

3352}
3353/**
3354 * @brief Get field dhkey_x from event HCI_SUBEVENT_LE_READ_LOCAL_P256_PUBLIC_KEY_COMPLETE
3355 * @param event packet
3356 * @param Pointer to storage for dhkey_x
3357 * @note: btstack_type Q
3358 */
3359static inline void hci_subevent_le_read_local_p256_public_key_complete_get_dhkey_x(const uint8_t * event, uint8_t * dhkey_x){
3160}
3161/**
3162 * @brief Get field conn_interval from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE
3163 * @param event packet
3164 * @return conn_interval
3165 * @note: btstack_type 2
3166 */
3167static inline uint16_t hci_subevent_le_connection_complete_get_conn_interval(const uint8_t * event){

--- 232 unchanged lines hidden (view full) ---

3400}
3401/**
3402 * @brief Get field dhkey_x from event HCI_SUBEVENT_LE_READ_LOCAL_P256_PUBLIC_KEY_COMPLETE
3403 * @param event packet
3404 * @param Pointer to storage for dhkey_x
3405 * @note: btstack_type Q
3406 */
3407static inline void hci_subevent_le_read_local_p256_public_key_complete_get_dhkey_x(const uint8_t * event, uint8_t * dhkey_x){
3360 reverse_bytes(&event[4], dhkey_x, 32);
3408 reverse_bytes(&event[4], dhkey_x, 32);
3361}
3362/**
3363 * @brief Get field dhkey_y from event HCI_SUBEVENT_LE_READ_LOCAL_P256_PUBLIC_KEY_COMPLETE
3364 * @param event packet
3365 * @param Pointer to storage for dhkey_y
3366 * @note: btstack_type Q
3367 */
3368static inline void hci_subevent_le_read_local_p256_public_key_complete_get_dhkey_y(const uint8_t * event, uint8_t * dhkey_y){
3409}
3410/**
3411 * @brief Get field dhkey_y from event HCI_SUBEVENT_LE_READ_LOCAL_P256_PUBLIC_KEY_COMPLETE
3412 * @param event packet
3413 * @param Pointer to storage for dhkey_y
3414 * @note: btstack_type Q
3415 */
3416static inline void hci_subevent_le_read_local_p256_public_key_complete_get_dhkey_y(const uint8_t * event, uint8_t * dhkey_y){
3369 reverse_bytes(&event[36], dhkey_y, 32);
3417 reverse_bytes(&event[36], dhkey_y, 32);
3370}
3371
3372/**
3373 * @brief Get field status from event HCI_SUBEVENT_LE_GENERATE_DHKEY_COMPLETE
3374 * @param event packet
3375 * @return status
3376 * @note: btstack_type 1
3377 */
3378static inline uint8_t hci_subevent_le_generate_dhkey_complete_get_status(const uint8_t * event){
3379 return event[3];
3380}
3381/**
3382 * @brief Get field dhkey from event HCI_SUBEVENT_LE_GENERATE_DHKEY_COMPLETE
3383 * @param event packet
3384 * @param Pointer to storage for dhkey
3385 * @note: btstack_type Q
3386 */
3387static inline void hci_subevent_le_generate_dhkey_complete_get_dhkey(const uint8_t * event, uint8_t * dhkey){
3418}
3419
3420/**
3421 * @brief Get field status from event HCI_SUBEVENT_LE_GENERATE_DHKEY_COMPLETE
3422 * @param event packet
3423 * @return status
3424 * @note: btstack_type 1
3425 */
3426static inline uint8_t hci_subevent_le_generate_dhkey_complete_get_status(const uint8_t * event){
3427 return event[3];
3428}
3429/**
3430 * @brief Get field dhkey from event HCI_SUBEVENT_LE_GENERATE_DHKEY_COMPLETE
3431 * @param event packet
3432 * @param Pointer to storage for dhkey
3433 * @note: btstack_type Q
3434 */
3435static inline void hci_subevent_le_generate_dhkey_complete_get_dhkey(const uint8_t * event, uint8_t * dhkey){
3388 reverse_bytes(&event[4], dhkey, 32);
3436 reverse_bytes(&event[4], dhkey, 32);
3389}
3390
3391/**
3392 * @brief Get field status from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE
3393 * @param event packet
3394 * @return status
3395 * @note: btstack_type 1
3396 */

--- 29 unchanged lines hidden (view full) ---

3426}
3427/**
3428 * @brief Get field perr_addresss from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE
3429 * @param event packet
3430 * @param Pointer to storage for perr_addresss
3431 * @note: btstack_type B
3432 */
3433static inline void hci_subevent_le_enhanced_connection_complete_get_perr_addresss(const uint8_t * event, bd_addr_t perr_addresss){
3437}
3438
3439/**
3440 * @brief Get field status from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE
3441 * @param event packet
3442 * @return status
3443 * @note: btstack_type 1
3444 */

--- 29 unchanged lines hidden (view full) ---

3474}
3475/**
3476 * @brief Get field perr_addresss from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE
3477 * @param event packet
3478 * @param Pointer to storage for perr_addresss
3479 * @note: btstack_type B
3480 */
3481static inline void hci_subevent_le_enhanced_connection_complete_get_perr_addresss(const uint8_t * event, bd_addr_t perr_addresss){
3434 reverse_bd_addr(&event[8], perr_addresss);
3482 reverse_bd_addr(&event[8], perr_addresss);
3435}
3436/**
3437 * @brief Get field local_resolvable_private_addres from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE
3438 * @param event packet
3439 * @param Pointer to storage for local_resolvable_private_addres
3440 * @note: btstack_type B
3441 */
3442static inline void hci_subevent_le_enhanced_connection_complete_get_local_resolvable_private_addres(const uint8_t * event, bd_addr_t local_resolvable_private_addres){
3483}
3484/**
3485 * @brief Get field local_resolvable_private_addres from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE
3486 * @param event packet
3487 * @param Pointer to storage for local_resolvable_private_addres
3488 * @note: btstack_type B
3489 */
3490static inline void hci_subevent_le_enhanced_connection_complete_get_local_resolvable_private_addres(const uint8_t * event, bd_addr_t local_resolvable_private_addres){
3443 reverse_bd_addr(&event[14], local_resolvable_private_addres);
3491 reverse_bd_addr(&event[14], local_resolvable_private_addres);
3444}
3445/**
3446 * @brief Get field peer_resolvable_private_addres from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE
3447 * @param event packet
3448 * @param Pointer to storage for peer_resolvable_private_addres
3449 * @note: btstack_type B
3450 */
3451static inline void hci_subevent_le_enhanced_connection_complete_get_peer_resolvable_private_addres(const uint8_t * event, bd_addr_t peer_resolvable_private_addres){
3492}
3493/**
3494 * @brief Get field peer_resolvable_private_addres from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE
3495 * @param event packet
3496 * @param Pointer to storage for peer_resolvable_private_addres
3497 * @note: btstack_type B
3498 */
3499static inline void hci_subevent_le_enhanced_connection_complete_get_peer_resolvable_private_addres(const uint8_t * event, bd_addr_t peer_resolvable_private_addres){
3452 reverse_bd_addr(&event[20], peer_resolvable_private_addres);
3500 reverse_bd_addr(&event[20], peer_resolvable_private_addres);
3453}
3454/**
3455 * @brief Get field conn_interval from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE
3456 * @param event packet
3457 * @return conn_interval
3458 * @note: btstack_type 2
3459 */
3460static inline uint16_t hci_subevent_le_enhanced_connection_complete_get_conn_interval(const uint8_t * event){

--- 155 unchanged lines hidden (view full) ---

3616}
3617/**
3618 * @brief Get field bd_addr from event HFP_SUBEVENT_SERVICE_LEVEL_CONNECTION_ESTABLISHED
3619 * @param event packet
3620 * @param Pointer to storage for bd_addr
3621 * @note: btstack_type B
3622 */
3623static inline void hfp_subevent_service_level_connection_established_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
3501}
3502/**
3503 * @brief Get field conn_interval from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE
3504 * @param event packet
3505 * @return conn_interval
3506 * @note: btstack_type 2
3507 */
3508static inline uint16_t hci_subevent_le_enhanced_connection_complete_get_conn_interval(const uint8_t * event){

--- 155 unchanged lines hidden (view full) ---

3664}
3665/**
3666 * @brief Get field bd_addr from event HFP_SUBEVENT_SERVICE_LEVEL_CONNECTION_ESTABLISHED
3667 * @param event packet
3668 * @param Pointer to storage for bd_addr
3669 * @note: btstack_type B
3670 */
3671static inline void hfp_subevent_service_level_connection_established_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
3624 reverse_bd_addr(&event[6], bd_addr);
3672 reverse_bd_addr(&event[6], bd_addr);
3625}
3626
3627
3628/**
3629 * @brief Get field status from event HFP_SUBEVENT_AUDIO_CONNECTION_ESTABLISHED
3630 * @param event packet
3631 * @return status
3632 * @note: btstack_type 1

--- 12 unchanged lines hidden (view full) ---

3645}
3646/**
3647 * @brief Get field bd_addr from event HFP_SUBEVENT_AUDIO_CONNECTION_ESTABLISHED
3648 * @param event packet
3649 * @param Pointer to storage for bd_addr
3650 * @note: btstack_type B
3651 */
3652static inline void hfp_subevent_audio_connection_established_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
3673}
3674
3675
3676/**
3677 * @brief Get field status from event HFP_SUBEVENT_AUDIO_CONNECTION_ESTABLISHED
3678 * @param event packet
3679 * @return status
3680 * @note: btstack_type 1

--- 12 unchanged lines hidden (view full) ---

3693}
3694/**
3695 * @brief Get field bd_addr from event HFP_SUBEVENT_AUDIO_CONNECTION_ESTABLISHED
3696 * @param event packet
3697 * @param Pointer to storage for bd_addr
3698 * @note: btstack_type B
3699 */
3700static inline void hfp_subevent_audio_connection_established_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
3653 reverse_bd_addr(&event[6], bd_addr);
3701 reverse_bd_addr(&event[6], bd_addr);
3654}
3655/**
3656 * @brief Get field negotiated_codec from event HFP_SUBEVENT_AUDIO_CONNECTION_ESTABLISHED
3657 * @param event packet
3658 * @return negotiated_codec
3659 * @note: btstack_type 1
3660 */
3661static inline uint8_t hfp_subevent_audio_connection_established_get_negotiated_codec(const uint8_t * event){

--- 432 unchanged lines hidden (view full) ---

4094}
4095/**
4096 * @brief Get field bd_addr from event AVDTP_SUBEVENT_SIGNALING_CONNECTION_ESTABLISHED
4097 * @param event packet
4098 * @param Pointer to storage for bd_addr
4099 * @note: btstack_type B
4100 */
4101static inline void avdtp_subevent_signaling_connection_established_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
3702}
3703/**
3704 * @brief Get field negotiated_codec from event HFP_SUBEVENT_AUDIO_CONNECTION_ESTABLISHED
3705 * @param event packet
3706 * @return negotiated_codec
3707 * @note: btstack_type 1
3708 */
3709static inline uint8_t hfp_subevent_audio_connection_established_get_negotiated_codec(const uint8_t * event){

--- 432 unchanged lines hidden (view full) ---

4142}
4143/**
4144 * @brief Get field bd_addr from event AVDTP_SUBEVENT_SIGNALING_CONNECTION_ESTABLISHED
4145 * @param event packet
4146 * @param Pointer to storage for bd_addr
4147 * @note: btstack_type B
4148 */
4149static inline void avdtp_subevent_signaling_connection_established_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
4102 reverse_bd_addr(&event[5], bd_addr);
4150 reverse_bd_addr(&event[5], bd_addr);
4103}
4104/**
4105 * @brief Get field status from event AVDTP_SUBEVENT_SIGNALING_CONNECTION_ESTABLISHED
4106 * @param event packet
4107 * @return status
4108 * @note: btstack_type 1
4109 */
4110static inline uint8_t avdtp_subevent_signaling_connection_established_get_status(const uint8_t * event){

--- 771 unchanged lines hidden (view full) ---

4882}
4883/**
4884 * @brief Get field bd_addr from event AVDTP_SUBEVENT_STREAMING_CONNECTION_ESTABLISHED
4885 * @param event packet
4886 * @param Pointer to storage for bd_addr
4887 * @note: btstack_type B
4888 */
4889static inline void avdtp_subevent_streaming_connection_established_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
4151}
4152/**
4153 * @brief Get field status from event AVDTP_SUBEVENT_SIGNALING_CONNECTION_ESTABLISHED
4154 * @param event packet
4155 * @return status
4156 * @note: btstack_type 1
4157 */
4158static inline uint8_t avdtp_subevent_signaling_connection_established_get_status(const uint8_t * event){

--- 771 unchanged lines hidden (view full) ---

4930}
4931/**
4932 * @brief Get field bd_addr from event AVDTP_SUBEVENT_STREAMING_CONNECTION_ESTABLISHED
4933 * @param event packet
4934 * @param Pointer to storage for bd_addr
4935 * @note: btstack_type B
4936 */
4937static inline void avdtp_subevent_streaming_connection_established_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
4890 reverse_bd_addr(&event[5], bd_addr);
4938 reverse_bd_addr(&event[5], bd_addr);
4891}
4892/**
4893 * @brief Get field local_seid from event AVDTP_SUBEVENT_STREAMING_CONNECTION_ESTABLISHED
4894 * @param event packet
4895 * @return local_seid
4896 * @note: btstack_type 1
4897 */
4898static inline uint8_t avdtp_subevent_streaming_connection_established_get_local_seid(const uint8_t * event){

--- 286 unchanged lines hidden (view full) ---

5185}
5186/**
5187 * @brief Get field bd_addr from event A2DP_SUBEVENT_STREAM_ESTABLISHED
5188 * @param event packet
5189 * @param Pointer to storage for bd_addr
5190 * @note: btstack_type B
5191 */
5192static inline void a2dp_subevent_stream_established_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
4939}
4940/**
4941 * @brief Get field local_seid from event AVDTP_SUBEVENT_STREAMING_CONNECTION_ESTABLISHED
4942 * @param event packet
4943 * @return local_seid
4944 * @note: btstack_type 1
4945 */
4946static inline uint8_t avdtp_subevent_streaming_connection_established_get_local_seid(const uint8_t * event){

--- 286 unchanged lines hidden (view full) ---

5233}
5234/**
5235 * @brief Get field bd_addr from event A2DP_SUBEVENT_STREAM_ESTABLISHED
5236 * @param event packet
5237 * @param Pointer to storage for bd_addr
5238 * @note: btstack_type B
5239 */
5240static inline void a2dp_subevent_stream_established_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
5193 reverse_bd_addr(&event[5], bd_addr);
5241 reverse_bd_addr(&event[5], bd_addr);
5194}
5195/**
5196 * @brief Get field local_seid from event A2DP_SUBEVENT_STREAM_ESTABLISHED
5197 * @param event packet
5198 * @return local_seid
5199 * @note: btstack_type 1
5200 */
5201static inline uint8_t a2dp_subevent_stream_established_get_local_seid(const uint8_t * event){

--- 161 unchanged lines hidden (view full) ---

5363}
5364/**
5365 * @brief Get field bd_addr from event A2DP_SUBEVENT_SIGNALING_CONNECTION_ESTABLISHED
5366 * @param event packet
5367 * @param Pointer to storage for bd_addr
5368 * @note: btstack_type B
5369 */
5370static inline void a2dp_subevent_signaling_connection_established_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
5242}
5243/**
5244 * @brief Get field local_seid from event A2DP_SUBEVENT_STREAM_ESTABLISHED
5245 * @param event packet
5246 * @return local_seid
5247 * @note: btstack_type 1
5248 */
5249static inline uint8_t a2dp_subevent_stream_established_get_local_seid(const uint8_t * event){

--- 161 unchanged lines hidden (view full) ---

5411}
5412/**
5413 * @brief Get field bd_addr from event A2DP_SUBEVENT_SIGNALING_CONNECTION_ESTABLISHED
5414 * @param event packet
5415 * @param Pointer to storage for bd_addr
5416 * @note: btstack_type B
5417 */
5418static inline void a2dp_subevent_signaling_connection_established_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
5371 reverse_bd_addr(&event[5], bd_addr);
5419 reverse_bd_addr(&event[5], bd_addr);
5372}
5373/**
5374 * @brief Get field status from event A2DP_SUBEVENT_SIGNALING_CONNECTION_ESTABLISHED
5375 * @param event packet
5376 * @return status
5377 * @note: btstack_type 1
5378 */
5379static inline uint8_t a2dp_subevent_signaling_connection_established_get_status(const uint8_t * event){

--- 21 unchanged lines hidden (view full) ---

5401}
5402/**
5403 * @brief Get field bd_addr from event AVRCP_SUBEVENT_CONNECTION_ESTABLISHED
5404 * @param event packet
5405 * @param Pointer to storage for bd_addr
5406 * @note: btstack_type B
5407 */
5408static inline void avrcp_subevent_connection_established_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
5420}
5421/**
5422 * @brief Get field status from event A2DP_SUBEVENT_SIGNALING_CONNECTION_ESTABLISHED
5423 * @param event packet
5424 * @return status
5425 * @note: btstack_type 1
5426 */
5427static inline uint8_t a2dp_subevent_signaling_connection_established_get_status(const uint8_t * event){

--- 21 unchanged lines hidden (view full) ---

5449}
5450/**
5451 * @brief Get field bd_addr from event AVRCP_SUBEVENT_CONNECTION_ESTABLISHED
5452 * @param event packet
5453 * @param Pointer to storage for bd_addr
5454 * @note: btstack_type B
5455 */
5456static inline void avrcp_subevent_connection_established_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
5409 reverse_bd_addr(&event[4], bd_addr);
5457 reverse_bd_addr(&event[4], bd_addr);
5410}
5411/**
5412 * @brief Get field avrcp_cid from event AVRCP_SUBEVENT_CONNECTION_ESTABLISHED
5413 * @param event packet
5414 * @return avrcp_cid
5415 * @note: btstack_type 2
5416 */
5417static inline uint16_t avrcp_subevent_connection_established_get_avrcp_cid(const uint8_t * event){

--- 666 unchanged lines hidden (view full) ---

6084
6085/**
6086 * @brief Get field bd_addr from event AVRCP_SUBEVENT_INCOMING_BROWSING_CONNECTION
6087 * @param event packet
6088 * @param Pointer to storage for bd_addr
6089 * @note: btstack_type B
6090 */
6091static inline void avrcp_subevent_incoming_browsing_connection_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
5458}
5459/**
5460 * @brief Get field avrcp_cid from event AVRCP_SUBEVENT_CONNECTION_ESTABLISHED
5461 * @param event packet
5462 * @return avrcp_cid
5463 * @note: btstack_type 2
5464 */
5465static inline uint16_t avrcp_subevent_connection_established_get_avrcp_cid(const uint8_t * event){

--- 666 unchanged lines hidden (view full) ---

6132
6133/**
6134 * @brief Get field bd_addr from event AVRCP_SUBEVENT_INCOMING_BROWSING_CONNECTION
6135 * @param event packet
6136 * @param Pointer to storage for bd_addr
6137 * @note: btstack_type B
6138 */
6139static inline void avrcp_subevent_incoming_browsing_connection_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
6092 reverse_bd_addr(&event[3], bd_addr);
6140 reverse_bd_addr(&event[3], bd_addr);
6093}
6094/**
6095 * @brief Get field browsing_cid from event AVRCP_SUBEVENT_INCOMING_BROWSING_CONNECTION
6096 * @param event packet
6097 * @return browsing_cid
6098 * @note: btstack_type 2
6099 */
6100static inline uint16_t avrcp_subevent_incoming_browsing_connection_get_browsing_cid(const uint8_t * event){

--- 11 unchanged lines hidden (view full) ---

6112}
6113/**
6114 * @brief Get field bd_addr from event AVRCP_SUBEVENT_BROWSING_CONNECTION_ESTABLISHED
6115 * @param event packet
6116 * @param Pointer to storage for bd_addr
6117 * @note: btstack_type B
6118 */
6119static inline void avrcp_subevent_browsing_connection_established_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
6141}
6142/**
6143 * @brief Get field browsing_cid from event AVRCP_SUBEVENT_INCOMING_BROWSING_CONNECTION
6144 * @param event packet
6145 * @return browsing_cid
6146 * @note: btstack_type 2
6147 */
6148static inline uint16_t avrcp_subevent_incoming_browsing_connection_get_browsing_cid(const uint8_t * event){

--- 11 unchanged lines hidden (view full) ---

6160}
6161/**
6162 * @brief Get field bd_addr from event AVRCP_SUBEVENT_BROWSING_CONNECTION_ESTABLISHED
6163 * @param event packet
6164 * @param Pointer to storage for bd_addr
6165 * @note: btstack_type B
6166 */
6167static inline void avrcp_subevent_browsing_connection_established_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
6120 reverse_bd_addr(&event[4], bd_addr);
6168 reverse_bd_addr(&event[4], bd_addr);
6121}
6122/**
6123 * @brief Get field browsing_cid from event AVRCP_SUBEVENT_BROWSING_CONNECTION_ESTABLISHED
6124 * @param event packet
6125 * @return browsing_cid
6126 * @note: btstack_type 2
6127 */
6128static inline uint16_t avrcp_subevent_browsing_connection_established_get_browsing_cid(const uint8_t * event){

--- 58 unchanged lines hidden (view full) ---

6187}
6188/**
6189 * @brief Get field bd_addr from event GOEP_SUBEVENT_CONNECTION_OPENED
6190 * @param event packet
6191 * @param Pointer to storage for bd_addr
6192 * @note: btstack_type B
6193 */
6194static inline void goep_subevent_connection_opened_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
6169}
6170/**
6171 * @brief Get field browsing_cid from event AVRCP_SUBEVENT_BROWSING_CONNECTION_ESTABLISHED
6172 * @param event packet
6173 * @return browsing_cid
6174 * @note: btstack_type 2
6175 */
6176static inline uint16_t avrcp_subevent_browsing_connection_established_get_browsing_cid(const uint8_t * event){

--- 58 unchanged lines hidden (view full) ---

6235}
6236/**
6237 * @brief Get field bd_addr from event GOEP_SUBEVENT_CONNECTION_OPENED
6238 * @param event packet
6239 * @param Pointer to storage for bd_addr
6240 * @note: btstack_type B
6241 */
6242static inline void goep_subevent_connection_opened_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
6195 reverse_bd_addr(&event[6], bd_addr);
6243 reverse_bd_addr(&event[6], bd_addr);
6196}
6197/**
6198 * @brief Get field con_handle from event GOEP_SUBEVENT_CONNECTION_OPENED
6199 * @param event packet
6200 * @return con_handle
6201 * @note: btstack_type H
6202 */
6203static inline hci_con_handle_t goep_subevent_connection_opened_get_con_handle(const uint8_t * event){

--- 49 unchanged lines hidden (view full) ---

6253}
6254/**
6255 * @brief Get field bd_addr from event PBAP_SUBEVENT_CONNECTION_OPENED
6256 * @param event packet
6257 * @param Pointer to storage for bd_addr
6258 * @note: btstack_type B
6259 */
6260static inline void pbap_subevent_connection_opened_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
6244}
6245/**
6246 * @brief Get field con_handle from event GOEP_SUBEVENT_CONNECTION_OPENED
6247 * @param event packet
6248 * @return con_handle
6249 * @note: btstack_type H
6250 */
6251static inline hci_con_handle_t goep_subevent_connection_opened_get_con_handle(const uint8_t * event){

--- 49 unchanged lines hidden (view full) ---

6301}
6302/**
6303 * @brief Get field bd_addr from event PBAP_SUBEVENT_CONNECTION_OPENED
6304 * @param event packet
6305 * @param Pointer to storage for bd_addr
6306 * @note: btstack_type B
6307 */
6308static inline void pbap_subevent_connection_opened_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
6261 reverse_bd_addr(&event[6], bd_addr);
6309 reverse_bd_addr(&event[6], bd_addr);
6262}
6263/**
6264 * @brief Get field con_handle from event PBAP_SUBEVENT_CONNECTION_OPENED
6265 * @param event packet
6266 * @return con_handle
6267 * @note: btstack_type H
6268 */
6269static inline hci_con_handle_t pbap_subevent_connection_opened_get_con_handle(const uint8_t * event){

--- 58 unchanged lines hidden (view full) ---

6328}
6329/**
6330 * @brief Get field bd_addr from event HID_SUBEVENT_CONNECTION_OPENED
6331 * @param event packet
6332 * @param Pointer to storage for bd_addr
6333 * @note: btstack_type B
6334 */
6335static inline void hid_subevent_connection_opened_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
6310}
6311/**
6312 * @brief Get field con_handle from event PBAP_SUBEVENT_CONNECTION_OPENED
6313 * @param event packet
6314 * @return con_handle
6315 * @note: btstack_type H
6316 */
6317static inline hci_con_handle_t pbap_subevent_connection_opened_get_con_handle(const uint8_t * event){

--- 58 unchanged lines hidden (view full) ---

6376}
6377/**
6378 * @brief Get field bd_addr from event HID_SUBEVENT_CONNECTION_OPENED
6379 * @param event packet
6380 * @param Pointer to storage for bd_addr
6381 * @note: btstack_type B
6382 */
6383static inline void hid_subevent_connection_opened_get_bd_addr(const uint8_t * event, bd_addr_t bd_addr){
6336 reverse_bd_addr(&event[6], bd_addr);
6384 reverse_bd_addr(&event[6], bd_addr);
6337}
6338/**
6339 * @brief Get field con_handle from event HID_SUBEVENT_CONNECTION_OPENED
6340 * @param event packet
6341 * @return con_handle
6342 * @note: btstack_type H
6343 */
6344static inline hci_con_handle_t hid_subevent_connection_opened_get_con_handle(const uint8_t * event){

--- 127 unchanged lines hidden ---
6385}
6386/**
6387 * @brief Get field con_handle from event HID_SUBEVENT_CONNECTION_OPENED
6388 * @param event packet
6389 * @return con_handle
6390 * @note: btstack_type H
6391 */
6392static inline hci_con_handle_t hid_subevent_connection_opened_get_con_handle(const uint8_t * event){

--- 127 unchanged lines hidden ---