Microchip® Advanced Software Framework

btstack_event.h File Reference
#include "btstack_util.h"
#include <stdint.h>

Functions

static uint16_t a2dp_subevent_command_accepted_get_a2dp_cid (const uint8_t *event)
 Get field a2dp_cid from event A2DP_SUBEVENT_COMMAND_ACCEPTED. More...
 
static uint8_t a2dp_subevent_command_accepted_get_local_seid (const uint8_t *event)
 Get field local_seid from event A2DP_SUBEVENT_COMMAND_ACCEPTED. More...
 
static uint8_t a2dp_subevent_command_accepted_get_signal_identifier (const uint8_t *event)
 Get field signal_identifier from event A2DP_SUBEVENT_COMMAND_ACCEPTED. More...
 
static uint16_t a2dp_subevent_command_rejected_get_a2dp_cid (const uint8_t *event)
 Get field a2dp_cid from event A2DP_SUBEVENT_COMMAND_REJECTED. More...
 
static uint8_t a2dp_subevent_command_rejected_get_local_seid (const uint8_t *event)
 Get field local_seid from event A2DP_SUBEVENT_COMMAND_REJECTED. More...
 
static uint8_t a2dp_subevent_command_rejected_get_signal_identifier (const uint8_t *event)
 Get field signal_identifier from event A2DP_SUBEVENT_COMMAND_REJECTED. More...
 
static uint16_t a2dp_subevent_incoming_connection_established_get_a2dp_cid (const uint8_t *event)
 Get field a2dp_cid from event A2DP_SUBEVENT_INCOMING_CONNECTION_ESTABLISHED. More...
 
static void a2dp_subevent_incoming_connection_established_get_bd_addr (const uint8_t *event, bd_addr_t bd_addr)
 Get field bd_addr from event A2DP_SUBEVENT_INCOMING_CONNECTION_ESTABLISHED. More...
 
static uint16_t a2dp_subevent_signaling_connection_released_get_a2dp_cid (const uint8_t *event)
 Get field a2dp_cid from event A2DP_SUBEVENT_SIGNALING_CONNECTION_RELEASED. More...
 
static uint16_t a2dp_subevent_signaling_media_codec_other_configuration_get_a2dp_cid (const uint8_t *event)
 Get field a2dp_cid from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION. More...
 
static uint8_t a2dp_subevent_signaling_media_codec_other_configuration_get_acp_seid (const uint8_t *event)
 Get field acp_seid from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION. More...
 
static uint8_t a2dp_subevent_signaling_media_codec_other_configuration_get_int_seid (const uint8_t *event)
 Get field int_seid from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION. More...
 
static const uint8_t * a2dp_subevent_signaling_media_codec_other_configuration_get_media_codec_information (const uint8_t *event)
 Get field media_codec_information from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION. More...
 
static int a2dp_subevent_signaling_media_codec_other_configuration_get_media_codec_information_len (const uint8_t *event)
 Get field media_codec_information_len from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION. More...
 
static uint16_t a2dp_subevent_signaling_media_codec_other_configuration_get_media_codec_type (const uint8_t *event)
 Get field media_codec_type from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION. More...
 
static uint8_t a2dp_subevent_signaling_media_codec_other_configuration_get_media_type (const uint8_t *event)
 Get field media_type from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION. More...
 
static uint8_t a2dp_subevent_signaling_media_codec_other_configuration_get_reconfigure (const uint8_t *event)
 Get field reconfigure from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION. More...
 
static uint16_t a2dp_subevent_signaling_media_codec_sbc_configuration_get_a2dp_cid (const uint8_t *event)
 Get field a2dp_cid from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION. More...
 
static uint8_t a2dp_subevent_signaling_media_codec_sbc_configuration_get_acp_seid (const uint8_t *event)
 Get field acp_seid from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION. More...
 
static uint8_t a2dp_subevent_signaling_media_codec_sbc_configuration_get_allocation_method (const uint8_t *event)
 Get field allocation_method from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION. More...
 
static uint8_t a2dp_subevent_signaling_media_codec_sbc_configuration_get_block_length (const uint8_t *event)
 Get field block_length from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION. More...
 
static uint8_t a2dp_subevent_signaling_media_codec_sbc_configuration_get_channel_mode (const uint8_t *event)
 Get field channel_mode from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION. More...
 
static uint8_t a2dp_subevent_signaling_media_codec_sbc_configuration_get_int_seid (const uint8_t *event)
 Get field int_seid from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION. More...
 
static uint8_t a2dp_subevent_signaling_media_codec_sbc_configuration_get_max_bitpool_value (const uint8_t *event)
 Get field max_bitpool_value from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION. More...
 
static uint8_t a2dp_subevent_signaling_media_codec_sbc_configuration_get_media_type (const uint8_t *event)
 Get field media_type from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION. More...
 
static uint8_t a2dp_subevent_signaling_media_codec_sbc_configuration_get_min_bitpool_value (const uint8_t *event)
 Get field min_bitpool_value from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION. More...
 
static uint8_t a2dp_subevent_signaling_media_codec_sbc_configuration_get_num_channels (const uint8_t *event)
 Get field num_channels from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION. More...
 
static uint8_t a2dp_subevent_signaling_media_codec_sbc_configuration_get_reconfigure (const uint8_t *event)
 Get field reconfigure from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION. More...
 
static uint16_t a2dp_subevent_signaling_media_codec_sbc_configuration_get_sampling_frequency (const uint8_t *event)
 Get field sampling_frequency from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION. More...
 
static uint8_t a2dp_subevent_signaling_media_codec_sbc_configuration_get_subbands (const uint8_t *event)
 Get field subbands from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION. More...
 
static uint16_t a2dp_subevent_stream_established_get_a2dp_cid (const uint8_t *event)
 Get field a2dp_cid from event A2DP_SUBEVENT_STREAM_ESTABLISHED. More...
 
static void a2dp_subevent_stream_established_get_bd_addr (const uint8_t *event, bd_addr_t bd_addr)
 Get field bd_addr from event A2DP_SUBEVENT_STREAM_ESTABLISHED. More...
 
static uint8_t a2dp_subevent_stream_established_get_local_seid (const uint8_t *event)
 Get field local_seid from event A2DP_SUBEVENT_STREAM_ESTABLISHED. More...
 
static uint8_t a2dp_subevent_stream_established_get_remote_seid (const uint8_t *event)
 Get field remote_seid from event A2DP_SUBEVENT_STREAM_ESTABLISHED. More...
 
static uint8_t a2dp_subevent_stream_established_get_status (const uint8_t *event)
 Get field status from event A2DP_SUBEVENT_STREAM_ESTABLISHED. More...
 
static uint16_t a2dp_subevent_stream_released_get_a2dp_cid (const uint8_t *event)
 Get field a2dp_cid from event A2DP_SUBEVENT_STREAM_RELEASED. More...
 
static uint8_t a2dp_subevent_stream_released_get_local_seid (const uint8_t *event)
 Get field local_seid from event A2DP_SUBEVENT_STREAM_RELEASED. More...
 
static uint16_t a2dp_subevent_stream_started_get_a2dp_cid (const uint8_t *event)
 Get field a2dp_cid from event A2DP_SUBEVENT_STREAM_STARTED. More...
 
static uint8_t a2dp_subevent_stream_started_get_local_seid (const uint8_t *event)
 Get field local_seid from event A2DP_SUBEVENT_STREAM_STARTED. More...
 
static uint16_t a2dp_subevent_stream_stopped_get_a2dp_cid (const uint8_t *event)
 Get field a2dp_cid from event A2DP_SUBEVENT_STREAM_STOPPED. More...
 
static uint8_t a2dp_subevent_stream_stopped_get_local_seid (const uint8_t *event)
 Get field local_seid from event A2DP_SUBEVENT_STREAM_STOPPED. More...
 
static uint16_t a2dp_subevent_stream_suspended_get_a2dp_cid (const uint8_t *event)
 Get field a2dp_cid from event A2DP_SUBEVENT_STREAM_SUSPENDED. More...
 
static uint8_t a2dp_subevent_stream_suspended_get_local_seid (const uint8_t *event)
 Get field local_seid from event A2DP_SUBEVENT_STREAM_SUSPENDED. More...
 
static uint16_t a2dp_subevent_streaming_can_send_media_packet_now_get_a2dp_cid (const uint8_t *event)
 Get field a2dp_cid from event A2DP_SUBEVENT_STREAMING_CAN_SEND_MEDIA_PACKET_NOW. More...
 
static uint8_t a2dp_subevent_streaming_can_send_media_packet_now_get_local_seid (const uint8_t *event)
 Get field local_seid from event A2DP_SUBEVENT_STREAMING_CAN_SEND_MEDIA_PACKET_NOW. More...
 
static uint16_t att_event_handle_value_indication_complete_get_attribute_handle (const uint8_t *event)
 Get field attribute_handle from event ATT_EVENT_HANDLE_VALUE_INDICATION_COMPLETE. More...
 
static hci_con_handle_t att_event_handle_value_indication_complete_get_conn_handle (const uint8_t *event)
 Get field conn_handle from event ATT_EVENT_HANDLE_VALUE_INDICATION_COMPLETE. More...
 
static uint8_t att_event_handle_value_indication_complete_get_status (const uint8_t *event)
 Get field status from event ATT_EVENT_HANDLE_VALUE_INDICATION_COMPLETE. More...
 
static hci_con_handle_t att_event_mtu_exchange_complete_get_handle (const uint8_t *event)
 Get field handle from event ATT_EVENT_MTU_EXCHANGE_COMPLETE. More...
 
static uint16_t att_event_mtu_exchange_complete_get_MTU (const uint8_t *event)
 Get field MTU from event ATT_EVENT_MTU_EXCHANGE_COMPLETE. More...
 
static uint16_t avdtp_subevent_signaling_accept_get_avdtp_cid (const uint8_t *event)
 Get field avdtp_cid from event AVDTP_SUBEVENT_SIGNALING_ACCEPT. More...
 
static uint8_t avdtp_subevent_signaling_accept_get_local_seid (const uint8_t *event)
 Get field local_seid from event AVDTP_SUBEVENT_SIGNALING_ACCEPT. More...
 
static uint8_t avdtp_subevent_signaling_accept_get_signal_identifier (const uint8_t *event)
 Get field signal_identifier from event AVDTP_SUBEVENT_SIGNALING_ACCEPT. More...
 
static uint16_t avdtp_subevent_signaling_connection_established_get_avdtp_cid (const uint8_t *event)
 Get field avdtp_cid from event AVDTP_SUBEVENT_SIGNALING_CONNECTION_ESTABLISHED. More...
 
static void avdtp_subevent_signaling_connection_established_get_bd_addr (const uint8_t *event, bd_addr_t bd_addr)
 Get field bd_addr from event AVDTP_SUBEVENT_SIGNALING_CONNECTION_ESTABLISHED. More...
 
static uint8_t avdtp_subevent_signaling_connection_established_get_status (const uint8_t *event)
 Get field status from event AVDTP_SUBEVENT_SIGNALING_CONNECTION_ESTABLISHED. More...
 
static uint16_t avdtp_subevent_signaling_connection_released_get_avdtp_cid (const uint8_t *event)
 Get field avdtp_cid from event AVDTP_SUBEVENT_SIGNALING_CONNECTION_RELEASED. More...
 
static uint16_t avdtp_subevent_signaling_general_reject_get_avdtp_cid (const uint8_t *event)
 Get field avdtp_cid from event AVDTP_SUBEVENT_SIGNALING_GENERAL_REJECT. More...
 
static uint8_t avdtp_subevent_signaling_general_reject_get_local_seid (const uint8_t *event)
 Get field local_seid from event AVDTP_SUBEVENT_SIGNALING_GENERAL_REJECT. More...
 
static uint8_t avdtp_subevent_signaling_general_reject_get_signal_identifier (const uint8_t *event)
 Get field signal_identifier from event AVDTP_SUBEVENT_SIGNALING_GENERAL_REJECT. More...
 
static uint16_t avdtp_subevent_signaling_media_codec_other_capability_get_avdtp_cid (const uint8_t *event)
 Get field avdtp_cid from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CAPABILITY. More...
 
static uint8_t avdtp_subevent_signaling_media_codec_other_capability_get_local_seid (const uint8_t *event)
 Get field local_seid from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CAPABILITY. More...
 
static const uint8_t * avdtp_subevent_signaling_media_codec_other_capability_get_media_codec_information (const uint8_t *event)
 Get field media_codec_information from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CAPABILITY. More...
 
static int avdtp_subevent_signaling_media_codec_other_capability_get_media_codec_information_len (const uint8_t *event)
 Get field media_codec_information_len from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CAPABILITY. More...
 
static uint16_t avdtp_subevent_signaling_media_codec_other_capability_get_media_codec_type (const uint8_t *event)
 Get field media_codec_type from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CAPABILITY. More...
 
static uint8_t avdtp_subevent_signaling_media_codec_other_capability_get_media_type (const uint8_t *event)
 Get field media_type from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CAPABILITY. More...
 
static uint8_t avdtp_subevent_signaling_media_codec_other_capability_get_remote_seid (const uint8_t *event)
 Get field remote_seid from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CAPABILITY. More...
 
static uint16_t avdtp_subevent_signaling_media_codec_other_configuration_get_avdtp_cid (const uint8_t *event)
 Get field avdtp_cid from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION. More...
 
static uint8_t avdtp_subevent_signaling_media_codec_other_configuration_get_local_seid (const uint8_t *event)
 Get field local_seid from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION. More...
 
static const uint8_t * avdtp_subevent_signaling_media_codec_other_configuration_get_media_codec_information (const uint8_t *event)
 Get field media_codec_information from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION. More...
 
static int avdtp_subevent_signaling_media_codec_other_configuration_get_media_codec_information_len (const uint8_t *event)
 Get field media_codec_information_len from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION. More...
 
static uint16_t avdtp_subevent_signaling_media_codec_other_configuration_get_media_codec_type (const uint8_t *event)
 Get field media_codec_type from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION. More...
 
static uint8_t avdtp_subevent_signaling_media_codec_other_configuration_get_media_type (const uint8_t *event)
 Get field media_type from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION. More...
 
static uint8_t avdtp_subevent_signaling_media_codec_other_configuration_get_reconfigure (const uint8_t *event)
 Get field reconfigure from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION. More...
 
static uint8_t avdtp_subevent_signaling_media_codec_other_configuration_get_remote_seid (const uint8_t *event)
 Get field remote_seid from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION. More...
 
static uint8_t avdtp_subevent_signaling_media_codec_sbc_capability_get_allocation_method_bitmap (const uint8_t *event)
 Get field allocation_method_bitmap from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CAPABILITY. More...
 
static uint16_t avdtp_subevent_signaling_media_codec_sbc_capability_get_avdtp_cid (const uint8_t *event)
 Get field avdtp_cid from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CAPABILITY. More...
 
static uint8_t avdtp_subevent_signaling_media_codec_sbc_capability_get_block_length_bitmap (const uint8_t *event)
 Get field block_length_bitmap from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CAPABILITY. More...
 
static uint8_t avdtp_subevent_signaling_media_codec_sbc_capability_get_channel_mode_bitmap (const uint8_t *event)
 Get field channel_mode_bitmap from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CAPABILITY. More...
 
static uint8_t avdtp_subevent_signaling_media_codec_sbc_capability_get_local_seid (const uint8_t *event)
 Get field local_seid from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CAPABILITY. More...
 
static uint8_t avdtp_subevent_signaling_media_codec_sbc_capability_get_max_bitpool_value (const uint8_t *event)
 Get field max_bitpool_value from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CAPABILITY. More...
 
static uint8_t avdtp_subevent_signaling_media_codec_sbc_capability_get_media_type (const uint8_t *event)
 Get field media_type from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CAPABILITY. More...
 
static uint8_t avdtp_subevent_signaling_media_codec_sbc_capability_get_min_bitpool_value (const uint8_t *event)
 Get field min_bitpool_value from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CAPABILITY. More...
 
static uint8_t avdtp_subevent_signaling_media_codec_sbc_capability_get_remote_seid (const uint8_t *event)
 Get field remote_seid from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CAPABILITY. More...
 
static uint8_t avdtp_subevent_signaling_media_codec_sbc_capability_get_sampling_frequency_bitmap (const uint8_t *event)
 Get field sampling_frequency_bitmap from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CAPABILITY. More...
 
static uint8_t avdtp_subevent_signaling_media_codec_sbc_capability_get_subbands_bitmap (const uint8_t *event)
 Get field subbands_bitmap from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CAPABILITY. More...
 
static uint8_t avdtp_subevent_signaling_media_codec_sbc_configuration_get_allocation_method (const uint8_t *event)
 Get field allocation_method from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION. More...
 
static uint16_t avdtp_subevent_signaling_media_codec_sbc_configuration_get_avdtp_cid (const uint8_t *event)
 Get field avdtp_cid from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION. More...
 
static uint8_t avdtp_subevent_signaling_media_codec_sbc_configuration_get_block_length (const uint8_t *event)
 Get field block_length from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION. More...
 
static uint8_t avdtp_subevent_signaling_media_codec_sbc_configuration_get_channel_mode (const uint8_t *event)
 Get field channel_mode from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION. More...
 
static uint8_t avdtp_subevent_signaling_media_codec_sbc_configuration_get_local_seid (const uint8_t *event)
 Get field local_seid from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION. More...
 
static uint8_t avdtp_subevent_signaling_media_codec_sbc_configuration_get_max_bitpool_value (const uint8_t *event)
 Get field max_bitpool_value from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION. More...
 
static uint8_t avdtp_subevent_signaling_media_codec_sbc_configuration_get_media_type (const uint8_t *event)
 Get field media_type from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION. More...
 
static uint8_t avdtp_subevent_signaling_media_codec_sbc_configuration_get_min_bitpool_value (const uint8_t *event)
 Get field min_bitpool_value from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION. More...
 
static uint8_t avdtp_subevent_signaling_media_codec_sbc_configuration_get_num_channels (const uint8_t *event)
 Get field num_channels from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION. More...
 
static uint8_t avdtp_subevent_signaling_media_codec_sbc_configuration_get_reconfigure (const uint8_t *event)
 Get field reconfigure from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION. More...
 
static uint8_t avdtp_subevent_signaling_media_codec_sbc_configuration_get_remote_seid (const uint8_t *event)
 Get field remote_seid from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION. More...
 
static uint16_t avdtp_subevent_signaling_media_codec_sbc_configuration_get_sampling_frequency (const uint8_t *event)
 Get field sampling_frequency from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION. More...
 
static uint8_t avdtp_subevent_signaling_media_codec_sbc_configuration_get_subbands (const uint8_t *event)
 Get field subbands from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION. More...
 
static uint16_t avdtp_subevent_signaling_reject_get_avdtp_cid (const uint8_t *event)
 Get field avdtp_cid from event AVDTP_SUBEVENT_SIGNALING_REJECT. More...
 
static uint8_t avdtp_subevent_signaling_reject_get_local_seid (const uint8_t *event)
 Get field local_seid from event AVDTP_SUBEVENT_SIGNALING_REJECT. More...
 
static uint8_t avdtp_subevent_signaling_reject_get_signal_identifier (const uint8_t *event)
 Get field signal_identifier from event AVDTP_SUBEVENT_SIGNALING_REJECT. More...
 
static uint16_t avdtp_subevent_signaling_sep_found_get_avdtp_cid (const uint8_t *event)
 Get field avdtp_cid from event AVDTP_SUBEVENT_SIGNALING_SEP_FOUND. More...
 
static uint8_t avdtp_subevent_signaling_sep_found_get_in_use (const uint8_t *event)
 Get field in_use from event AVDTP_SUBEVENT_SIGNALING_SEP_FOUND. More...
 
static uint8_t avdtp_subevent_signaling_sep_found_get_media_type (const uint8_t *event)
 Get field media_type from event AVDTP_SUBEVENT_SIGNALING_SEP_FOUND. More...
 
static uint8_t avdtp_subevent_signaling_sep_found_get_remote_seid (const uint8_t *event)
 Get field remote_seid from event AVDTP_SUBEVENT_SIGNALING_SEP_FOUND. More...
 
static uint8_t avdtp_subevent_signaling_sep_found_get_sep_type (const uint8_t *event)
 Get field sep_type from event AVDTP_SUBEVENT_SIGNALING_SEP_FOUND. More...
 
static uint16_t avdtp_subevent_streaming_can_send_media_packet_now_get_avdtp_cid (const uint8_t *event)
 Get field avdtp_cid from event AVDTP_SUBEVENT_STREAMING_CAN_SEND_MEDIA_PACKET_NOW. More...
 
static uint8_t avdtp_subevent_streaming_can_send_media_packet_now_get_local_seid (const uint8_t *event)
 Get field local_seid from event AVDTP_SUBEVENT_STREAMING_CAN_SEND_MEDIA_PACKET_NOW. More...
 
static uint16_t avdtp_subevent_streaming_can_send_media_packet_now_get_sequence_number (const uint8_t *event)
 Get field sequence_number from event AVDTP_SUBEVENT_STREAMING_CAN_SEND_MEDIA_PACKET_NOW. More...
 
static uint16_t avdtp_subevent_streaming_connection_established_get_avdtp_cid (const uint8_t *event)
 Get field avdtp_cid from event AVDTP_SUBEVENT_STREAMING_CONNECTION_ESTABLISHED. More...
 
static void avdtp_subevent_streaming_connection_established_get_bd_addr (const uint8_t *event, bd_addr_t bd_addr)
 Get field bd_addr from event AVDTP_SUBEVENT_STREAMING_CONNECTION_ESTABLISHED. More...
 
static uint8_t avdtp_subevent_streaming_connection_established_get_local_seid (const uint8_t *event)
 Get field local_seid from event AVDTP_SUBEVENT_STREAMING_CONNECTION_ESTABLISHED. More...
 
static uint8_t avdtp_subevent_streaming_connection_established_get_remote_seid (const uint8_t *event)
 Get field remote_seid from event AVDTP_SUBEVENT_STREAMING_CONNECTION_ESTABLISHED. More...
 
static uint8_t avdtp_subevent_streaming_connection_established_get_status (const uint8_t *event)
 Get field status from event AVDTP_SUBEVENT_STREAMING_CONNECTION_ESTABLISHED. More...
 
static uint16_t avdtp_subevent_streaming_connection_released_get_avdtp_cid (const uint8_t *event)
 Get field avdtp_cid from event AVDTP_SUBEVENT_STREAMING_CONNECTION_RELEASED. More...
 
static uint8_t avdtp_subevent_streaming_connection_released_get_local_seid (const uint8_t *event)
 Get field local_seid from event AVDTP_SUBEVENT_STREAMING_CONNECTION_RELEASED. More...
 
static uint16_t avrcp_subevent_company_ids_query_get_avrcp_cid (const uint8_t *event)
 Get field avrcp_cid from event AVRCP_SUBEVENT_COMPANY_IDS_QUERY. More...
 
static uint16_t avrcp_subevent_connection_established_get_avrcp_cid (const uint8_t *event)
 Get field avrcp_cid from event AVRCP_SUBEVENT_CONNECTION_ESTABLISHED. More...
 
static void avrcp_subevent_connection_established_get_bd_addr (const uint8_t *event, bd_addr_t bd_addr)
 Get field bd_addr from event AVRCP_SUBEVENT_CONNECTION_ESTABLISHED. More...
 
static uint8_t avrcp_subevent_connection_established_get_status (const uint8_t *event)
 Get field status from event AVRCP_SUBEVENT_CONNECTION_ESTABLISHED. More...
 
static uint16_t avrcp_subevent_connection_released_get_avrcp_cid (const uint8_t *event)
 Get field avrcp_cid from event AVRCP_SUBEVENT_CONNECTION_RELEASED. More...
 
static uint16_t avrcp_subevent_enable_notification_complete_get_avrcp_cid (const uint8_t *event)
 Get field avrcp_cid from event AVRCP_SUBEVENT_ENABLE_NOTIFICATION_COMPLETE. More...
 
static uint8_t avrcp_subevent_enable_notification_complete_get_command_type (const uint8_t *event)
 Get field command_type from event AVRCP_SUBEVENT_ENABLE_NOTIFICATION_COMPLETE. More...
 
static uint8_t avrcp_subevent_enable_notification_complete_get_notification_id (const uint8_t *event)
 Get field notification_id from event AVRCP_SUBEVENT_ENABLE_NOTIFICATION_COMPLETE. More...
 
static uint16_t avrcp_subevent_event_ids_query_get_avrcp_cid (const uint8_t *event)
 Get field avrcp_cid from event AVRCP_SUBEVENT_EVENT_IDS_QUERY. More...
 
static uint16_t avrcp_subevent_notification_available_players_changed_get_avrcp_cid (const uint8_t *event)
 Get field avrcp_cid from event AVRCP_SUBEVENT_NOTIFICATION_AVAILABLE_PLAYERS_CHANGED. More...
 
static uint8_t avrcp_subevent_notification_available_players_changed_get_command_type (const uint8_t *event)
 Get field command_type from event AVRCP_SUBEVENT_NOTIFICATION_AVAILABLE_PLAYERS_CHANGED. More...
 
static uint16_t avrcp_subevent_notification_now_playing_content_changed_get_avrcp_cid (const uint8_t *event)
 Get field avrcp_cid from event AVRCP_SUBEVENT_NOTIFICATION_NOW_PLAYING_CONTENT_CHANGED. More...
 
static uint8_t avrcp_subevent_notification_now_playing_content_changed_get_command_type (const uint8_t *event)
 Get field command_type from event AVRCP_SUBEVENT_NOTIFICATION_NOW_PLAYING_CONTENT_CHANGED. More...
 
static uint16_t avrcp_subevent_notification_playback_status_changed_get_avrcp_cid (const uint8_t *event)
 Get field avrcp_cid from event AVRCP_SUBEVENT_NOTIFICATION_PLAYBACK_STATUS_CHANGED. More...
 
static uint8_t avrcp_subevent_notification_playback_status_changed_get_command_type (const uint8_t *event)
 Get field command_type from event AVRCP_SUBEVENT_NOTIFICATION_PLAYBACK_STATUS_CHANGED. More...
 
static uint8_t avrcp_subevent_notification_playback_status_changed_get_play_status (const uint8_t *event)
 Get field play_status from event AVRCP_SUBEVENT_NOTIFICATION_PLAYBACK_STATUS_CHANGED. More...
 
static uint16_t avrcp_subevent_notification_track_changed_get_avrcp_cid (const uint8_t *event)
 Get field avrcp_cid from event AVRCP_SUBEVENT_NOTIFICATION_TRACK_CHANGED. More...
 
static uint8_t avrcp_subevent_notification_track_changed_get_command_type (const uint8_t *event)
 Get field command_type from event AVRCP_SUBEVENT_NOTIFICATION_TRACK_CHANGED. More...
 
static uint8_t avrcp_subevent_notification_volume_changed_get_absolute_volume (const uint8_t *event)
 Get field absolute_volume from event AVRCP_SUBEVENT_NOTIFICATION_VOLUME_CHANGED. More...
 
static uint16_t avrcp_subevent_notification_volume_changed_get_avrcp_cid (const uint8_t *event)
 Get field avrcp_cid from event AVRCP_SUBEVENT_NOTIFICATION_VOLUME_CHANGED. More...
 
static uint8_t avrcp_subevent_notification_volume_changed_get_command_type (const uint8_t *event)
 Get field command_type from event AVRCP_SUBEVENT_NOTIFICATION_VOLUME_CHANGED. More...
 
static uint16_t avrcp_subevent_now_playing_album_info_get_avrcp_cid (const uint8_t *event)
 Get field avrcp_cid from event AVRCP_SUBEVENT_NOW_PLAYING_ALBUM_INFO. More...
 
static uint8_t avrcp_subevent_now_playing_album_info_get_command_type (const uint8_t *event)
 Get field command_type from event AVRCP_SUBEVENT_NOW_PLAYING_ALBUM_INFO. More...
 
static const uint8_t * avrcp_subevent_now_playing_album_info_get_value (const uint8_t *event)
 Get field value from event AVRCP_SUBEVENT_NOW_PLAYING_ALBUM_INFO. More...
 
static int avrcp_subevent_now_playing_album_info_get_value_len (const uint8_t *event)
 Get field value_len from event AVRCP_SUBEVENT_NOW_PLAYING_ALBUM_INFO. More...
 
static uint16_t avrcp_subevent_now_playing_artist_info_get_avrcp_cid (const uint8_t *event)
 Get field avrcp_cid from event AVRCP_SUBEVENT_NOW_PLAYING_ARTIST_INFO. More...
 
static uint8_t avrcp_subevent_now_playing_artist_info_get_command_type (const uint8_t *event)
 Get field command_type from event AVRCP_SUBEVENT_NOW_PLAYING_ARTIST_INFO. More...
 
static const uint8_t * avrcp_subevent_now_playing_artist_info_get_value (const uint8_t *event)
 Get field value from event AVRCP_SUBEVENT_NOW_PLAYING_ARTIST_INFO. More...
 
static int avrcp_subevent_now_playing_artist_info_get_value_len (const uint8_t *event)
 Get field value_len from event AVRCP_SUBEVENT_NOW_PLAYING_ARTIST_INFO. More...
 
static uint16_t avrcp_subevent_now_playing_genre_info_get_avrcp_cid (const uint8_t *event)
 Get field avrcp_cid from event AVRCP_SUBEVENT_NOW_PLAYING_GENRE_INFO. More...
 
static uint8_t avrcp_subevent_now_playing_genre_info_get_command_type (const uint8_t *event)
 Get field command_type from event AVRCP_SUBEVENT_NOW_PLAYING_GENRE_INFO. More...
 
static const uint8_t * avrcp_subevent_now_playing_genre_info_get_value (const uint8_t *event)
 Get field value from event AVRCP_SUBEVENT_NOW_PLAYING_GENRE_INFO. More...
 
static int avrcp_subevent_now_playing_genre_info_get_value_len (const uint8_t *event)
 Get field value_len from event AVRCP_SUBEVENT_NOW_PLAYING_GENRE_INFO. More...
 
static uint16_t avrcp_subevent_now_playing_info_done_get_avrcp_cid (const uint8_t *event)
 Get field avrcp_cid from event AVRCP_SUBEVENT_NOW_PLAYING_INFO_DONE. More...
 
static uint8_t avrcp_subevent_now_playing_info_done_get_command_type (const uint8_t *event)
 Get field command_type from event AVRCP_SUBEVENT_NOW_PLAYING_INFO_DONE. More...
 
static uint8_t avrcp_subevent_now_playing_info_done_get_status (const uint8_t *event)
 Get field status from event AVRCP_SUBEVENT_NOW_PLAYING_INFO_DONE. More...
 
static uint16_t avrcp_subevent_now_playing_song_length_ms_info_get_avrcp_cid (const uint8_t *event)
 Get field avrcp_cid from event AVRCP_SUBEVENT_NOW_PLAYING_SONG_LENGTH_MS_INFO. More...
 
static uint8_t avrcp_subevent_now_playing_song_length_ms_info_get_command_type (const uint8_t *event)
 Get field command_type from event AVRCP_SUBEVENT_NOW_PLAYING_SONG_LENGTH_MS_INFO. More...
 
static uint32_t avrcp_subevent_now_playing_song_length_ms_info_get_song_length (const uint8_t *event)
 Get field song_length from event AVRCP_SUBEVENT_NOW_PLAYING_SONG_LENGTH_MS_INFO. More...
 
static uint16_t avrcp_subevent_now_playing_title_info_get_avrcp_cid (const uint8_t *event)
 Get field avrcp_cid from event AVRCP_SUBEVENT_NOW_PLAYING_TITLE_INFO. More...
 
static uint8_t avrcp_subevent_now_playing_title_info_get_command_type (const uint8_t *event)
 Get field command_type from event AVRCP_SUBEVENT_NOW_PLAYING_TITLE_INFO. More...
 
static const uint8_t * avrcp_subevent_now_playing_title_info_get_value (const uint8_t *event)
 Get field value from event AVRCP_SUBEVENT_NOW_PLAYING_TITLE_INFO. More...
 
static int avrcp_subevent_now_playing_title_info_get_value_len (const uint8_t *event)
 Get field value_len from event AVRCP_SUBEVENT_NOW_PLAYING_TITLE_INFO. More...
 
static uint16_t avrcp_subevent_now_playing_total_tracks_info_get_avrcp_cid (const uint8_t *event)
 Get field avrcp_cid from event AVRCP_SUBEVENT_NOW_PLAYING_TOTAL_TRACKS_INFO. More...
 
static uint8_t avrcp_subevent_now_playing_total_tracks_info_get_command_type (const uint8_t *event)
 Get field command_type from event AVRCP_SUBEVENT_NOW_PLAYING_TOTAL_TRACKS_INFO. More...
 
static uint8_t avrcp_subevent_now_playing_total_tracks_info_get_total_tracks (const uint8_t *event)
 Get field total_tracks from event AVRCP_SUBEVENT_NOW_PLAYING_TOTAL_TRACKS_INFO. More...
 
static uint16_t avrcp_subevent_now_playing_track_info_get_avrcp_cid (const uint8_t *event)
 Get field avrcp_cid from event AVRCP_SUBEVENT_NOW_PLAYING_TRACK_INFO. More...
 
static uint8_t avrcp_subevent_now_playing_track_info_get_command_type (const uint8_t *event)
 Get field command_type from event AVRCP_SUBEVENT_NOW_PLAYING_TRACK_INFO. More...
 
static uint8_t avrcp_subevent_now_playing_track_info_get_track (const uint8_t *event)
 Get field track from event AVRCP_SUBEVENT_NOW_PLAYING_TRACK_INFO. More...
 
static uint16_t avrcp_subevent_operation_complete_get_avrcp_cid (const uint8_t *event)
 Get field avrcp_cid from event AVRCP_SUBEVENT_OPERATION_COMPLETE. More...
 
static uint8_t avrcp_subevent_operation_complete_get_command_type (const uint8_t *event)
 Get field command_type from event AVRCP_SUBEVENT_OPERATION_COMPLETE. More...
 
static uint8_t avrcp_subevent_operation_complete_get_operation_id (const uint8_t *event)
 Get field operation_id from event AVRCP_SUBEVENT_OPERATION_COMPLETE. More...
 
static uint16_t avrcp_subevent_operation_get_avrcp_cid (const uint8_t *event)
 Get field avrcp_cid from event AVRCP_SUBEVENT_OPERATION. More...
 
static uint8_t avrcp_subevent_operation_get_operand (const uint8_t *event)
 Get field operand from event AVRCP_SUBEVENT_OPERATION. More...
 
static uint8_t avrcp_subevent_operation_get_operands_length (const uint8_t *event)
 Get field operands_length from event AVRCP_SUBEVENT_OPERATION. More...
 
static uint8_t avrcp_subevent_operation_get_operation_id (const uint8_t *event)
 Get field operation_id from event AVRCP_SUBEVENT_OPERATION. More...
 
static uint16_t avrcp_subevent_operation_start_get_avrcp_cid (const uint8_t *event)
 Get field avrcp_cid from event AVRCP_SUBEVENT_OPERATION_START. More...
 
static uint8_t avrcp_subevent_operation_start_get_command_type (const uint8_t *event)
 Get field command_type from event AVRCP_SUBEVENT_OPERATION_START. More...
 
static uint8_t avrcp_subevent_operation_start_get_operation_id (const uint8_t *event)
 Get field operation_id from event AVRCP_SUBEVENT_OPERATION_START. More...
 
static uint16_t avrcp_subevent_play_status_get_avrcp_cid (const uint8_t *event)
 Get field avrcp_cid from event AVRCP_SUBEVENT_PLAY_STATUS. More...
 
static uint8_t avrcp_subevent_play_status_get_command_type (const uint8_t *event)
 Get field command_type from event AVRCP_SUBEVENT_PLAY_STATUS. More...
 
static uint8_t avrcp_subevent_play_status_get_play_status (const uint8_t *event)
 Get field play_status from event AVRCP_SUBEVENT_PLAY_STATUS. More...
 
static uint32_t avrcp_subevent_play_status_get_song_length (const uint8_t *event)
 Get field song_length from event AVRCP_SUBEVENT_PLAY_STATUS. More...
 
static uint32_t avrcp_subevent_play_status_get_song_position (const uint8_t *event)
 Get field song_position from event AVRCP_SUBEVENT_PLAY_STATUS. More...
 
static uint16_t avrcp_subevent_play_status_query_get_avrcp_cid (const uint8_t *event)
 Get field avrcp_cid from event AVRCP_SUBEVENT_PLAY_STATUS_QUERY. More...
 
static uint16_t avrcp_subevent_player_application_value_response_get_avrcp_cid (const uint8_t *event)
 Get field avrcp_cid from event AVRCP_SUBEVENT_PLAYER_APPLICATION_VALUE_RESPONSE. More...
 
static uint8_t avrcp_subevent_player_application_value_response_get_command_type (const uint8_t *event)
 Get field command_type from event AVRCP_SUBEVENT_PLAYER_APPLICATION_VALUE_RESPONSE. More...
 
static uint8_t avrcp_subevent_set_absolute_volume_response_get_absolute_volume (const uint8_t *event)
 Get field absolute_volume from event AVRCP_SUBEVENT_SET_ABSOLUTE_VOLUME_RESPONSE. More...
 
static uint16_t avrcp_subevent_set_absolute_volume_response_get_avrcp_cid (const uint8_t *event)
 Get field avrcp_cid from event AVRCP_SUBEVENT_SET_ABSOLUTE_VOLUME_RESPONSE. More...
 
static uint8_t avrcp_subevent_set_absolute_volume_response_get_command_type (const uint8_t *event)
 Get field command_type from event AVRCP_SUBEVENT_SET_ABSOLUTE_VOLUME_RESPONSE. More...
 
static uint16_t avrcp_subevent_shuffle_and_repeat_mode_get_avrcp_cid (const uint8_t *event)
 Get field avrcp_cid from event AVRCP_SUBEVENT_SHUFFLE_AND_REPEAT_MODE. More...
 
static uint8_t avrcp_subevent_shuffle_and_repeat_mode_get_command_type (const uint8_t *event)
 Get field command_type from event AVRCP_SUBEVENT_SHUFFLE_AND_REPEAT_MODE. More...
 
static uint8_t avrcp_subevent_shuffle_and_repeat_mode_get_repeat_mode (const uint8_t *event)
 Get field repeat_mode from event AVRCP_SUBEVENT_SHUFFLE_AND_REPEAT_MODE. More...
 
static uint8_t avrcp_subevent_shuffle_and_repeat_mode_get_shuffle_mode (const uint8_t *event)
 Get field shuffle_mode from event AVRCP_SUBEVENT_SHUFFLE_AND_REPEAT_MODE. More...
 
static uint16_t bnep_event_can_send_now_get_bnep_cid (const uint8_t *event)
 Get field bnep_cid from event BNEP_EVENT_CAN_SEND_NOW. More...
 
static uint16_t bnep_event_can_send_now_get_destination_uuid (const uint8_t *event)
 Get field destination_uuid from event BNEP_EVENT_CAN_SEND_NOW. More...
 
static void bnep_event_can_send_now_get_remote_address (const uint8_t *event, bd_addr_t remote_address)
 Get field remote_address from event BNEP_EVENT_CAN_SEND_NOW. More...
 
static uint16_t bnep_event_can_send_now_get_source_uuid (const uint8_t *event)
 Get field source_uuid from event BNEP_EVENT_CAN_SEND_NOW. More...
 
static uint16_t bnep_event_channel_closed_get_bnep_cid (const uint8_t *event)
 Get field bnep_cid from event BNEP_EVENT_CHANNEL_CLOSED. More...
 
static uint16_t bnep_event_channel_closed_get_destination_uuid (const uint8_t *event)
 Get field destination_uuid from event BNEP_EVENT_CHANNEL_CLOSED. More...
 
static void bnep_event_channel_closed_get_remote_address (const uint8_t *event, bd_addr_t remote_address)
 Get field remote_address from event BNEP_EVENT_CHANNEL_CLOSED. More...
 
static uint16_t bnep_event_channel_closed_get_source_uuid (const uint8_t *event)
 Get field source_uuid from event BNEP_EVENT_CHANNEL_CLOSED. More...
 
static uint16_t bnep_event_channel_opened_get_bnep_cid (const uint8_t *event)
 Get field bnep_cid from event BNEP_EVENT_CHANNEL_OPENED. More...
 
static uint16_t bnep_event_channel_opened_get_destination_uuid (const uint8_t *event)
 Get field destination_uuid from event BNEP_EVENT_CHANNEL_OPENED. More...
 
static uint16_t bnep_event_channel_opened_get_mtu (const uint8_t *event)
 Get field mtu from event BNEP_EVENT_CHANNEL_OPENED. More...
 
static void bnep_event_channel_opened_get_remote_address (const uint8_t *event, bd_addr_t remote_address)
 Get field remote_address from event BNEP_EVENT_CHANNEL_OPENED. More...
 
static uint16_t bnep_event_channel_opened_get_source_uuid (const uint8_t *event)
 Get field source_uuid from event BNEP_EVENT_CHANNEL_OPENED. More...
 
static uint8_t bnep_event_channel_opened_get_status (const uint8_t *event)
 Get field status from event BNEP_EVENT_CHANNEL_OPENED. More...
 
static uint16_t bnep_event_channel_timeout_get_bnep_cid (const uint8_t *event)
 Get field bnep_cid from event BNEP_EVENT_CHANNEL_TIMEOUT. More...
 
static uint8_t bnep_event_channel_timeout_get_channel_state (const uint8_t *event)
 Get field channel_state from event BNEP_EVENT_CHANNEL_TIMEOUT. More...
 
static uint16_t bnep_event_channel_timeout_get_destination_uuid (const uint8_t *event)
 Get field destination_uuid from event BNEP_EVENT_CHANNEL_TIMEOUT. More...
 
static void bnep_event_channel_timeout_get_remote_address (const uint8_t *event, bd_addr_t remote_address)
 Get field remote_address from event BNEP_EVENT_CHANNEL_TIMEOUT. More...
 
static uint16_t bnep_event_channel_timeout_get_source_uuid (const uint8_t *event)
 Get field source_uuid from event BNEP_EVENT_CHANNEL_TIMEOUT. More...
 
static uint16_t bnep_event_service_registered_get_service_uuid (const uint8_t *event)
 Get field service_uuid from event BNEP_EVENT_SERVICE_REGISTERED. More...
 
static uint8_t bnep_event_service_registered_get_status (const uint8_t *event)
 Get field status from event BNEP_EVENT_SERVICE_REGISTERED. More...
 
static uint8_t btstack_event_discoverable_enabled_get_discoverable (const uint8_t *event)
 Get field discoverable from event BTSTACK_EVENT_DISCOVERABLE_ENABLED. More...
 
static uint8_t btstack_event_nr_connections_changed_get_number_connections (const uint8_t *event)
 Get field number_connections from event BTSTACK_EVENT_NR_CONNECTIONS_CHANGED. More...
 
static uint8_t btstack_event_state_get_state (const uint8_t *event)
 Get field state from event BTSTACK_EVENT_STATE. More...
 
static void gap_event_advertising_report_get_address (const uint8_t *event, bd_addr_t address)
 Get field address from event GAP_EVENT_ADVERTISING_REPORT. More...
 
static uint8_t gap_event_advertising_report_get_address_type (const uint8_t *event)
 Get field address_type from event GAP_EVENT_ADVERTISING_REPORT. More...
 
static uint8_t gap_event_advertising_report_get_advertising_event_type (const uint8_t *event)
 Get field advertising_event_type from event GAP_EVENT_ADVERTISING_REPORT. More...
 
static const uint8_t * gap_event_advertising_report_get_data (const uint8_t *event)
 Get field data from event GAP_EVENT_ADVERTISING_REPORT. More...
 
static int gap_event_advertising_report_get_data_length (const uint8_t *event)
 Get field data_length from event GAP_EVENT_ADVERTISING_REPORT. More...
 
static uint8_t gap_event_advertising_report_get_rssi (const uint8_t *event)
 Get field rssi from event GAP_EVENT_ADVERTISING_REPORT. More...
 
static void gap_event_dedicated_bonding_completed_get_address (const uint8_t *event, bd_addr_t address)
 Get field address from event GAP_EVENT_DEDICATED_BONDING_COMPLETED. More...
 
static uint8_t gap_event_dedicated_bonding_completed_get_status (const uint8_t *event)
 Get field status from event GAP_EVENT_DEDICATED_BONDING_COMPLETED. More...
 
static uint8_t gap_event_inquiry_complete_get_status (const uint8_t *event)
 Get field status from event GAP_EVENT_INQUIRY_COMPLETE. More...
 
static void gap_event_inquiry_result_get_bd_addr (const uint8_t *event, bd_addr_t bd_addr)
 Get field bd_addr from event GAP_EVENT_INQUIRY_RESULT. More...
 
static uint32_t gap_event_inquiry_result_get_class_of_device (const uint8_t *event)
 Get field class_of_device from event GAP_EVENT_INQUIRY_RESULT. More...
 
static uint16_t gap_event_inquiry_result_get_clock_offset (const uint8_t *event)
 Get field clock_offset from event GAP_EVENT_INQUIRY_RESULT. More...
 
static const uint8_t * gap_event_inquiry_result_get_name (const uint8_t *event)
 Get field name from event GAP_EVENT_INQUIRY_RESULT. More...
 
static uint8_t gap_event_inquiry_result_get_name_available (const uint8_t *event)
 Get field name_available from event GAP_EVENT_INQUIRY_RESULT. More...
 
static int gap_event_inquiry_result_get_name_len (const uint8_t *event)
 Get field name_len from event GAP_EVENT_INQUIRY_RESULT. More...
 
static uint8_t gap_event_inquiry_result_get_page_scan_repetition_mode (const uint8_t *event)
 Get field page_scan_repetition_mode from event GAP_EVENT_INQUIRY_RESULT. More...
 
static uint8_t gap_event_inquiry_result_get_rssi (const uint8_t *event)
 Get field rssi from event GAP_EVENT_INQUIRY_RESULT. More...
 
static uint8_t gap_event_inquiry_result_get_rssi_available (const uint8_t *event)
 Get field rssi_available from event GAP_EVENT_INQUIRY_RESULT. More...
 
static hci_con_handle_t gap_event_security_level_get_handle (const uint8_t *event)
 Get field handle from event GAP_EVENT_SECURITY_LEVEL. More...
 
static uint8_t gap_event_security_level_get_security_level (const uint8_t *event)
 Get field security_level from event GAP_EVENT_SECURITY_LEVEL. More...
 
static uint16_t goep_subevent_can_send_now_get_goep_cid (const uint8_t *event)
 Get field goep_cid from event GOEP_SUBEVENT_CAN_SEND_NOW. More...
 
static uint16_t goep_subevent_connection_closed_get_goep_cid (const uint8_t *event)
 Get field goep_cid from event GOEP_SUBEVENT_CONNECTION_CLOSED. More...
 
static void goep_subevent_connection_opened_get_bd_addr (const uint8_t *event, bd_addr_t bd_addr)
 Get field bd_addr from event GOEP_SUBEVENT_CONNECTION_OPENED. More...
 
static hci_con_handle_t goep_subevent_connection_opened_get_con_handle (const uint8_t *event)
 Get field con_handle from event GOEP_SUBEVENT_CONNECTION_OPENED. More...
 
static uint16_t goep_subevent_connection_opened_get_goep_cid (const uint8_t *event)
 Get field goep_cid from event GOEP_SUBEVENT_CONNECTION_OPENED. More...
 
static uint8_t goep_subevent_connection_opened_get_incoming (const uint8_t *event)
 Get field incoming from event GOEP_SUBEVENT_CONNECTION_OPENED. More...
 
static uint8_t goep_subevent_connection_opened_get_status (const uint8_t *event)
 Get field status from event GOEP_SUBEVENT_CONNECTION_OPENED. More...
 
static uint8_t hci_event_a2dp_meta_get_subevent_code (const uint8_t *event)
 
static uint8_t hci_event_ancs_meta_get_subevent_code (const uint8_t *event)
 
static uint16_t hci_event_authentication_complete_event_get_connection_handle (const uint8_t *event)
 Get field connection_handle from event HCI_EVENT_AUTHENTICATION_COMPLETE_EVENT. More...
 
static uint8_t hci_event_authentication_complete_event_get_status (const uint8_t *event)
 Get field status from event HCI_EVENT_AUTHENTICATION_COMPLETE_EVENT. More...
 
static uint8_t hci_event_avdtp_meta_get_subevent_code (const uint8_t *event)
 
static uint8_t hci_event_avrcp_meta_get_subevent_code (const uint8_t *event)
 
static uint16_t hci_event_change_connection_link_key_complete_get_connection_handle (const uint8_t *event)
 Get field connection_handle from event HCI_EVENT_CHANGE_CONNECTION_LINK_KEY_COMPLETE. More...
 
static uint8_t hci_event_change_connection_link_key_complete_get_status (const uint8_t *event)
 Get field status from event HCI_EVENT_CHANGE_CONNECTION_LINK_KEY_COMPLETE. More...
 
static uint16_t hci_event_command_complete_get_command_opcode (const uint8_t *event)
 Get field command_opcode from event HCI_EVENT_COMMAND_COMPLETE. More...
 
static uint8_t hci_event_command_complete_get_num_hci_command_packets (const uint8_t *event)
 Get field num_hci_command_packets from event HCI_EVENT_COMMAND_COMPLETE. More...
 
static const uint8_t * hci_event_command_complete_get_return_parameters (const uint8_t *event)
 Get field return_parameters from event HCI_EVENT_COMMAND_COMPLETE. More...
 
static uint16_t hci_event_command_status_get_command_opcode (const uint8_t *event)
 Get field command_opcode from event HCI_EVENT_COMMAND_STATUS. More...
 
static uint8_t hci_event_command_status_get_num_hci_command_packets (const uint8_t *event)
 Get field num_hci_command_packets from event HCI_EVENT_COMMAND_STATUS. More...
 
static uint8_t hci_event_command_status_get_status (const uint8_t *event)
 Get field status from event HCI_EVENT_COMMAND_STATUS. More...
 
static void hci_event_connection_complete_get_bd_addr (const uint8_t *event, bd_addr_t bd_addr)
 Get field bd_addr from event HCI_EVENT_CONNECTION_COMPLETE. More...
 
static uint16_t hci_event_connection_complete_get_connection_handle (const uint8_t *event)
 Get field connection_handle from event HCI_EVENT_CONNECTION_COMPLETE. More...
 
static uint8_t hci_event_connection_complete_get_encryption_enabled (const uint8_t *event)
 Get field encryption_enabled from event HCI_EVENT_CONNECTION_COMPLETE. More...
 
static uint8_t hci_event_connection_complete_get_link_type (const uint8_t *event)
 Get field link_type from event HCI_EVENT_CONNECTION_COMPLETE. More...
 
static uint8_t hci_event_connection_complete_get_status (const uint8_t *event)
 Get field status from event HCI_EVENT_CONNECTION_COMPLETE. More...
 
static hci_con_handle_t hci_event_connection_packet_type_changed_get_handle (const uint8_t *event)
 Get field handle from event HCI_EVENT_CONNECTION_PACKET_TYPE_CHANGED. More...
 
static uint16_t hci_event_connection_packet_type_changed_get_packet_types (const uint8_t *event)
 Get field packet_types from event HCI_EVENT_CONNECTION_PACKET_TYPE_CHANGED. More...
 
static uint8_t hci_event_connection_packet_type_changed_get_status (const uint8_t *event)
 Get field status from event HCI_EVENT_CONNECTION_PACKET_TYPE_CHANGED. More...
 
static void hci_event_connection_request_get_bd_addr (const uint8_t *event, bd_addr_t bd_addr)
 Get field bd_addr from event HCI_EVENT_CONNECTION_REQUEST. More...
 
static uint32_t hci_event_connection_request_get_class_of_device (const uint8_t *event)
 Get field class_of_device from event HCI_EVENT_CONNECTION_REQUEST. More...
 
static uint8_t hci_event_connection_request_get_link_type (const uint8_t *event)
 Get field link_type from event HCI_EVENT_CONNECTION_REQUEST. More...
 
static uint8_t hci_event_data_buffer_overflow_get_link_type (const uint8_t *event)
 Get field link_type from event HCI_EVENT_DATA_BUFFER_OVERFLOW. More...
 
static uint16_t hci_event_disconnection_complete_get_connection_handle (const uint8_t *event)
 Get field connection_handle from event HCI_EVENT_DISCONNECTION_COMPLETE. More...
 
static uint8_t hci_event_disconnection_complete_get_reason (const uint8_t *event)
 Get field reason from event HCI_EVENT_DISCONNECTION_COMPLETE. More...
 
static uint8_t hci_event_disconnection_complete_get_status (const uint8_t *event)
 Get field status from event HCI_EVENT_DISCONNECTION_COMPLETE. More...
 
static uint16_t hci_event_encryption_change_get_connection_handle (const uint8_t *event)
 Get field connection_handle from event HCI_EVENT_ENCRYPTION_CHANGE. More...
 
static uint8_t hci_event_encryption_change_get_encryption_enabled (const uint8_t *event)
 Get field encryption_enabled from event HCI_EVENT_ENCRYPTION_CHANGE. More...
 
static uint8_t hci_event_encryption_change_get_status (const uint8_t *event)
 Get field status from event HCI_EVENT_ENCRYPTION_CHANGE. More...
 
static hci_con_handle_t hci_event_encryption_key_refresh_complete_get_handle (const uint8_t *event)
 Get field handle from event HCI_EVENT_ENCRYPTION_KEY_REFRESH_COMPLETE. More...
 
static uint8_t hci_event_encryption_key_refresh_complete_get_status (const uint8_t *event)
 Get field status from event HCI_EVENT_ENCRYPTION_KEY_REFRESH_COMPLETE. More...
 
static void hci_event_extended_inquiry_response_get_bd_addr (const uint8_t *event, bd_addr_t bd_addr)
 Get field bd_addr from event HCI_EVENT_EXTENDED_INQUIRY_RESPONSE. More...
 
static uint32_t hci_event_extended_inquiry_response_get_class_of_device (const uint8_t *event)
 Get field class_of_device from event HCI_EVENT_EXTENDED_INQUIRY_RESPONSE. More...
 
static uint16_t hci_event_extended_inquiry_response_get_clock_offset (const uint8_t *event)
 Get field clock_offset from event HCI_EVENT_EXTENDED_INQUIRY_RESPONSE. More...
 
static uint8_t hci_event_extended_inquiry_response_get_num_responses (const uint8_t *event)
 Get field num_responses from event HCI_EVENT_EXTENDED_INQUIRY_RESPONSE. More...
 
static uint8_t hci_event_extended_inquiry_response_get_page_scan_repetition_mode (const uint8_t *event)
 Get field page_scan_repetition_mode from event HCI_EVENT_EXTENDED_INQUIRY_RESPONSE. More...
 
static uint8_t hci_event_extended_inquiry_response_get_reserved (const uint8_t *event)
 Get field reserved from event HCI_EVENT_EXTENDED_INQUIRY_RESPONSE. More...
 
static uint8_t hci_event_extended_inquiry_response_get_rssi (const uint8_t *event)
 Get field rssi from event HCI_EVENT_EXTENDED_INQUIRY_RESPONSE. More...
 
static uint8_t hci_event_goep_meta_get_subevent_code (const uint8_t *event)
 
static uint8_t hci_event_hardware_error_get_hardware_code (const uint8_t *event)
 Get field hardware_code from event HCI_EVENT_HARDWARE_ERROR. More...
 
static uint8_t hci_event_hfp_meta_get_subevent_code (const uint8_t *event)
 
static uint8_t hci_event_hid_meta_get_subevent_code (const uint8_t *event)
 
static uint8_t hci_event_hids_meta_get_subevent_code (const uint8_t *event)
 
static uint8_t hci_event_hsp_meta_get_subevent_code (const uint8_t *event)
 
static uint8_t hci_event_inquiry_complete_get_status (const uint8_t *event)
 Get field status from event HCI_EVENT_INQUIRY_COMPLETE. More...
 
static void hci_event_inquiry_result_get_bd_addr (const uint8_t *event, bd_addr_t bd_addr)
 Get field bd_addr from event HCI_EVENT_INQUIRY_RESULT. More...
 
static uint32_t hci_event_inquiry_result_get_class_of_device (const uint8_t *event)
 Get field class_of_device from event HCI_EVENT_INQUIRY_RESULT. More...
 
static uint16_t hci_event_inquiry_result_get_clock_offset (const uint8_t *event)
 Get field clock_offset from event HCI_EVENT_INQUIRY_RESULT. More...
 
static uint8_t hci_event_inquiry_result_get_num_responses (const uint8_t *event)
 Get field num_responses from event HCI_EVENT_INQUIRY_RESULT. More...
 
static uint8_t hci_event_inquiry_result_get_page_scan_repetition_mode (const uint8_t *event)
 Get field page_scan_repetition_mode from event HCI_EVENT_INQUIRY_RESULT. More...
 
static uint8_t hci_event_inquiry_result_get_reserved1 (const uint8_t *event)
 Get field reserved1 from event HCI_EVENT_INQUIRY_RESULT. More...
 
static uint8_t hci_event_inquiry_result_get_reserved2 (const uint8_t *event)
 Get field reserved2 from event HCI_EVENT_INQUIRY_RESULT. More...
 
static void hci_event_inquiry_result_with_rssi_get_bd_addr (const uint8_t *event, bd_addr_t bd_addr)
 Get field bd_addr from event HCI_EVENT_INQUIRY_RESULT_WITH_RSSI. More...
 
static uint32_t hci_event_inquiry_result_with_rssi_get_class_of_device (const uint8_t *event)
 Get field class_of_device from event HCI_EVENT_INQUIRY_RESULT_WITH_RSSI. More...
 
static uint16_t hci_event_inquiry_result_with_rssi_get_clock_offset (const uint8_t *event)
 Get field clock_offset from event HCI_EVENT_INQUIRY_RESULT_WITH_RSSI. More...
 
static uint8_t hci_event_inquiry_result_with_rssi_get_num_responses (const uint8_t *event)
 Get field num_responses from event HCI_EVENT_INQUIRY_RESULT_WITH_RSSI. More...
 
static uint8_t hci_event_inquiry_result_with_rssi_get_page_scan_repetition_mode (const uint8_t *event)
 Get field page_scan_repetition_mode from event HCI_EVENT_INQUIRY_RESULT_WITH_RSSI. More...
 
static uint8_t hci_event_inquiry_result_with_rssi_get_reserved (const uint8_t *event)
 Get field reserved from event HCI_EVENT_INQUIRY_RESULT_WITH_RSSI. More...
 
static uint8_t hci_event_inquiry_result_with_rssi_get_rssi (const uint8_t *event)
 Get field rssi from event HCI_EVENT_INQUIRY_RESULT_WITH_RSSI. More...
 
static uint8_t hci_event_le_meta_get_subevent_code (const uint8_t *event)
 
static void hci_event_link_key_request_get_bd_addr (const uint8_t *event, bd_addr_t bd_addr)
 Get field bd_addr from event HCI_EVENT_LINK_KEY_REQUEST. More...
 
static uint16_t hci_event_master_link_key_complete_get_connection_handle (const uint8_t *event)
 Get field connection_handle from event HCI_EVENT_MASTER_LINK_KEY_COMPLETE. More...
 
static uint8_t hci_event_master_link_key_complete_get_key_flag (const uint8_t *event)
 Get field key_flag from event HCI_EVENT_MASTER_LINK_KEY_COMPLETE. More...
 
static uint8_t hci_event_master_link_key_complete_get_status (const uint8_t *event)
 Get field status from event HCI_EVENT_MASTER_LINK_KEY_COMPLETE. More...
 
static hci_con_handle_t hci_event_max_slots_changed_get_handle (const uint8_t *event)
 Get field handle from event HCI_EVENT_MAX_SLOTS_CHANGED. More...
 
static uint8_t hci_event_max_slots_changed_get_lmp_max_slots (const uint8_t *event)
 Get field lmp_max_slots from event HCI_EVENT_MAX_SLOTS_CHANGED. More...
 
static hci_con_handle_t hci_event_mode_change_event_get_handle (const uint8_t *event)
 Get field handle from event HCI_EVENT_MODE_CHANGE_EVENT. More...
 
static uint16_t hci_event_mode_change_event_get_interval (const uint8_t *event)
 Get field interval from event HCI_EVENT_MODE_CHANGE_EVENT. More...
 
static uint8_t hci_event_mode_change_event_get_mode (const uint8_t *event)
 Get field mode from event HCI_EVENT_MODE_CHANGE_EVENT. More...
 
static uint8_t hci_event_mode_change_event_get_status (const uint8_t *event)
 Get field status from event HCI_EVENT_MODE_CHANGE_EVENT. More...
 
static uint8_t hci_event_packet_get_type (const uint8_t *event)
 Get event type. More...
 
static uint8_t hci_event_pbap_meta_get_subevent_code (const uint8_t *event)
 
static void hci_event_pin_code_request_get_bd_addr (const uint8_t *event, bd_addr_t bd_addr)
 Get field bd_addr from event HCI_EVENT_PIN_CODE_REQUEST. More...
 
static uint16_t hci_event_read_clock_offset_complete_get_clock_offset (const uint8_t *event)
 Get field clock_offset from event HCI_EVENT_READ_CLOCK_OFFSET_COMPLETE. More...
 
static hci_con_handle_t hci_event_read_clock_offset_complete_get_handle (const uint8_t *event)
 Get field handle from event HCI_EVENT_READ_CLOCK_OFFSET_COMPLETE. More...
 
static uint8_t hci_event_read_clock_offset_complete_get_status (const uint8_t *event)
 Get field status from event HCI_EVENT_READ_CLOCK_OFFSET_COMPLETE. More...
 
static void hci_event_remote_name_request_complete_get_bd_addr (const uint8_t *event, bd_addr_t bd_addr)
 Get field bd_addr from event HCI_EVENT_REMOTE_NAME_REQUEST_COMPLETE. More...
 
static const char * hci_event_remote_name_request_complete_get_remote_name (const uint8_t *event)
 Get field remote_name from event HCI_EVENT_REMOTE_NAME_REQUEST_COMPLETE. More...
 
static uint8_t hci_event_remote_name_request_complete_get_status (const uint8_t *event)
 Get field status from event HCI_EVENT_REMOTE_NAME_REQUEST_COMPLETE. More...
 
static void hci_event_remote_oob_data_request_get_bd_addr (const uint8_t *event, bd_addr_t bd_addr)
 Get field bd_addr from event HCI_EVENT_REMOTE_OOB_DATA_REQUEST. More...
 
static void hci_event_role_change_get_bd_addr (const uint8_t *event, bd_addr_t bd_addr)
 Get field bd_addr from event HCI_EVENT_ROLE_CHANGE. More...
 
static uint8_t hci_event_role_change_get_role (const uint8_t *event)
 Get field role from event HCI_EVENT_ROLE_CHANGE. More...
 
static uint8_t hci_event_role_change_get_status (const uint8_t *event)
 Get field status from event HCI_EVENT_ROLE_CHANGE. More...
 
static void hci_event_sco_can_send_now_get_handle (const uint8_t *event, bd_addr_t handle)
 Get field handle from event HCI_EVENT_SCO_CAN_SEND_NOW. More...
 
static void hci_event_simple_pairing_complete_get_bd_addr (const uint8_t *event, bd_addr_t bd_addr)
 Get field bd_addr from event HCI_EVENT_SIMPLE_PAIRING_COMPLETE. More...
 
static uint8_t hci_event_simple_pairing_complete_get_status (const uint8_t *event)
 Get field status from event HCI_EVENT_SIMPLE_PAIRING_COMPLETE. More...
 
static uint8_t hci_event_synchronous_connection_complete_get_air_mode (const uint8_t *event)
 Get field air_mode from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE. More...
 
static void hci_event_synchronous_connection_complete_get_bd_addr (const uint8_t *event, bd_addr_t bd_addr)
 Get field bd_addr from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE. More...
 
static hci_con_handle_t hci_event_synchronous_connection_complete_get_handle (const uint8_t *event)
 Get field handle from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE. More...
 
static uint8_t hci_event_synchronous_connection_complete_get_link_type (const uint8_t *event)
 Get field link_type from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE. More...
 
static uint8_t hci_event_synchronous_connection_complete_get_retransmission_interval (const uint8_t *event)
 Get field retransmission_interval from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE. More...
 
static uint16_t hci_event_synchronous_connection_complete_get_rx_packet_length (const uint8_t *event)
 Get field rx_packet_length from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE. More...
 
static uint8_t hci_event_synchronous_connection_complete_get_status (const uint8_t *event)
 Get field status from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE. More...
 
static uint8_t hci_event_synchronous_connection_complete_get_transmission_interval (const uint8_t *event)
 Get field transmission_interval from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE. More...
 
static uint16_t hci_event_synchronous_connection_complete_get_tx_packet_length (const uint8_t *event)
 Get field tx_packet_length from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE. More...
 
static uint8_t hci_event_transport_sleep_mode_get_active (const uint8_t *event)
 Get field active from event HCI_EVENT_TRANSPORT_SLEEP_MODE. More...
 
static void hci_event_user_confirmation_request_get_bd_addr (const uint8_t *event, bd_addr_t bd_addr)
 Get field bd_addr from event HCI_EVENT_USER_CONFIRMATION_REQUEST. More...
 
static uint32_t hci_event_user_confirmation_request_get_numeric_value (const uint8_t *event)
 Get field numeric_value from event HCI_EVENT_USER_CONFIRMATION_REQUEST. More...
 
static void hci_event_user_passkey_request_get_bd_addr (const uint8_t *event, bd_addr_t bd_addr)
 Get field bd_addr from event HCI_EVENT_USER_PASSKEY_REQUEST. More...
 
static uint16_t hci_subevent_le_connection_complete_get_conn_interval (const uint8_t *event)
 Get field conn_interval from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE. More...
 
static uint16_t hci_subevent_le_connection_complete_get_conn_latency (const uint8_t *event)
 Get field conn_latency from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE. More...
 
static hci_con_handle_t hci_subevent_le_connection_complete_get_connection_handle (const uint8_t *event)
 Get field connection_handle from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE. More...
 
static uint8_t hci_subevent_le_connection_complete_get_master_clock_accuracy (const uint8_t *event)
 Get field master_clock_accuracy from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE. More...
 
static void hci_subevent_le_connection_complete_get_peer_address (const uint8_t *event, bd_addr_t peer_address)
 Get field peer_address from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE. More...
 
static uint8_t hci_subevent_le_connection_complete_get_peer_address_type (const uint8_t *event)
 Get field peer_address_type from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE. More...
 
static uint8_t hci_subevent_le_connection_complete_get_role (const uint8_t *event)
 Get field role from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE. More...
 
static uint8_t hci_subevent_le_connection_complete_get_status (const uint8_t *event)
 Get field status from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE. More...
 
static uint16_t hci_subevent_le_connection_complete_get_supervision_timeout (const uint8_t *event)
 Get field supervision_timeout from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE. More...
 
static uint16_t hci_subevent_le_connection_update_complete_get_conn_interval (const uint8_t *event)
 Get field conn_interval from event HCI_SUBEVENT_LE_CONNECTION_UPDATE_COMPLETE. More...
 
static uint16_t hci_subevent_le_connection_update_complete_get_conn_latency (const uint8_t *event)
 Get field conn_latency from event HCI_SUBEVENT_LE_CONNECTION_UPDATE_COMPLETE. More...
 
static hci_con_handle_t hci_subevent_le_connection_update_complete_get_connection_handle (const uint8_t *event)
 Get field connection_handle from event HCI_SUBEVENT_LE_CONNECTION_UPDATE_COMPLETE. More...
 
static uint8_t hci_subevent_le_connection_update_complete_get_status (const uint8_t *event)
 Get field status from event HCI_SUBEVENT_LE_CONNECTION_UPDATE_COMPLETE. More...
 
static uint16_t hci_subevent_le_connection_update_complete_get_supervision_timeout (const uint8_t *event)
 Get field supervision_timeout from event HCI_SUBEVENT_LE_CONNECTION_UPDATE_COMPLETE. More...
 
static hci_con_handle_t hci_subevent_le_data_length_change_get_connection_handle (const uint8_t *event)
 Get field connection_handle from event HCI_SUBEVENT_LE_DATA_LENGTH_CHANGE. More...
 
static uint16_t hci_subevent_le_data_length_change_get_max_rx_octets (const uint8_t *event)
 Get field max_rx_octets from event HCI_SUBEVENT_LE_DATA_LENGTH_CHANGE. More...
 
static uint16_t hci_subevent_le_data_length_change_get_max_rx_time (const uint8_t *event)
 Get field max_rx_time from event HCI_SUBEVENT_LE_DATA_LENGTH_CHANGE. More...
 
static uint16_t hci_subevent_le_data_length_change_get_max_tx_octets (const uint8_t *event)
 Get field max_tx_octets from event HCI_SUBEVENT_LE_DATA_LENGTH_CHANGE. More...
 
static uint16_t hci_subevent_le_data_length_change_get_max_tx_time (const uint8_t *event)
 Get field max_tx_time from event HCI_SUBEVENT_LE_DATA_LENGTH_CHANGE. More...
 
static uint16_t hci_subevent_le_enhanced_connection_complete_get_conn_interval (const uint8_t *event)
 Get field conn_interval from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE. More...
 
static uint16_t hci_subevent_le_enhanced_connection_complete_get_conn_latency (const uint8_t *event)
 Get field conn_latency from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE. More...
 
static hci_con_handle_t hci_subevent_le_enhanced_connection_complete_get_connection_handle (const uint8_t *event)
 Get field connection_handle from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE. More...
 
static void hci_subevent_le_enhanced_connection_complete_get_local_resolvable_private_addres (const uint8_t *event, bd_addr_t local_resolvable_private_addres)
 Get field local_resolvable_private_addres from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE. More...
 
static uint8_t hci_subevent_le_enhanced_connection_complete_get_master_clock_accuracy (const uint8_t *event)
 Get field master_clock_accuracy from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE. More...
 
static uint8_t hci_subevent_le_enhanced_connection_complete_get_peer_address_type (const uint8_t *event)
 Get field peer_address_type from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE. More...
 
static void hci_subevent_le_enhanced_connection_complete_get_peer_resolvable_private_addres (const uint8_t *event, bd_addr_t peer_resolvable_private_addres)
 Get field peer_resolvable_private_addres from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE. More...
 
static void hci_subevent_le_enhanced_connection_complete_get_perr_addresss (const uint8_t *event, bd_addr_t perr_addresss)
 Get field perr_addresss from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE. More...
 
static uint8_t hci_subevent_le_enhanced_connection_complete_get_role (const uint8_t *event)
 Get field role from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE. More...
 
static uint8_t hci_subevent_le_enhanced_connection_complete_get_status (const uint8_t *event)
 Get field status from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE. More...
 
static uint16_t hci_subevent_le_enhanced_connection_complete_get_supervision_timeout (const uint8_t *event)
 Get field supervision_timeout from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE. More...
 
static void hci_subevent_le_generate_dhkey_complete_get_dhkey (const uint8_t *event, uint8_t *dhkey)
 Get field dhkey from event HCI_SUBEVENT_LE_GENERATE_DHKEY_COMPLETE. More...
 
static uint8_t hci_subevent_le_generate_dhkey_complete_get_status (const uint8_t *event)
 Get field status from event HCI_SUBEVENT_LE_GENERATE_DHKEY_COMPLETE. More...
 
static hci_con_handle_t hci_subevent_le_long_term_key_request_get_connection_handle (const uint8_t *event)
 Get field connection_handle from event HCI_SUBEVENT_LE_LONG_TERM_KEY_REQUEST. More...
 
static uint16_t hci_subevent_le_long_term_key_request_get_encryption_diversifier (const uint8_t *event)
 Get field encryption_diversifier from event HCI_SUBEVENT_LE_LONG_TERM_KEY_REQUEST. More...
 
static const uint8_t * hci_subevent_le_long_term_key_request_get_random_number (const uint8_t *event)
 Get field random_number from event HCI_SUBEVENT_LE_LONG_TERM_KEY_REQUEST. More...
 
static void hci_subevent_le_read_local_p256_public_key_complete_get_dhkey_x (const uint8_t *event, uint8_t *dhkey_x)
 Get field dhkey_x from event HCI_SUBEVENT_LE_READ_LOCAL_P256_PUBLIC_KEY_COMPLETE. More...
 
static void hci_subevent_le_read_local_p256_public_key_complete_get_dhkey_y (const uint8_t *event, uint8_t *dhkey_y)
 Get field dhkey_y from event HCI_SUBEVENT_LE_READ_LOCAL_P256_PUBLIC_KEY_COMPLETE. More...
 
static uint8_t hci_subevent_le_read_local_p256_public_key_complete_get_status (const uint8_t *event)
 Get field status from event HCI_SUBEVENT_LE_READ_LOCAL_P256_PUBLIC_KEY_COMPLETE. More...
 
static hci_con_handle_t hci_subevent_le_read_remote_used_features_complete_get_connection_handle (const uint8_t *event)
 Get field connection_handle from event HCI_SUBEVENT_LE_READ_REMOTE_USED_FEATURES_COMPLETE. More...
 
static uint16_t hci_subevent_le_read_remote_used_features_complete_get_encryption_diversifier (const uint8_t *event)
 Get field encryption_diversifier from event HCI_SUBEVENT_LE_READ_REMOTE_USED_FEATURES_COMPLETE. More...
 
static const uint8_t * hci_subevent_le_read_remote_used_features_complete_get_random_number (const uint8_t *event)
 Get field random_number from event HCI_SUBEVENT_LE_READ_REMOTE_USED_FEATURES_COMPLETE. More...
 
static hci_con_handle_t hci_subevent_le_remote_connection_parameter_request_get_connection_handle (const uint8_t *event)
 Get field connection_handle from event HCI_SUBEVENT_LE_REMOTE_CONNECTION_PARAMETER_REQUEST. More...
 
static uint16_t hci_subevent_le_remote_connection_parameter_request_get_interval_max (const uint8_t *event)
 Get field interval_max from event HCI_SUBEVENT_LE_REMOTE_CONNECTION_PARAMETER_REQUEST. More...
 
static uint16_t hci_subevent_le_remote_connection_parameter_request_get_interval_min (const uint8_t *event)
 Get field interval_min from event HCI_SUBEVENT_LE_REMOTE_CONNECTION_PARAMETER_REQUEST. More...
 
static uint16_t hci_subevent_le_remote_connection_parameter_request_get_latency (const uint8_t *event)
 Get field latency from event HCI_SUBEVENT_LE_REMOTE_CONNECTION_PARAMETER_REQUEST. More...
 
static uint16_t hci_subevent_le_remote_connection_parameter_request_get_timeout (const uint8_t *event)
 Get field timeout from event HCI_SUBEVENT_LE_REMOTE_CONNECTION_PARAMETER_REQUEST. More...
 
static uint8_t hfp_subevent_ag_indicator_status_changed_get_indicator_index (const uint8_t *event)
 Get field indicator_index from event HFP_SUBEVENT_AG_INDICATOR_STATUS_CHANGED. More...
 
static const char * hfp_subevent_ag_indicator_status_changed_get_indicator_name (const uint8_t *event)
 Get field indicator_name from event HFP_SUBEVENT_AG_INDICATOR_STATUS_CHANGED. More...
 
static uint8_t hfp_subevent_ag_indicator_status_changed_get_indicator_status (const uint8_t *event)
 Get field indicator_status from event HFP_SUBEVENT_AG_INDICATOR_STATUS_CHANGED. More...
 
static void hfp_subevent_audio_connection_established_get_bd_addr (const uint8_t *event, bd_addr_t bd_addr)
 Get field bd_addr from event HFP_SUBEVENT_AUDIO_CONNECTION_ESTABLISHED. More...
 
static hci_con_handle_t hfp_subevent_audio_connection_established_get_handle (const uint8_t *event)
 Get field handle from event HFP_SUBEVENT_AUDIO_CONNECTION_ESTABLISHED. More...
 
static uint8_t hfp_subevent_audio_connection_established_get_negotiated_codec (const uint8_t *event)
 Get field negotiated_codec from event HFP_SUBEVENT_AUDIO_CONNECTION_ESTABLISHED. More...
 
static uint8_t hfp_subevent_audio_connection_established_get_status (const uint8_t *event)
 Get field status from event HFP_SUBEVENT_AUDIO_CONNECTION_ESTABLISHED. More...
 
static const char * hfp_subevent_call_waiting_notification_get_number (const uint8_t *event)
 Get field number from event HFP_SUBEVENT_CALL_WAITING_NOTIFICATION. More...
 
static uint8_t hfp_subevent_call_waiting_notification_get_type (const uint8_t *event)
 Get field type from event HFP_SUBEVENT_CALL_WAITING_NOTIFICATION. More...
 
static const char * hfp_subevent_calling_line_identification_notification_get_number (const uint8_t *event)
 Get field number from event HFP_SUBEVENT_CALLING_LINE_IDENTIFICATION_NOTIFICATION. More...
 
static uint8_t hfp_subevent_calling_line_identification_notification_get_type (const uint8_t *event)
 Get field type from event HFP_SUBEVENT_CALLING_LINE_IDENTIFICATION_NOTIFICATION. More...
 
static uint8_t hfp_subevent_complete_get_status (const uint8_t *event)
 Get field status from event HFP_SUBEVENT_COMPLETE. More...
 
static const char * hfp_subevent_enhanced_call_status_get_bnip_number (const uint8_t *event)
 Get field bnip_number from event HFP_SUBEVENT_ENHANCED_CALL_STATUS. More...
 
static uint8_t hfp_subevent_enhanced_call_status_get_bnip_type (const uint8_t *event)
 Get field bnip_type from event HFP_SUBEVENT_ENHANCED_CALL_STATUS. More...
 
static uint8_t hfp_subevent_enhanced_call_status_get_clcc_dir (const uint8_t *event)
 Get field clcc_dir from event HFP_SUBEVENT_ENHANCED_CALL_STATUS. More...
 
static uint8_t hfp_subevent_enhanced_call_status_get_clcc_idx (const uint8_t *event)
 Get field clcc_idx from event HFP_SUBEVENT_ENHANCED_CALL_STATUS. More...
 
static uint8_t hfp_subevent_enhanced_call_status_get_clcc_mpty (const uint8_t *event)
 Get field clcc_mpty from event HFP_SUBEVENT_ENHANCED_CALL_STATUS. More...
 
static uint8_t hfp_subevent_enhanced_call_status_get_clcc_status (const uint8_t *event)
 Get field clcc_status from event HFP_SUBEVENT_ENHANCED_CALL_STATUS. More...
 
static uint8_t hfp_subevent_extended_audio_gateway_error_get_error (const uint8_t *event)
 Get field error from event HFP_SUBEVENT_EXTENDED_AUDIO_GATEWAY_ERROR. More...
 
static uint8_t hfp_subevent_microphone_volume_get_gain (const uint8_t *event)
 Get field gain from event HFP_SUBEVENT_MICROPHONE_VOLUME. More...
 
static uint8_t hfp_subevent_microphone_volume_get_status (const uint8_t *event)
 Get field status from event HFP_SUBEVENT_MICROPHONE_VOLUME. More...
 
static uint8_t hfp_subevent_network_operator_changed_get_network_operator_format (const uint8_t *event)
 Get field network_operator_format from event HFP_SUBEVENT_NETWORK_OPERATOR_CHANGED. More...
 
static uint8_t hfp_subevent_network_operator_changed_get_network_operator_mode (const uint8_t *event)
 Get field network_operator_mode from event HFP_SUBEVENT_NETWORK_OPERATOR_CHANGED. More...
 
static const char * hfp_subevent_network_operator_changed_get_network_operator_name (const uint8_t *event)
 Get field network_operator_name from event HFP_SUBEVENT_NETWORK_OPERATOR_CHANGED. More...
 
static const char * hfp_subevent_number_for_voice_tag_get_number (const uint8_t *event)
 Get field number from event HFP_SUBEVENT_NUMBER_FOR_VOICE_TAG. More...
 
static const char * hfp_subevent_place_call_with_number_get_number (const uint8_t *event)
 Get field number from event HFP_SUBEVENT_PLACE_CALL_WITH_NUMBER. More...
 
static const char * hfp_subevent_response_and_hold_status_get_value (const uint8_t *event)
 Get field value from event HFP_SUBEVENT_RESPONSE_AND_HOLD_STATUS. More...
 
static void hfp_subevent_service_level_connection_established_get_bd_addr (const uint8_t *event, bd_addr_t bd_addr)
 Get field bd_addr from event HFP_SUBEVENT_SERVICE_LEVEL_CONNECTION_ESTABLISHED. More...
 
static hci_con_handle_t hfp_subevent_service_level_connection_established_get_con_handle (const uint8_t *event)
 Get field con_handle from event HFP_SUBEVENT_SERVICE_LEVEL_CONNECTION_ESTABLISHED. More...
 
static uint8_t hfp_subevent_service_level_connection_established_get_status (const uint8_t *event)
 Get field status from event HFP_SUBEVENT_SERVICE_LEVEL_CONNECTION_ESTABLISHED. More...
 
static uint8_t hfp_subevent_speaker_volume_get_gain (const uint8_t *event)
 Get field gain from event HFP_SUBEVENT_SPEAKER_VOLUME. More...
 
static uint8_t hfp_subevent_speaker_volume_get_status (const uint8_t *event)
 Get field status from event HFP_SUBEVENT_SPEAKER_VOLUME. More...
 
static const char * hfp_subevent_subscriber_number_information_get_bnip_number (const uint8_t *event)
 Get field bnip_number from event HFP_SUBEVENT_SUBSCRIBER_NUMBER_INFORMATION. More...
 
static uint8_t hfp_subevent_subscriber_number_information_get_bnip_type (const uint8_t *event)
 Get field bnip_type from event HFP_SUBEVENT_SUBSCRIBER_NUMBER_INFORMATION. More...
 
static uint8_t hfp_subevent_subscriber_number_information_get_status (const uint8_t *event)
 Get field status from event HFP_SUBEVENT_SUBSCRIBER_NUMBER_INFORMATION. More...
 
static const char * hfp_subevent_transmit_dtmf_codes_get_dtmf (const uint8_t *event)
 Get field dtmf from event HFP_SUBEVENT_TRANSMIT_DTMF_CODES. More...
 
static uint16_t hid_subevent_can_send_now_get_hid_cid (const uint8_t *event)
 Get field hid_cid from event HID_SUBEVENT_CAN_SEND_NOW. More...
 
static uint16_t hid_subevent_connection_closed_get_hid_cid (const uint8_t *event)
 Get field hid_cid from event HID_SUBEVENT_CONNECTION_CLOSED. More...
 
static void hid_subevent_connection_opened_get_bd_addr (const uint8_t *event, bd_addr_t bd_addr)
 Get field bd_addr from event HID_SUBEVENT_CONNECTION_OPENED. More...
 
static hci_con_handle_t hid_subevent_connection_opened_get_con_handle (const uint8_t *event)
 Get field con_handle from event HID_SUBEVENT_CONNECTION_OPENED. More...
 
static uint16_t hid_subevent_connection_opened_get_hid_cid (const uint8_t *event)
 Get field hid_cid from event HID_SUBEVENT_CONNECTION_OPENED. More...
 
static uint8_t hid_subevent_connection_opened_get_incoming (const uint8_t *event)
 Get field incoming from event HID_SUBEVENT_CONNECTION_OPENED. More...
 
static uint8_t hid_subevent_connection_opened_get_status (const uint8_t *event)
 Get field status from event HID_SUBEVENT_CONNECTION_OPENED. More...
 
static uint16_t hids_subevent_boot_keyboard_input_report_enable_get_con_handle (const uint8_t *event)
 Get field con_handle from event HIDS_SUBEVENT_BOOT_KEYBOARD_INPUT_REPORT_ENABLE. More...
 
static uint8_t hids_subevent_boot_keyboard_input_report_enable_get_enable (const uint8_t *event)
 Get field enable from event HIDS_SUBEVENT_BOOT_KEYBOARD_INPUT_REPORT_ENABLE. More...
 
static uint16_t hids_subevent_boot_mouse_input_report_enable_get_con_handle (const uint8_t *event)
 Get field con_handle from event HIDS_SUBEVENT_BOOT_MOUSE_INPUT_REPORT_ENABLE. More...
 
static uint8_t hids_subevent_boot_mouse_input_report_enable_get_enable (const uint8_t *event)
 Get field enable from event HIDS_SUBEVENT_BOOT_MOUSE_INPUT_REPORT_ENABLE. More...
 
static uint16_t hids_subevent_can_send_now_get_con_handle (const uint8_t *event)
 Get field con_handle from event HIDS_SUBEVENT_CAN_SEND_NOW. More...
 
static uint16_t hids_subevent_input_report_enable_get_con_handle (const uint8_t *event)
 Get field con_handle from event HIDS_SUBEVENT_INPUT_REPORT_ENABLE. More...
 
static uint8_t hids_subevent_input_report_enable_get_enable (const uint8_t *event)
 Get field enable from event HIDS_SUBEVENT_INPUT_REPORT_ENABLE. More...
 
static uint16_t hids_subevent_protocol_mode_get_con_handle (const uint8_t *event)
 Get field con_handle from event HIDS_SUBEVENT_PROTOCOL_MODE. More...
 
static uint8_t hids_subevent_protocol_mode_get_protocol_mode (const uint8_t *event)
 Get field protocol_mode from event HIDS_SUBEVENT_PROTOCOL_MODE. More...
 
static const uint8_t * hsp_subevent_ag_indication_get_value (const uint8_t *event)
 Get field value from event HSP_SUBEVENT_AG_INDICATION. More...
 
static int hsp_subevent_ag_indication_get_value_length (const uint8_t *event)
 Get field value_length from event HSP_SUBEVENT_AG_INDICATION. More...
 
static hci_con_handle_t hsp_subevent_audio_connection_complete_get_handle (const uint8_t *event)
 Get field handle from event HSP_SUBEVENT_AUDIO_CONNECTION_COMPLETE. More...
 
static uint8_t hsp_subevent_audio_connection_complete_get_status (const uint8_t *event)
 Get field status from event HSP_SUBEVENT_AUDIO_CONNECTION_COMPLETE. More...
 
static uint8_t hsp_subevent_audio_disconnection_complete_get_status (const uint8_t *event)
 Get field status from event HSP_SUBEVENT_AUDIO_DISCONNECTION_COMPLETE. More...
 
static const uint8_t * hsp_subevent_hs_command_get_value (const uint8_t *event)
 Get field value from event HSP_SUBEVENT_HS_COMMAND. More...
 
static int hsp_subevent_hs_command_get_value_length (const uint8_t *event)
 Get field value_length from event HSP_SUBEVENT_HS_COMMAND. More...
 
static uint8_t hsp_subevent_microphone_gain_changed_get_gain (const uint8_t *event)
 Get field gain from event HSP_SUBEVENT_MICROPHONE_GAIN_CHANGED. More...
 
static uint8_t hsp_subevent_rfcomm_connection_complete_get_status (const uint8_t *event)
 Get field status from event HSP_SUBEVENT_RFCOMM_CONNECTION_COMPLETE. More...
 
static uint8_t hsp_subevent_rfcomm_disconnection_complete_get_status (const uint8_t *event)
 Get field status from event HSP_SUBEVENT_RFCOMM_DISCONNECTION_COMPLETE. More...
 
static uint8_t hsp_subevent_speaker_gain_changed_get_gain (const uint8_t *event)
 Get field gain from event HSP_SUBEVENT_SPEAKER_GAIN_CHANGED. More...
 
static uint16_t l2cap_event_can_send_now_get_local_cid (const uint8_t *event)
 Get field local_cid from event L2CAP_EVENT_CAN_SEND_NOW. More...
 
static uint16_t l2cap_event_channel_closed_get_local_cid (const uint8_t *event)
 Get field local_cid from event L2CAP_EVENT_CHANNEL_CLOSED. More...
 
static void l2cap_event_channel_opened_get_address (const uint8_t *event, bd_addr_t address)
 Get field address from event L2CAP_EVENT_CHANNEL_OPENED. More...
 
static uint16_t l2cap_event_channel_opened_get_flush_timeout (const uint8_t *event)
 Get field flush_timeout from event L2CAP_EVENT_CHANNEL_OPENED. More...
 
static hci_con_handle_t l2cap_event_channel_opened_get_handle (const uint8_t *event)
 Get field handle from event L2CAP_EVENT_CHANNEL_OPENED. More...
 
static uint8_t l2cap_event_channel_opened_get_incoming (const uint8_t *event)
 Get field incoming from event L2CAP_EVENT_CHANNEL_OPENED. More...
 
static uint16_t l2cap_event_channel_opened_get_local_cid (const uint8_t *event)
 Get field local_cid from event L2CAP_EVENT_CHANNEL_OPENED. More...
 
static uint16_t l2cap_event_channel_opened_get_local_mtu (const uint8_t *event)
 Get field local_mtu from event L2CAP_EVENT_CHANNEL_OPENED. More...
 
static uint16_t l2cap_event_channel_opened_get_psm (const uint8_t *event)
 Get field psm from event L2CAP_EVENT_CHANNEL_OPENED. More...
 
static uint16_t l2cap_event_channel_opened_get_remote_cid (const uint8_t *event)
 Get field remote_cid from event L2CAP_EVENT_CHANNEL_OPENED. More...
 
static uint16_t l2cap_event_channel_opened_get_remote_mtu (const uint8_t *event)
 Get field remote_mtu from event L2CAP_EVENT_CHANNEL_OPENED. More...
 
static uint8_t l2cap_event_channel_opened_get_status (const uint8_t *event)
 Get field status from event L2CAP_EVENT_CHANNEL_OPENED. More...
 
static hci_con_handle_t l2cap_event_connection_parameter_update_request_get_handle (const uint8_t *event)
 Get field handle from event L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_REQUEST. More...
 
static uint16_t l2cap_event_connection_parameter_update_request_get_interval_max (const uint8_t *event)
 Get field interval_max from event L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_REQUEST. More...
 
static uint16_t l2cap_event_connection_parameter_update_request_get_interval_min (const uint8_t *event)
 Get field interval_min from event L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_REQUEST. More...
 
static uint16_t l2cap_event_connection_parameter_update_request_get_latencey (const uint8_t *event)
 Get field latencey from event L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_REQUEST. More...
 
static uint16_t l2cap_event_connection_parameter_update_request_get_timeout_multiplier (const uint8_t *event)
 Get field timeout_multiplier from event L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_REQUEST. More...
 
static hci_con_handle_t l2cap_event_connection_parameter_update_response_get_handle (const uint8_t *event)
 Get field handle from event L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_RESPONSE. More...
 
static uint16_t l2cap_event_connection_parameter_update_response_get_result (const uint8_t *event)
 Get field result from event L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_RESPONSE. More...
 
static void l2cap_event_incoming_connection_get_address (const uint8_t *event, bd_addr_t address)
 Get field address from event L2CAP_EVENT_INCOMING_CONNECTION. More...
 
static hci_con_handle_t l2cap_event_incoming_connection_get_handle (const uint8_t *event)
 Get field handle from event L2CAP_EVENT_INCOMING_CONNECTION. More...
 
static uint16_t l2cap_event_incoming_connection_get_local_cid (const uint8_t *event)
 Get field local_cid from event L2CAP_EVENT_INCOMING_CONNECTION. More...
 
static uint16_t l2cap_event_incoming_connection_get_psm (const uint8_t *event)
 Get field psm from event L2CAP_EVENT_INCOMING_CONNECTION. More...
 
static uint16_t l2cap_event_incoming_connection_get_remote_cid (const uint8_t *event)
 Get field remote_cid from event L2CAP_EVENT_INCOMING_CONNECTION. More...
 
static uint16_t l2cap_event_le_can_send_now_get_local_cid (const uint8_t *event)
 Get field local_cid from event L2CAP_EVENT_LE_CAN_SEND_NOW. More...
 
static uint16_t l2cap_event_le_channel_closed_get_local_cid (const uint8_t *event)
 Get field local_cid from event L2CAP_EVENT_LE_CHANNEL_CLOSED. More...
 
static void l2cap_event_le_channel_opened_get_address (const uint8_t *event, bd_addr_t address)
 Get field address from event L2CAP_EVENT_LE_CHANNEL_OPENED. More...
 
static uint8_t l2cap_event_le_channel_opened_get_address_type (const uint8_t *event)
 Get field address_type from event L2CAP_EVENT_LE_CHANNEL_OPENED. More...
 
static hci_con_handle_t l2cap_event_le_channel_opened_get_handle (const uint8_t *event)
 Get field handle from event L2CAP_EVENT_LE_CHANNEL_OPENED. More...
 
static uint8_t l2cap_event_le_channel_opened_get_incoming (const uint8_t *event)
 Get field incoming from event L2CAP_EVENT_LE_CHANNEL_OPENED. More...
 
static uint16_t l2cap_event_le_channel_opened_get_local_cid (const uint8_t *event)
 Get field local_cid from event L2CAP_EVENT_LE_CHANNEL_OPENED. More...
 
static uint16_t l2cap_event_le_channel_opened_get_local_mtu (const uint8_t *event)
 Get field local_mtu from event L2CAP_EVENT_LE_CHANNEL_OPENED. More...
 
static uint16_t l2cap_event_le_channel_opened_get_psm (const uint8_t *event)
 Get field psm from event L2CAP_EVENT_LE_CHANNEL_OPENED. More...
 
static uint16_t l2cap_event_le_channel_opened_get_remote_cid (const uint8_t *event)
 Get field remote_cid from event L2CAP_EVENT_LE_CHANNEL_OPENED. More...
 
static uint16_t l2cap_event_le_channel_opened_get_remote_mtu (const uint8_t *event)
 Get field remote_mtu from event L2CAP_EVENT_LE_CHANNEL_OPENED. More...
 
static uint8_t l2cap_event_le_channel_opened_get_status (const uint8_t *event)
 Get field status from event L2CAP_EVENT_LE_CHANNEL_OPENED. More...
 
static void l2cap_event_le_incoming_connection_get_address (const uint8_t *event, bd_addr_t address)
 Get field address from event L2CAP_EVENT_LE_INCOMING_CONNECTION. More...
 
static uint8_t l2cap_event_le_incoming_connection_get_address_type (const uint8_t *event)
 Get field address_type from event L2CAP_EVENT_LE_INCOMING_CONNECTION. More...
 
static hci_con_handle_t l2cap_event_le_incoming_connection_get_handle (const uint8_t *event)
 Get field handle from event L2CAP_EVENT_LE_INCOMING_CONNECTION. More...
 
static uint16_t l2cap_event_le_incoming_connection_get_local_cid (const uint8_t *event)
 Get field local_cid from event L2CAP_EVENT_LE_INCOMING_CONNECTION. More...
 
static uint16_t l2cap_event_le_incoming_connection_get_psm (const uint8_t *event)
 Get field psm from event L2CAP_EVENT_LE_INCOMING_CONNECTION. More...
 
static uint16_t l2cap_event_le_incoming_connection_get_remote_cid (const uint8_t *event)
 Get field remote_cid from event L2CAP_EVENT_LE_INCOMING_CONNECTION. More...
 
static uint16_t l2cap_event_le_incoming_connection_get_remote_mtu (const uint8_t *event)
 Get field remote_mtu from event L2CAP_EVENT_LE_INCOMING_CONNECTION. More...
 
static uint16_t l2cap_event_le_packet_sent_get_local_cid (const uint8_t *event)
 Get field local_cid from event L2CAP_EVENT_LE_PACKET_SENT. More...
 
static uint16_t pbap_subevent_connection_closed_get_goep_cid (const uint8_t *event)
 Get field goep_cid from event PBAP_SUBEVENT_CONNECTION_CLOSED. More...
 
static void pbap_subevent_connection_opened_get_bd_addr (const uint8_t *event, bd_addr_t bd_addr)
 Get field bd_addr from event PBAP_SUBEVENT_CONNECTION_OPENED. More...
 
static hci_con_handle_t pbap_subevent_connection_opened_get_con_handle (const uint8_t *event)
 Get field con_handle from event PBAP_SUBEVENT_CONNECTION_OPENED. More...
 
static uint8_t pbap_subevent_connection_opened_get_incoming (const uint8_t *event)
 Get field incoming from event PBAP_SUBEVENT_CONNECTION_OPENED. More...
 
static uint16_t pbap_subevent_connection_opened_get_pbap_cid (const uint8_t *event)
 Get field pbap_cid from event PBAP_SUBEVENT_CONNECTION_OPENED. More...
 
static uint8_t pbap_subevent_connection_opened_get_status (const uint8_t *event)
 Get field status from event PBAP_SUBEVENT_CONNECTION_OPENED. More...
 
static uint16_t pbap_subevent_operation_completed_get_goep_cid (const uint8_t *event)
 Get field goep_cid from event PBAP_SUBEVENT_OPERATION_COMPLETED. More...
 
static uint8_t pbap_subevent_operation_completed_get_status (const uint8_t *event)
 Get field status from event PBAP_SUBEVENT_OPERATION_COMPLETED. More...
 
static uint16_t rfcomm_event_can_send_now_get_rfcomm_cid (const uint8_t *event)
 Get field rfcomm_cid from event RFCOMM_EVENT_CAN_SEND_NOW. More...
 
static uint16_t rfcomm_event_channel_closed_get_rfcomm_cid (const uint8_t *event)
 Get field rfcomm_cid from event RFCOMM_EVENT_CHANNEL_CLOSED. More...
 
static void rfcomm_event_channel_opened_get_bd_addr (const uint8_t *event, bd_addr_t bd_addr)
 Get field bd_addr from event RFCOMM_EVENT_CHANNEL_OPENED. More...
 
static uint16_t rfcomm_event_channel_opened_get_con_handle (const uint8_t *event)
 Get field con_handle from event RFCOMM_EVENT_CHANNEL_OPENED. More...
 
static uint8_t rfcomm_event_channel_opened_get_incoming (const uint8_t *event)
 Get field incoming from event RFCOMM_EVENT_CHANNEL_OPENED. More...
 
static uint16_t rfcomm_event_channel_opened_get_max_frame_size (const uint8_t *event)
 Get field max_frame_size from event RFCOMM_EVENT_CHANNEL_OPENED. More...
 
static uint16_t rfcomm_event_channel_opened_get_rfcomm_cid (const uint8_t *event)
 Get field rfcomm_cid from event RFCOMM_EVENT_CHANNEL_OPENED. More...
 
static uint8_t rfcomm_event_channel_opened_get_server_channel (const uint8_t *event)
 Get field server_channel from event RFCOMM_EVENT_CHANNEL_OPENED. More...
 
static uint8_t rfcomm_event_channel_opened_get_status (const uint8_t *event)
 Get field status from event RFCOMM_EVENT_CHANNEL_OPENED. More...
 
static void rfcomm_event_incoming_connection_get_bd_addr (const uint8_t *event, bd_addr_t bd_addr)
 Get field bd_addr from event RFCOMM_EVENT_INCOMING_CONNECTION. More...
 
static uint16_t rfcomm_event_incoming_connection_get_rfcomm_cid (const uint8_t *event)
 Get field rfcomm_cid from event RFCOMM_EVENT_INCOMING_CONNECTION. More...
 
static uint8_t rfcomm_event_incoming_connection_get_server_channel (const uint8_t *event)
 Get field server_channel from event RFCOMM_EVENT_INCOMING_CONNECTION. More...
 
static uint8_t rfcomm_event_remote_line_status_get_line_status (const uint8_t *event)
 Get field line_status from event RFCOMM_EVENT_REMOTE_LINE_STATUS. More...
 
static uint16_t rfcomm_event_remote_line_status_get_rfcomm_cid (const uint8_t *event)
 Get field rfcomm_cid from event RFCOMM_EVENT_REMOTE_LINE_STATUS. More...
 
static uint8_t rfcomm_event_remote_modem_status_get_modem_status (const uint8_t *event)
 Get field modem_status from event RFCOMM_EVENT_REMOTE_MODEM_STATUS. More...
 
static uint16_t rfcomm_event_remote_modem_status_get_rfcomm_cid (const uint8_t *event)
 Get field rfcomm_cid from event RFCOMM_EVENT_REMOTE_MODEM_STATUS. More...
 
static uint16_t sdp_event_query_attribute_byte_get_attribute_id (const uint8_t *event)
 Get field attribute_id from event SDP_EVENT_QUERY_ATTRIBUTE_BYTE. More...
 
static uint16_t sdp_event_query_attribute_byte_get_attribute_length (const uint8_t *event)
 Get field attribute_length from event SDP_EVENT_QUERY_ATTRIBUTE_BYTE. More...
 
static uint8_t sdp_event_query_attribute_byte_get_data (const uint8_t *event)
 Get field data from event SDP_EVENT_QUERY_ATTRIBUTE_BYTE. More...
 
static uint16_t sdp_event_query_attribute_byte_get_data_offset (const uint8_t *event)
 Get field data_offset from event SDP_EVENT_QUERY_ATTRIBUTE_BYTE. More...
 
static uint16_t sdp_event_query_attribute_byte_get_record_id (const uint8_t *event)
 Get field record_id from event SDP_EVENT_QUERY_ATTRIBUTE_BYTE. More...
 
static uint16_t sdp_event_query_attribute_value_get_attribute_id (const uint8_t *event)
 Get field attribute_id from event SDP_EVENT_QUERY_ATTRIBUTE_VALUE. More...
 
static int sdp_event_query_attribute_value_get_attribute_length (const uint8_t *event)
 Get field attribute_length from event SDP_EVENT_QUERY_ATTRIBUTE_VALUE. More...
 
static const uint8_t * sdp_event_query_attribute_value_get_attribute_value (const uint8_t *event)
 Get field attribute_value from event SDP_EVENT_QUERY_ATTRIBUTE_VALUE. More...
 
static uint16_t sdp_event_query_attribute_value_get_record_id (const uint8_t *event)
 Get field record_id from event SDP_EVENT_QUERY_ATTRIBUTE_VALUE. More...
 
static uint8_t sdp_event_query_complete_get_status (const uint8_t *event)
 Get field status from event SDP_EVENT_QUERY_COMPLETE. More...
 
static const char * sdp_event_query_rfcomm_service_get_name (const uint8_t *event)
 Get field name from event SDP_EVENT_QUERY_RFCOMM_SERVICE. More...
 
static uint8_t sdp_event_query_rfcomm_service_get_rfcomm_channel (const uint8_t *event)
 Get field rfcomm_channel from event SDP_EVENT_QUERY_RFCOMM_SERVICE. More...
 
static uint32_t sdp_event_query_service_record_handle_get_record_handle (const uint8_t *event)
 Get field record_handle from event SDP_EVENT_QUERY_SERVICE_RECORD_HANDLE. More...
 
static uint16_t sdp_event_query_service_record_handle_get_record_index (const uint8_t *event)
 Get field record_index from event SDP_EVENT_QUERY_SERVICE_RECORD_HANDLE. More...
 
static uint16_t sdp_event_query_service_record_handle_get_total_count (const uint8_t *event)
 Get field total_count from event SDP_EVENT_QUERY_SERVICE_RECORD_HANDLE. More...
 

static uint16_t a2dp_subevent_command_accepted_get_a2dp_cid ( const uint8_t *  event)
inlinestatic

Get field a2dp_cid from event A2DP_SUBEVENT_COMMAND_ACCEPTED.

Parameters
eventpacket
Returns
a2dp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t a2dp_subevent_command_accepted_get_local_seid ( const uint8_t *  event)
inlinestatic

Get field local_seid from event A2DP_SUBEVENT_COMMAND_ACCEPTED.

Parameters
eventpacket
Returns
local_seid
Note
: btstack_type 1
static uint8_t a2dp_subevent_command_accepted_get_signal_identifier ( const uint8_t *  event)
inlinestatic

Get field signal_identifier from event A2DP_SUBEVENT_COMMAND_ACCEPTED.

Parameters
eventpacket
Returns
signal_identifier
Note
: btstack_type 1
static uint16_t a2dp_subevent_command_rejected_get_a2dp_cid ( const uint8_t *  event)
inlinestatic

Get field a2dp_cid from event A2DP_SUBEVENT_COMMAND_REJECTED.

Parameters
eventpacket
Returns
a2dp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t a2dp_subevent_command_rejected_get_local_seid ( const uint8_t *  event)
inlinestatic

Get field local_seid from event A2DP_SUBEVENT_COMMAND_REJECTED.

Parameters
eventpacket
Returns
local_seid
Note
: btstack_type 1
static uint8_t a2dp_subevent_command_rejected_get_signal_identifier ( const uint8_t *  event)
inlinestatic

Get field signal_identifier from event A2DP_SUBEVENT_COMMAND_REJECTED.

Parameters
eventpacket
Returns
signal_identifier
Note
: btstack_type 1
static uint16_t a2dp_subevent_incoming_connection_established_get_a2dp_cid ( const uint8_t *  event)
inlinestatic

Get field a2dp_cid from event A2DP_SUBEVENT_INCOMING_CONNECTION_ESTABLISHED.

Parameters
eventpacket
Returns
a2dp_cid
Note
: btstack_type 2

References little_endian_read_16().

static void a2dp_subevent_incoming_connection_established_get_bd_addr ( const uint8_t *  event,
bd_addr_t  bd_addr 
)
inlinestatic

Get field bd_addr from event A2DP_SUBEVENT_INCOMING_CONNECTION_ESTABLISHED.

Parameters
eventpacket
Pointerto storage for bd_addr
Note
: btstack_type B

References reverse_bd_addr().

static uint16_t a2dp_subevent_signaling_connection_released_get_a2dp_cid ( const uint8_t *  event)
inlinestatic

Get field a2dp_cid from event A2DP_SUBEVENT_SIGNALING_CONNECTION_RELEASED.

Parameters
eventpacket
Returns
a2dp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t a2dp_subevent_signaling_media_codec_other_configuration_get_a2dp_cid ( const uint8_t *  event)
inlinestatic

Get field a2dp_cid from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION.

Parameters
eventpacket
Returns
a2dp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t a2dp_subevent_signaling_media_codec_other_configuration_get_acp_seid ( const uint8_t *  event)
inlinestatic

Get field acp_seid from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION.

Parameters
eventpacket
Returns
acp_seid
Note
: btstack_type 1
static uint8_t a2dp_subevent_signaling_media_codec_other_configuration_get_int_seid ( const uint8_t *  event)
inlinestatic

Get field int_seid from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION.

Parameters
eventpacket
Returns
int_seid
Note
: btstack_type 1
static const uint8_t* a2dp_subevent_signaling_media_codec_other_configuration_get_media_codec_information ( const uint8_t *  event)
inlinestatic

Get field media_codec_information from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION.

Parameters
eventpacket
Returns
media_codec_information
Note
: btstack_type V
static int a2dp_subevent_signaling_media_codec_other_configuration_get_media_codec_information_len ( const uint8_t *  event)
inlinestatic

Get field media_codec_information_len from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION.

Parameters
eventpacket
Returns
media_codec_information_len
Note
: btstack_type L

References little_endian_read_16().

static uint16_t a2dp_subevent_signaling_media_codec_other_configuration_get_media_codec_type ( const uint8_t *  event)
inlinestatic

Get field media_codec_type from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION.

Parameters
eventpacket
Returns
media_codec_type
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t a2dp_subevent_signaling_media_codec_other_configuration_get_media_type ( const uint8_t *  event)
inlinestatic

Get field media_type from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION.

Parameters
eventpacket
Returns
media_type
Note
: btstack_type 1
static uint8_t a2dp_subevent_signaling_media_codec_other_configuration_get_reconfigure ( const uint8_t *  event)
inlinestatic

Get field reconfigure from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION.

Parameters
eventpacket
Returns
reconfigure
Note
: btstack_type 1
static uint16_t a2dp_subevent_signaling_media_codec_sbc_configuration_get_a2dp_cid ( const uint8_t *  event)
inlinestatic

Get field a2dp_cid from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION.

Parameters
eventpacket
Returns
a2dp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t a2dp_subevent_signaling_media_codec_sbc_configuration_get_acp_seid ( const uint8_t *  event)
inlinestatic

Get field acp_seid from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION.

Parameters
eventpacket
Returns
acp_seid
Note
: btstack_type 1
static uint8_t a2dp_subevent_signaling_media_codec_sbc_configuration_get_allocation_method ( const uint8_t *  event)
inlinestatic

Get field allocation_method from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION.

Parameters
eventpacket
Returns
allocation_method
Note
: btstack_type 1
static uint8_t a2dp_subevent_signaling_media_codec_sbc_configuration_get_block_length ( const uint8_t *  event)
inlinestatic

Get field block_length from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION.

Parameters
eventpacket
Returns
block_length
Note
: btstack_type 1
static uint8_t a2dp_subevent_signaling_media_codec_sbc_configuration_get_channel_mode ( const uint8_t *  event)
inlinestatic

Get field channel_mode from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION.

Parameters
eventpacket
Returns
channel_mode
Note
: btstack_type 1
static uint8_t a2dp_subevent_signaling_media_codec_sbc_configuration_get_int_seid ( const uint8_t *  event)
inlinestatic

Get field int_seid from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION.

Parameters
eventpacket
Returns
int_seid
Note
: btstack_type 1
static uint8_t a2dp_subevent_signaling_media_codec_sbc_configuration_get_max_bitpool_value ( const uint8_t *  event)
inlinestatic

Get field max_bitpool_value from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION.

Parameters
eventpacket
Returns
max_bitpool_value
Note
: btstack_type 1
static uint8_t a2dp_subevent_signaling_media_codec_sbc_configuration_get_media_type ( const uint8_t *  event)
inlinestatic

Get field media_type from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION.

Parameters
eventpacket
Returns
media_type
Note
: btstack_type 1
static uint8_t a2dp_subevent_signaling_media_codec_sbc_configuration_get_min_bitpool_value ( const uint8_t *  event)
inlinestatic

Get field min_bitpool_value from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION.

Parameters
eventpacket
Returns
min_bitpool_value
Note
: btstack_type 1
static uint8_t a2dp_subevent_signaling_media_codec_sbc_configuration_get_num_channels ( const uint8_t *  event)
inlinestatic

Get field num_channels from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION.

Parameters
eventpacket
Returns
num_channels
Note
: btstack_type 1
static uint8_t a2dp_subevent_signaling_media_codec_sbc_configuration_get_reconfigure ( const uint8_t *  event)
inlinestatic

Get field reconfigure from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION.

Parameters
eventpacket
Returns
reconfigure
Note
: btstack_type 1
static uint16_t a2dp_subevent_signaling_media_codec_sbc_configuration_get_sampling_frequency ( const uint8_t *  event)
inlinestatic

Get field sampling_frequency from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION.

Parameters
eventpacket
Returns
sampling_frequency
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t a2dp_subevent_signaling_media_codec_sbc_configuration_get_subbands ( const uint8_t *  event)
inlinestatic

Get field subbands from event A2DP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION.

Parameters
eventpacket
Returns
subbands
Note
: btstack_type 1
static uint16_t a2dp_subevent_stream_established_get_a2dp_cid ( const uint8_t *  event)
inlinestatic

Get field a2dp_cid from event A2DP_SUBEVENT_STREAM_ESTABLISHED.

Parameters
eventpacket
Returns
a2dp_cid
Note
: btstack_type 2

References little_endian_read_16().

static void a2dp_subevent_stream_established_get_bd_addr ( const uint8_t *  event,
bd_addr_t  bd_addr 
)
inlinestatic

Get field bd_addr from event A2DP_SUBEVENT_STREAM_ESTABLISHED.

Parameters
eventpacket
Pointerto storage for bd_addr
Note
: btstack_type B

References reverse_bd_addr().

static uint8_t a2dp_subevent_stream_established_get_local_seid ( const uint8_t *  event)
inlinestatic

Get field local_seid from event A2DP_SUBEVENT_STREAM_ESTABLISHED.

Parameters
eventpacket
Returns
local_seid
Note
: btstack_type 1
static uint8_t a2dp_subevent_stream_established_get_remote_seid ( const uint8_t *  event)
inlinestatic

Get field remote_seid from event A2DP_SUBEVENT_STREAM_ESTABLISHED.

Parameters
eventpacket
Returns
remote_seid
Note
: btstack_type 1
static uint8_t a2dp_subevent_stream_established_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event A2DP_SUBEVENT_STREAM_ESTABLISHED.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static uint16_t a2dp_subevent_stream_released_get_a2dp_cid ( const uint8_t *  event)
inlinestatic

Get field a2dp_cid from event A2DP_SUBEVENT_STREAM_RELEASED.

Parameters
eventpacket
Returns
a2dp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t a2dp_subevent_stream_released_get_local_seid ( const uint8_t *  event)
inlinestatic

Get field local_seid from event A2DP_SUBEVENT_STREAM_RELEASED.

Parameters
eventpacket
Returns
local_seid
Note
: btstack_type 1
static uint16_t a2dp_subevent_stream_started_get_a2dp_cid ( const uint8_t *  event)
inlinestatic

Get field a2dp_cid from event A2DP_SUBEVENT_STREAM_STARTED.

Parameters
eventpacket
Returns
a2dp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t a2dp_subevent_stream_started_get_local_seid ( const uint8_t *  event)
inlinestatic

Get field local_seid from event A2DP_SUBEVENT_STREAM_STARTED.

Parameters
eventpacket
Returns
local_seid
Note
: btstack_type 1
static uint16_t a2dp_subevent_stream_stopped_get_a2dp_cid ( const uint8_t *  event)
inlinestatic

Get field a2dp_cid from event A2DP_SUBEVENT_STREAM_STOPPED.

Parameters
eventpacket
Returns
a2dp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t a2dp_subevent_stream_stopped_get_local_seid ( const uint8_t *  event)
inlinestatic

Get field local_seid from event A2DP_SUBEVENT_STREAM_STOPPED.

Parameters
eventpacket
Returns
local_seid
Note
: btstack_type 1
static uint16_t a2dp_subevent_stream_suspended_get_a2dp_cid ( const uint8_t *  event)
inlinestatic

Get field a2dp_cid from event A2DP_SUBEVENT_STREAM_SUSPENDED.

Parameters
eventpacket
Returns
a2dp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t a2dp_subevent_stream_suspended_get_local_seid ( const uint8_t *  event)
inlinestatic

Get field local_seid from event A2DP_SUBEVENT_STREAM_SUSPENDED.

Parameters
eventpacket
Returns
local_seid
Note
: btstack_type 1
static uint16_t a2dp_subevent_streaming_can_send_media_packet_now_get_a2dp_cid ( const uint8_t *  event)
inlinestatic

Get field a2dp_cid from event A2DP_SUBEVENT_STREAMING_CAN_SEND_MEDIA_PACKET_NOW.

Parameters
eventpacket
Returns
a2dp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t a2dp_subevent_streaming_can_send_media_packet_now_get_local_seid ( const uint8_t *  event)
inlinestatic

Get field local_seid from event A2DP_SUBEVENT_STREAMING_CAN_SEND_MEDIA_PACKET_NOW.

Parameters
eventpacket
Returns
local_seid
Note
: btstack_type 1
static uint16_t att_event_handle_value_indication_complete_get_attribute_handle ( const uint8_t *  event)
inlinestatic

Get field attribute_handle from event ATT_EVENT_HANDLE_VALUE_INDICATION_COMPLETE.

Parameters
eventpacket
Returns
attribute_handle
Note
: btstack_type 2

References little_endian_read_16().

static hci_con_handle_t att_event_handle_value_indication_complete_get_conn_handle ( const uint8_t *  event)
inlinestatic

Get field conn_handle from event ATT_EVENT_HANDLE_VALUE_INDICATION_COMPLETE.

Parameters
eventpacket
Returns
conn_handle
Note
: btstack_type H

References little_endian_read_16().

static uint8_t att_event_handle_value_indication_complete_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event ATT_EVENT_HANDLE_VALUE_INDICATION_COMPLETE.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static hci_con_handle_t att_event_mtu_exchange_complete_get_handle ( const uint8_t *  event)
inlinestatic

Get field handle from event ATT_EVENT_MTU_EXCHANGE_COMPLETE.

Parameters
eventpacket
Returns
handle
Note
: btstack_type H

References little_endian_read_16().

static uint16_t att_event_mtu_exchange_complete_get_MTU ( const uint8_t *  event)
inlinestatic

Get field MTU from event ATT_EVENT_MTU_EXCHANGE_COMPLETE.

Parameters
eventpacket
Returns
MTU
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t avdtp_subevent_signaling_accept_get_avdtp_cid ( const uint8_t *  event)
inlinestatic

Get field avdtp_cid from event AVDTP_SUBEVENT_SIGNALING_ACCEPT.

Parameters
eventpacket
Returns
avdtp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avdtp_subevent_signaling_accept_get_local_seid ( const uint8_t *  event)
inlinestatic

Get field local_seid from event AVDTP_SUBEVENT_SIGNALING_ACCEPT.

Parameters
eventpacket
Returns
local_seid
Note
: btstack_type 1
static uint8_t avdtp_subevent_signaling_accept_get_signal_identifier ( const uint8_t *  event)
inlinestatic

Get field signal_identifier from event AVDTP_SUBEVENT_SIGNALING_ACCEPT.

Parameters
eventpacket
Returns
signal_identifier
Note
: btstack_type 1
static uint16_t avdtp_subevent_signaling_connection_established_get_avdtp_cid ( const uint8_t *  event)
inlinestatic

Get field avdtp_cid from event AVDTP_SUBEVENT_SIGNALING_CONNECTION_ESTABLISHED.

Parameters
eventpacket
Returns
avdtp_cid
Note
: btstack_type 2

References little_endian_read_16().

static void avdtp_subevent_signaling_connection_established_get_bd_addr ( const uint8_t *  event,
bd_addr_t  bd_addr 
)
inlinestatic

Get field bd_addr from event AVDTP_SUBEVENT_SIGNALING_CONNECTION_ESTABLISHED.

Parameters
eventpacket
Pointerto storage for bd_addr
Note
: btstack_type B

References reverse_bd_addr().

static uint8_t avdtp_subevent_signaling_connection_established_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event AVDTP_SUBEVENT_SIGNALING_CONNECTION_ESTABLISHED.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static uint16_t avdtp_subevent_signaling_connection_released_get_avdtp_cid ( const uint8_t *  event)
inlinestatic

Get field avdtp_cid from event AVDTP_SUBEVENT_SIGNALING_CONNECTION_RELEASED.

Parameters
eventpacket
Returns
avdtp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t avdtp_subevent_signaling_general_reject_get_avdtp_cid ( const uint8_t *  event)
inlinestatic

Get field avdtp_cid from event AVDTP_SUBEVENT_SIGNALING_GENERAL_REJECT.

Parameters
eventpacket
Returns
avdtp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avdtp_subevent_signaling_general_reject_get_local_seid ( const uint8_t *  event)
inlinestatic

Get field local_seid from event AVDTP_SUBEVENT_SIGNALING_GENERAL_REJECT.

Parameters
eventpacket
Returns
local_seid
Note
: btstack_type 1
static uint8_t avdtp_subevent_signaling_general_reject_get_signal_identifier ( const uint8_t *  event)
inlinestatic

Get field signal_identifier from event AVDTP_SUBEVENT_SIGNALING_GENERAL_REJECT.

Parameters
eventpacket
Returns
signal_identifier
Note
: btstack_type 1
static uint16_t avdtp_subevent_signaling_media_codec_other_capability_get_avdtp_cid ( const uint8_t *  event)
inlinestatic

Get field avdtp_cid from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CAPABILITY.

Parameters
eventpacket
Returns
avdtp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avdtp_subevent_signaling_media_codec_other_capability_get_local_seid ( const uint8_t *  event)
inlinestatic

Get field local_seid from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CAPABILITY.

Parameters
eventpacket
Returns
local_seid
Note
: btstack_type 1
static const uint8_t* avdtp_subevent_signaling_media_codec_other_capability_get_media_codec_information ( const uint8_t *  event)
inlinestatic

Get field media_codec_information from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CAPABILITY.

Parameters
eventpacket
Returns
media_codec_information
Note
: btstack_type V
static int avdtp_subevent_signaling_media_codec_other_capability_get_media_codec_information_len ( const uint8_t *  event)
inlinestatic

Get field media_codec_information_len from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CAPABILITY.

Parameters
eventpacket
Returns
media_codec_information_len
Note
: btstack_type L

References little_endian_read_16().

static uint16_t avdtp_subevent_signaling_media_codec_other_capability_get_media_codec_type ( const uint8_t *  event)
inlinestatic

Get field media_codec_type from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CAPABILITY.

Parameters
eventpacket
Returns
media_codec_type
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avdtp_subevent_signaling_media_codec_other_capability_get_media_type ( const uint8_t *  event)
inlinestatic

Get field media_type from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CAPABILITY.

Parameters
eventpacket
Returns
media_type
Note
: btstack_type 1
static uint8_t avdtp_subevent_signaling_media_codec_other_capability_get_remote_seid ( const uint8_t *  event)
inlinestatic

Get field remote_seid from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CAPABILITY.

Parameters
eventpacket
Returns
remote_seid
Note
: btstack_type 1
static uint16_t avdtp_subevent_signaling_media_codec_other_configuration_get_avdtp_cid ( const uint8_t *  event)
inlinestatic

Get field avdtp_cid from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION.

Parameters
eventpacket
Returns
avdtp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avdtp_subevent_signaling_media_codec_other_configuration_get_local_seid ( const uint8_t *  event)
inlinestatic

Get field local_seid from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION.

Parameters
eventpacket
Returns
local_seid
Note
: btstack_type 1
static const uint8_t* avdtp_subevent_signaling_media_codec_other_configuration_get_media_codec_information ( const uint8_t *  event)
inlinestatic

Get field media_codec_information from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION.

Parameters
eventpacket
Returns
media_codec_information
Note
: btstack_type V
static int avdtp_subevent_signaling_media_codec_other_configuration_get_media_codec_information_len ( const uint8_t *  event)
inlinestatic

Get field media_codec_information_len from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION.

Parameters
eventpacket
Returns
media_codec_information_len
Note
: btstack_type L

References little_endian_read_16().

static uint16_t avdtp_subevent_signaling_media_codec_other_configuration_get_media_codec_type ( const uint8_t *  event)
inlinestatic

Get field media_codec_type from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION.

Parameters
eventpacket
Returns
media_codec_type
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avdtp_subevent_signaling_media_codec_other_configuration_get_media_type ( const uint8_t *  event)
inlinestatic

Get field media_type from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION.

Parameters
eventpacket
Returns
media_type
Note
: btstack_type 1
static uint8_t avdtp_subevent_signaling_media_codec_other_configuration_get_reconfigure ( const uint8_t *  event)
inlinestatic

Get field reconfigure from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION.

Parameters
eventpacket
Returns
reconfigure
Note
: btstack_type 1
static uint8_t avdtp_subevent_signaling_media_codec_other_configuration_get_remote_seid ( const uint8_t *  event)
inlinestatic

Get field remote_seid from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION.

Parameters
eventpacket
Returns
remote_seid
Note
: btstack_type 1
static uint8_t avdtp_subevent_signaling_media_codec_sbc_capability_get_allocation_method_bitmap ( const uint8_t *  event)
inlinestatic

Get field allocation_method_bitmap from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CAPABILITY.

Parameters
eventpacket
Returns
allocation_method_bitmap
Note
: btstack_type 1
static uint16_t avdtp_subevent_signaling_media_codec_sbc_capability_get_avdtp_cid ( const uint8_t *  event)
inlinestatic

Get field avdtp_cid from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CAPABILITY.

Parameters
eventpacket
Returns
avdtp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avdtp_subevent_signaling_media_codec_sbc_capability_get_block_length_bitmap ( const uint8_t *  event)
inlinestatic

Get field block_length_bitmap from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CAPABILITY.

Parameters
eventpacket
Returns
block_length_bitmap
Note
: btstack_type 1
static uint8_t avdtp_subevent_signaling_media_codec_sbc_capability_get_channel_mode_bitmap ( const uint8_t *  event)
inlinestatic

Get field channel_mode_bitmap from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CAPABILITY.

Parameters
eventpacket
Returns
channel_mode_bitmap
Note
: btstack_type 1
static uint8_t avdtp_subevent_signaling_media_codec_sbc_capability_get_local_seid ( const uint8_t *  event)
inlinestatic

Get field local_seid from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CAPABILITY.

Parameters
eventpacket
Returns
local_seid
Note
: btstack_type 1
static uint8_t avdtp_subevent_signaling_media_codec_sbc_capability_get_max_bitpool_value ( const uint8_t *  event)
inlinestatic

Get field max_bitpool_value from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CAPABILITY.

Parameters
eventpacket
Returns
max_bitpool_value
Note
: btstack_type 1
static uint8_t avdtp_subevent_signaling_media_codec_sbc_capability_get_media_type ( const uint8_t *  event)
inlinestatic

Get field media_type from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CAPABILITY.

Parameters
eventpacket
Returns
media_type
Note
: btstack_type 1
static uint8_t avdtp_subevent_signaling_media_codec_sbc_capability_get_min_bitpool_value ( const uint8_t *  event)
inlinestatic

Get field min_bitpool_value from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CAPABILITY.

Parameters
eventpacket
Returns
min_bitpool_value
Note
: btstack_type 1
static uint8_t avdtp_subevent_signaling_media_codec_sbc_capability_get_remote_seid ( const uint8_t *  event)
inlinestatic

Get field remote_seid from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CAPABILITY.

Parameters
eventpacket
Returns
remote_seid
Note
: btstack_type 1
static uint8_t avdtp_subevent_signaling_media_codec_sbc_capability_get_sampling_frequency_bitmap ( const uint8_t *  event)
inlinestatic

Get field sampling_frequency_bitmap from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CAPABILITY.

Parameters
eventpacket
Returns
sampling_frequency_bitmap
Note
: btstack_type 1
static uint8_t avdtp_subevent_signaling_media_codec_sbc_capability_get_subbands_bitmap ( const uint8_t *  event)
inlinestatic

Get field subbands_bitmap from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CAPABILITY.

Parameters
eventpacket
Returns
subbands_bitmap
Note
: btstack_type 1
static uint8_t avdtp_subevent_signaling_media_codec_sbc_configuration_get_allocation_method ( const uint8_t *  event)
inlinestatic

Get field allocation_method from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION.

Parameters
eventpacket
Returns
allocation_method
Note
: btstack_type 1
static uint16_t avdtp_subevent_signaling_media_codec_sbc_configuration_get_avdtp_cid ( const uint8_t *  event)
inlinestatic

Get field avdtp_cid from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION.

Parameters
eventpacket
Returns
avdtp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avdtp_subevent_signaling_media_codec_sbc_configuration_get_block_length ( const uint8_t *  event)
inlinestatic

Get field block_length from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION.

Parameters
eventpacket
Returns
block_length
Note
: btstack_type 1
static uint8_t avdtp_subevent_signaling_media_codec_sbc_configuration_get_channel_mode ( const uint8_t *  event)
inlinestatic

Get field channel_mode from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION.

Parameters
eventpacket
Returns
channel_mode
Note
: btstack_type 1
static uint8_t avdtp_subevent_signaling_media_codec_sbc_configuration_get_local_seid ( const uint8_t *  event)
inlinestatic

Get field local_seid from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION.

Parameters
eventpacket
Returns
local_seid
Note
: btstack_type 1
static uint8_t avdtp_subevent_signaling_media_codec_sbc_configuration_get_max_bitpool_value ( const uint8_t *  event)
inlinestatic

Get field max_bitpool_value from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION.

Parameters
eventpacket
Returns
max_bitpool_value
Note
: btstack_type 1
static uint8_t avdtp_subevent_signaling_media_codec_sbc_configuration_get_media_type ( const uint8_t *  event)
inlinestatic

Get field media_type from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION.

Parameters
eventpacket
Returns
media_type
Note
: btstack_type 1
static uint8_t avdtp_subevent_signaling_media_codec_sbc_configuration_get_min_bitpool_value ( const uint8_t *  event)
inlinestatic

Get field min_bitpool_value from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION.

Parameters
eventpacket
Returns
min_bitpool_value
Note
: btstack_type 1
static uint8_t avdtp_subevent_signaling_media_codec_sbc_configuration_get_num_channels ( const uint8_t *  event)
inlinestatic

Get field num_channels from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION.

Parameters
eventpacket
Returns
num_channels
Note
: btstack_type 1
static uint8_t avdtp_subevent_signaling_media_codec_sbc_configuration_get_reconfigure ( const uint8_t *  event)
inlinestatic

Get field reconfigure from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION.

Parameters
eventpacket
Returns
reconfigure
Note
: btstack_type 1
static uint8_t avdtp_subevent_signaling_media_codec_sbc_configuration_get_remote_seid ( const uint8_t *  event)
inlinestatic

Get field remote_seid from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION.

Parameters
eventpacket
Returns
remote_seid
Note
: btstack_type 1
static uint16_t avdtp_subevent_signaling_media_codec_sbc_configuration_get_sampling_frequency ( const uint8_t *  event)
inlinestatic

Get field sampling_frequency from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION.

Parameters
eventpacket
Returns
sampling_frequency
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avdtp_subevent_signaling_media_codec_sbc_configuration_get_subbands ( const uint8_t *  event)
inlinestatic

Get field subbands from event AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION.

Parameters
eventpacket
Returns
subbands
Note
: btstack_type 1
static uint16_t avdtp_subevent_signaling_reject_get_avdtp_cid ( const uint8_t *  event)
inlinestatic

Get field avdtp_cid from event AVDTP_SUBEVENT_SIGNALING_REJECT.

Parameters
eventpacket
Returns
avdtp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avdtp_subevent_signaling_reject_get_local_seid ( const uint8_t *  event)
inlinestatic

Get field local_seid from event AVDTP_SUBEVENT_SIGNALING_REJECT.

Parameters
eventpacket
Returns
local_seid
Note
: btstack_type 1
static uint8_t avdtp_subevent_signaling_reject_get_signal_identifier ( const uint8_t *  event)
inlinestatic

Get field signal_identifier from event AVDTP_SUBEVENT_SIGNALING_REJECT.

Parameters
eventpacket
Returns
signal_identifier
Note
: btstack_type 1
static uint16_t avdtp_subevent_signaling_sep_found_get_avdtp_cid ( const uint8_t *  event)
inlinestatic

Get field avdtp_cid from event AVDTP_SUBEVENT_SIGNALING_SEP_FOUND.

Parameters
eventpacket
Returns
avdtp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avdtp_subevent_signaling_sep_found_get_in_use ( const uint8_t *  event)
inlinestatic

Get field in_use from event AVDTP_SUBEVENT_SIGNALING_SEP_FOUND.

Parameters
eventpacket
Returns
in_use
Note
: btstack_type 1
static uint8_t avdtp_subevent_signaling_sep_found_get_media_type ( const uint8_t *  event)
inlinestatic

Get field media_type from event AVDTP_SUBEVENT_SIGNALING_SEP_FOUND.

Parameters
eventpacket
Returns
media_type
Note
: btstack_type 1
static uint8_t avdtp_subevent_signaling_sep_found_get_remote_seid ( const uint8_t *  event)
inlinestatic

Get field remote_seid from event AVDTP_SUBEVENT_SIGNALING_SEP_FOUND.

Parameters
eventpacket
Returns
remote_seid
Note
: btstack_type 1
static uint8_t avdtp_subevent_signaling_sep_found_get_sep_type ( const uint8_t *  event)
inlinestatic

Get field sep_type from event AVDTP_SUBEVENT_SIGNALING_SEP_FOUND.

Parameters
eventpacket
Returns
sep_type
Note
: btstack_type 1
static uint16_t avdtp_subevent_streaming_can_send_media_packet_now_get_avdtp_cid ( const uint8_t *  event)
inlinestatic

Get field avdtp_cid from event AVDTP_SUBEVENT_STREAMING_CAN_SEND_MEDIA_PACKET_NOW.

Parameters
eventpacket
Returns
avdtp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avdtp_subevent_streaming_can_send_media_packet_now_get_local_seid ( const uint8_t *  event)
inlinestatic

Get field local_seid from event AVDTP_SUBEVENT_STREAMING_CAN_SEND_MEDIA_PACKET_NOW.

Parameters
eventpacket
Returns
local_seid
Note
: btstack_type 1
static uint16_t avdtp_subevent_streaming_can_send_media_packet_now_get_sequence_number ( const uint8_t *  event)
inlinestatic

Get field sequence_number from event AVDTP_SUBEVENT_STREAMING_CAN_SEND_MEDIA_PACKET_NOW.

Parameters
eventpacket
Returns
sequence_number
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t avdtp_subevent_streaming_connection_established_get_avdtp_cid ( const uint8_t *  event)
inlinestatic

Get field avdtp_cid from event AVDTP_SUBEVENT_STREAMING_CONNECTION_ESTABLISHED.

Parameters
eventpacket
Returns
avdtp_cid
Note
: btstack_type 2

References little_endian_read_16().

static void avdtp_subevent_streaming_connection_established_get_bd_addr ( const uint8_t *  event,
bd_addr_t  bd_addr 
)
inlinestatic

Get field bd_addr from event AVDTP_SUBEVENT_STREAMING_CONNECTION_ESTABLISHED.

Parameters
eventpacket
Pointerto storage for bd_addr
Note
: btstack_type B

References reverse_bd_addr().

static uint8_t avdtp_subevent_streaming_connection_established_get_local_seid ( const uint8_t *  event)
inlinestatic

Get field local_seid from event AVDTP_SUBEVENT_STREAMING_CONNECTION_ESTABLISHED.

Parameters
eventpacket
Returns
local_seid
Note
: btstack_type 1
static uint8_t avdtp_subevent_streaming_connection_established_get_remote_seid ( const uint8_t *  event)
inlinestatic

Get field remote_seid from event AVDTP_SUBEVENT_STREAMING_CONNECTION_ESTABLISHED.

Parameters
eventpacket
Returns
remote_seid
Note
: btstack_type 1
static uint8_t avdtp_subevent_streaming_connection_established_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event AVDTP_SUBEVENT_STREAMING_CONNECTION_ESTABLISHED.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static uint16_t avdtp_subevent_streaming_connection_released_get_avdtp_cid ( const uint8_t *  event)
inlinestatic

Get field avdtp_cid from event AVDTP_SUBEVENT_STREAMING_CONNECTION_RELEASED.

Parameters
eventpacket
Returns
avdtp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avdtp_subevent_streaming_connection_released_get_local_seid ( const uint8_t *  event)
inlinestatic

Get field local_seid from event AVDTP_SUBEVENT_STREAMING_CONNECTION_RELEASED.

Parameters
eventpacket
Returns
local_seid
Note
: btstack_type 1
static uint16_t avrcp_subevent_company_ids_query_get_avrcp_cid ( const uint8_t *  event)
inlinestatic

Get field avrcp_cid from event AVRCP_SUBEVENT_COMPANY_IDS_QUERY.

Parameters
eventpacket
Returns
avrcp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t avrcp_subevent_connection_established_get_avrcp_cid ( const uint8_t *  event)
inlinestatic

Get field avrcp_cid from event AVRCP_SUBEVENT_CONNECTION_ESTABLISHED.

Parameters
eventpacket
Returns
avrcp_cid
Note
: btstack_type 2

References little_endian_read_16().

static void avrcp_subevent_connection_established_get_bd_addr ( const uint8_t *  event,
bd_addr_t  bd_addr 
)
inlinestatic

Get field bd_addr from event AVRCP_SUBEVENT_CONNECTION_ESTABLISHED.

Parameters
eventpacket
Pointerto storage for bd_addr
Note
: btstack_type B

References reverse_bd_addr().

static uint8_t avrcp_subevent_connection_established_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event AVRCP_SUBEVENT_CONNECTION_ESTABLISHED.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static uint16_t avrcp_subevent_connection_released_get_avrcp_cid ( const uint8_t *  event)
inlinestatic

Get field avrcp_cid from event AVRCP_SUBEVENT_CONNECTION_RELEASED.

Parameters
eventpacket
Returns
avrcp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t avrcp_subevent_enable_notification_complete_get_avrcp_cid ( const uint8_t *  event)
inlinestatic

Get field avrcp_cid from event AVRCP_SUBEVENT_ENABLE_NOTIFICATION_COMPLETE.

Parameters
eventpacket
Returns
avrcp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avrcp_subevent_enable_notification_complete_get_command_type ( const uint8_t *  event)
inlinestatic

Get field command_type from event AVRCP_SUBEVENT_ENABLE_NOTIFICATION_COMPLETE.

Parameters
eventpacket
Returns
command_type
Note
: btstack_type 1
static uint8_t avrcp_subevent_enable_notification_complete_get_notification_id ( const uint8_t *  event)
inlinestatic

Get field notification_id from event AVRCP_SUBEVENT_ENABLE_NOTIFICATION_COMPLETE.

Parameters
eventpacket
Returns
notification_id
Note
: btstack_type 1
static uint16_t avrcp_subevent_event_ids_query_get_avrcp_cid ( const uint8_t *  event)
inlinestatic

Get field avrcp_cid from event AVRCP_SUBEVENT_EVENT_IDS_QUERY.

Parameters
eventpacket
Returns
avrcp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t avrcp_subevent_notification_available_players_changed_get_avrcp_cid ( const uint8_t *  event)
inlinestatic

Get field avrcp_cid from event AVRCP_SUBEVENT_NOTIFICATION_AVAILABLE_PLAYERS_CHANGED.

Parameters
eventpacket
Returns
avrcp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avrcp_subevent_notification_available_players_changed_get_command_type ( const uint8_t *  event)
inlinestatic

Get field command_type from event AVRCP_SUBEVENT_NOTIFICATION_AVAILABLE_PLAYERS_CHANGED.

Parameters
eventpacket
Returns
command_type
Note
: btstack_type 1
static uint16_t avrcp_subevent_notification_now_playing_content_changed_get_avrcp_cid ( const uint8_t *  event)
inlinestatic

Get field avrcp_cid from event AVRCP_SUBEVENT_NOTIFICATION_NOW_PLAYING_CONTENT_CHANGED.

Parameters
eventpacket
Returns
avrcp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avrcp_subevent_notification_now_playing_content_changed_get_command_type ( const uint8_t *  event)
inlinestatic

Get field command_type from event AVRCP_SUBEVENT_NOTIFICATION_NOW_PLAYING_CONTENT_CHANGED.

Parameters
eventpacket
Returns
command_type
Note
: btstack_type 1
static uint16_t avrcp_subevent_notification_playback_status_changed_get_avrcp_cid ( const uint8_t *  event)
inlinestatic

Get field avrcp_cid from event AVRCP_SUBEVENT_NOTIFICATION_PLAYBACK_STATUS_CHANGED.

Parameters
eventpacket
Returns
avrcp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avrcp_subevent_notification_playback_status_changed_get_command_type ( const uint8_t *  event)
inlinestatic

Get field command_type from event AVRCP_SUBEVENT_NOTIFICATION_PLAYBACK_STATUS_CHANGED.

Parameters
eventpacket
Returns
command_type
Note
: btstack_type 1
static uint8_t avrcp_subevent_notification_playback_status_changed_get_play_status ( const uint8_t *  event)
inlinestatic

Get field play_status from event AVRCP_SUBEVENT_NOTIFICATION_PLAYBACK_STATUS_CHANGED.

Parameters
eventpacket
Returns
play_status
Note
: btstack_type 1
static uint16_t avrcp_subevent_notification_track_changed_get_avrcp_cid ( const uint8_t *  event)
inlinestatic

Get field avrcp_cid from event AVRCP_SUBEVENT_NOTIFICATION_TRACK_CHANGED.

Parameters
eventpacket
Returns
avrcp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avrcp_subevent_notification_track_changed_get_command_type ( const uint8_t *  event)
inlinestatic

Get field command_type from event AVRCP_SUBEVENT_NOTIFICATION_TRACK_CHANGED.

Parameters
eventpacket
Returns
command_type
Note
: btstack_type 1
static uint8_t avrcp_subevent_notification_volume_changed_get_absolute_volume ( const uint8_t *  event)
inlinestatic

Get field absolute_volume from event AVRCP_SUBEVENT_NOTIFICATION_VOLUME_CHANGED.

Parameters
eventpacket
Returns
absolute_volume
Note
: btstack_type 1
static uint16_t avrcp_subevent_notification_volume_changed_get_avrcp_cid ( const uint8_t *  event)
inlinestatic

Get field avrcp_cid from event AVRCP_SUBEVENT_NOTIFICATION_VOLUME_CHANGED.

Parameters
eventpacket
Returns
avrcp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avrcp_subevent_notification_volume_changed_get_command_type ( const uint8_t *  event)
inlinestatic

Get field command_type from event AVRCP_SUBEVENT_NOTIFICATION_VOLUME_CHANGED.

Parameters
eventpacket
Returns
command_type
Note
: btstack_type 1
static uint16_t avrcp_subevent_now_playing_album_info_get_avrcp_cid ( const uint8_t *  event)
inlinestatic

Get field avrcp_cid from event AVRCP_SUBEVENT_NOW_PLAYING_ALBUM_INFO.

Parameters
eventpacket
Returns
avrcp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avrcp_subevent_now_playing_album_info_get_command_type ( const uint8_t *  event)
inlinestatic

Get field command_type from event AVRCP_SUBEVENT_NOW_PLAYING_ALBUM_INFO.

Parameters
eventpacket
Returns
command_type
Note
: btstack_type 1
static const uint8_t* avrcp_subevent_now_playing_album_info_get_value ( const uint8_t *  event)
inlinestatic

Get field value from event AVRCP_SUBEVENT_NOW_PLAYING_ALBUM_INFO.

Parameters
eventpacket
Returns
value
Note
: btstack_type V
static int avrcp_subevent_now_playing_album_info_get_value_len ( const uint8_t *  event)
inlinestatic

Get field value_len from event AVRCP_SUBEVENT_NOW_PLAYING_ALBUM_INFO.

Parameters
eventpacket
Returns
value_len
Note
: btstack_type J
static uint16_t avrcp_subevent_now_playing_artist_info_get_avrcp_cid ( const uint8_t *  event)
inlinestatic

Get field avrcp_cid from event AVRCP_SUBEVENT_NOW_PLAYING_ARTIST_INFO.

Parameters
eventpacket
Returns
avrcp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avrcp_subevent_now_playing_artist_info_get_command_type ( const uint8_t *  event)
inlinestatic

Get field command_type from event AVRCP_SUBEVENT_NOW_PLAYING_ARTIST_INFO.

Parameters
eventpacket
Returns
command_type
Note
: btstack_type 1
static const uint8_t* avrcp_subevent_now_playing_artist_info_get_value ( const uint8_t *  event)
inlinestatic

Get field value from event AVRCP_SUBEVENT_NOW_PLAYING_ARTIST_INFO.

Parameters
eventpacket
Returns
value
Note
: btstack_type V
static int avrcp_subevent_now_playing_artist_info_get_value_len ( const uint8_t *  event)
inlinestatic

Get field value_len from event AVRCP_SUBEVENT_NOW_PLAYING_ARTIST_INFO.

Parameters
eventpacket
Returns
value_len
Note
: btstack_type J
static uint16_t avrcp_subevent_now_playing_genre_info_get_avrcp_cid ( const uint8_t *  event)
inlinestatic

Get field avrcp_cid from event AVRCP_SUBEVENT_NOW_PLAYING_GENRE_INFO.

Parameters
eventpacket
Returns
avrcp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avrcp_subevent_now_playing_genre_info_get_command_type ( const uint8_t *  event)
inlinestatic

Get field command_type from event AVRCP_SUBEVENT_NOW_PLAYING_GENRE_INFO.

Parameters
eventpacket
Returns
command_type
Note
: btstack_type 1
static const uint8_t* avrcp_subevent_now_playing_genre_info_get_value ( const uint8_t *  event)
inlinestatic

Get field value from event AVRCP_SUBEVENT_NOW_PLAYING_GENRE_INFO.

Parameters
eventpacket
Returns
value
Note
: btstack_type V
static int avrcp_subevent_now_playing_genre_info_get_value_len ( const uint8_t *  event)
inlinestatic

Get field value_len from event AVRCP_SUBEVENT_NOW_PLAYING_GENRE_INFO.

Parameters
eventpacket
Returns
value_len
Note
: btstack_type J
static uint16_t avrcp_subevent_now_playing_info_done_get_avrcp_cid ( const uint8_t *  event)
inlinestatic

Get field avrcp_cid from event AVRCP_SUBEVENT_NOW_PLAYING_INFO_DONE.

Parameters
eventpacket
Returns
avrcp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avrcp_subevent_now_playing_info_done_get_command_type ( const uint8_t *  event)
inlinestatic

Get field command_type from event AVRCP_SUBEVENT_NOW_PLAYING_INFO_DONE.

Parameters
eventpacket
Returns
command_type
Note
: btstack_type 1
static uint8_t avrcp_subevent_now_playing_info_done_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event AVRCP_SUBEVENT_NOW_PLAYING_INFO_DONE.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static uint16_t avrcp_subevent_now_playing_song_length_ms_info_get_avrcp_cid ( const uint8_t *  event)
inlinestatic

Get field avrcp_cid from event AVRCP_SUBEVENT_NOW_PLAYING_SONG_LENGTH_MS_INFO.

Parameters
eventpacket
Returns
avrcp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avrcp_subevent_now_playing_song_length_ms_info_get_command_type ( const uint8_t *  event)
inlinestatic

Get field command_type from event AVRCP_SUBEVENT_NOW_PLAYING_SONG_LENGTH_MS_INFO.

Parameters
eventpacket
Returns
command_type
Note
: btstack_type 1
static uint32_t avrcp_subevent_now_playing_song_length_ms_info_get_song_length ( const uint8_t *  event)
inlinestatic

Get field song_length from event AVRCP_SUBEVENT_NOW_PLAYING_SONG_LENGTH_MS_INFO.

Parameters
eventpacket
Returns
song_length
Note
: btstack_type 4

References little_endian_read_32().

static uint16_t avrcp_subevent_now_playing_title_info_get_avrcp_cid ( const uint8_t *  event)
inlinestatic

Get field avrcp_cid from event AVRCP_SUBEVENT_NOW_PLAYING_TITLE_INFO.

Parameters
eventpacket
Returns
avrcp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avrcp_subevent_now_playing_title_info_get_command_type ( const uint8_t *  event)
inlinestatic

Get field command_type from event AVRCP_SUBEVENT_NOW_PLAYING_TITLE_INFO.

Parameters
eventpacket
Returns
command_type
Note
: btstack_type 1
static const uint8_t* avrcp_subevent_now_playing_title_info_get_value ( const uint8_t *  event)
inlinestatic

Get field value from event AVRCP_SUBEVENT_NOW_PLAYING_TITLE_INFO.

Parameters
eventpacket
Returns
value
Note
: btstack_type V
static int avrcp_subevent_now_playing_title_info_get_value_len ( const uint8_t *  event)
inlinestatic

Get field value_len from event AVRCP_SUBEVENT_NOW_PLAYING_TITLE_INFO.

Parameters
eventpacket
Returns
value_len
Note
: btstack_type J
static uint16_t avrcp_subevent_now_playing_total_tracks_info_get_avrcp_cid ( const uint8_t *  event)
inlinestatic

Get field avrcp_cid from event AVRCP_SUBEVENT_NOW_PLAYING_TOTAL_TRACKS_INFO.

Parameters
eventpacket
Returns
avrcp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avrcp_subevent_now_playing_total_tracks_info_get_command_type ( const uint8_t *  event)
inlinestatic

Get field command_type from event AVRCP_SUBEVENT_NOW_PLAYING_TOTAL_TRACKS_INFO.

Parameters
eventpacket
Returns
command_type
Note
: btstack_type 1
static uint8_t avrcp_subevent_now_playing_total_tracks_info_get_total_tracks ( const uint8_t *  event)
inlinestatic

Get field total_tracks from event AVRCP_SUBEVENT_NOW_PLAYING_TOTAL_TRACKS_INFO.

Parameters
eventpacket
Returns
total_tracks
Note
: btstack_type 1
static uint16_t avrcp_subevent_now_playing_track_info_get_avrcp_cid ( const uint8_t *  event)
inlinestatic

Get field avrcp_cid from event AVRCP_SUBEVENT_NOW_PLAYING_TRACK_INFO.

Parameters
eventpacket
Returns
avrcp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avrcp_subevent_now_playing_track_info_get_command_type ( const uint8_t *  event)
inlinestatic

Get field command_type from event AVRCP_SUBEVENT_NOW_PLAYING_TRACK_INFO.

Parameters
eventpacket
Returns
command_type
Note
: btstack_type 1
static uint8_t avrcp_subevent_now_playing_track_info_get_track ( const uint8_t *  event)
inlinestatic

Get field track from event AVRCP_SUBEVENT_NOW_PLAYING_TRACK_INFO.

Parameters
eventpacket
Returns
track
Note
: btstack_type 1
static uint16_t avrcp_subevent_operation_complete_get_avrcp_cid ( const uint8_t *  event)
inlinestatic

Get field avrcp_cid from event AVRCP_SUBEVENT_OPERATION_COMPLETE.

Parameters
eventpacket
Returns
avrcp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avrcp_subevent_operation_complete_get_command_type ( const uint8_t *  event)
inlinestatic

Get field command_type from event AVRCP_SUBEVENT_OPERATION_COMPLETE.

Parameters
eventpacket
Returns
command_type
Note
: btstack_type 1
static uint8_t avrcp_subevent_operation_complete_get_operation_id ( const uint8_t *  event)
inlinestatic

Get field operation_id from event AVRCP_SUBEVENT_OPERATION_COMPLETE.

Parameters
eventpacket
Returns
operation_id
Note
: btstack_type 1
static uint16_t avrcp_subevent_operation_get_avrcp_cid ( const uint8_t *  event)
inlinestatic

Get field avrcp_cid from event AVRCP_SUBEVENT_OPERATION.

Parameters
eventpacket
Returns
avrcp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avrcp_subevent_operation_get_operand ( const uint8_t *  event)
inlinestatic

Get field operand from event AVRCP_SUBEVENT_OPERATION.

Parameters
eventpacket
Returns
operand
Note
: btstack_type 1
static uint8_t avrcp_subevent_operation_get_operands_length ( const uint8_t *  event)
inlinestatic

Get field operands_length from event AVRCP_SUBEVENT_OPERATION.

Parameters
eventpacket
Returns
operands_length
Note
: btstack_type 1
static uint8_t avrcp_subevent_operation_get_operation_id ( const uint8_t *  event)
inlinestatic

Get field operation_id from event AVRCP_SUBEVENT_OPERATION.

Parameters
eventpacket
Returns
operation_id
Note
: btstack_type 1
static uint16_t avrcp_subevent_operation_start_get_avrcp_cid ( const uint8_t *  event)
inlinestatic

Get field avrcp_cid from event AVRCP_SUBEVENT_OPERATION_START.

Parameters
eventpacket
Returns
avrcp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avrcp_subevent_operation_start_get_command_type ( const uint8_t *  event)
inlinestatic

Get field command_type from event AVRCP_SUBEVENT_OPERATION_START.

Parameters
eventpacket
Returns
command_type
Note
: btstack_type 1
static uint8_t avrcp_subevent_operation_start_get_operation_id ( const uint8_t *  event)
inlinestatic

Get field operation_id from event AVRCP_SUBEVENT_OPERATION_START.

Parameters
eventpacket
Returns
operation_id
Note
: btstack_type 1
static uint16_t avrcp_subevent_play_status_get_avrcp_cid ( const uint8_t *  event)
inlinestatic

Get field avrcp_cid from event AVRCP_SUBEVENT_PLAY_STATUS.

Parameters
eventpacket
Returns
avrcp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avrcp_subevent_play_status_get_command_type ( const uint8_t *  event)
inlinestatic

Get field command_type from event AVRCP_SUBEVENT_PLAY_STATUS.

Parameters
eventpacket
Returns
command_type
Note
: btstack_type 1
static uint8_t avrcp_subevent_play_status_get_play_status ( const uint8_t *  event)
inlinestatic

Get field play_status from event AVRCP_SUBEVENT_PLAY_STATUS.

Parameters
eventpacket
Returns
play_status
Note
: btstack_type 1
static uint32_t avrcp_subevent_play_status_get_song_length ( const uint8_t *  event)
inlinestatic

Get field song_length from event AVRCP_SUBEVENT_PLAY_STATUS.

Parameters
eventpacket
Returns
song_length
Note
: btstack_type 4

References little_endian_read_32().

static uint32_t avrcp_subevent_play_status_get_song_position ( const uint8_t *  event)
inlinestatic

Get field song_position from event AVRCP_SUBEVENT_PLAY_STATUS.

Parameters
eventpacket
Returns
song_position
Note
: btstack_type 4

References little_endian_read_32().

static uint16_t avrcp_subevent_play_status_query_get_avrcp_cid ( const uint8_t *  event)
inlinestatic

Get field avrcp_cid from event AVRCP_SUBEVENT_PLAY_STATUS_QUERY.

Parameters
eventpacket
Returns
avrcp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t avrcp_subevent_player_application_value_response_get_avrcp_cid ( const uint8_t *  event)
inlinestatic

Get field avrcp_cid from event AVRCP_SUBEVENT_PLAYER_APPLICATION_VALUE_RESPONSE.

Parameters
eventpacket
Returns
avrcp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avrcp_subevent_player_application_value_response_get_command_type ( const uint8_t *  event)
inlinestatic

Get field command_type from event AVRCP_SUBEVENT_PLAYER_APPLICATION_VALUE_RESPONSE.

Parameters
eventpacket
Returns
command_type
Note
: btstack_type 1
static uint8_t avrcp_subevent_set_absolute_volume_response_get_absolute_volume ( const uint8_t *  event)
inlinestatic

Get field absolute_volume from event AVRCP_SUBEVENT_SET_ABSOLUTE_VOLUME_RESPONSE.

Parameters
eventpacket
Returns
absolute_volume
Note
: btstack_type 1
static uint16_t avrcp_subevent_set_absolute_volume_response_get_avrcp_cid ( const uint8_t *  event)
inlinestatic

Get field avrcp_cid from event AVRCP_SUBEVENT_SET_ABSOLUTE_VOLUME_RESPONSE.

Parameters
eventpacket
Returns
avrcp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avrcp_subevent_set_absolute_volume_response_get_command_type ( const uint8_t *  event)
inlinestatic

Get field command_type from event AVRCP_SUBEVENT_SET_ABSOLUTE_VOLUME_RESPONSE.

Parameters
eventpacket
Returns
command_type
Note
: btstack_type 1
static uint16_t avrcp_subevent_shuffle_and_repeat_mode_get_avrcp_cid ( const uint8_t *  event)
inlinestatic

Get field avrcp_cid from event AVRCP_SUBEVENT_SHUFFLE_AND_REPEAT_MODE.

Parameters
eventpacket
Returns
avrcp_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t avrcp_subevent_shuffle_and_repeat_mode_get_command_type ( const uint8_t *  event)
inlinestatic

Get field command_type from event AVRCP_SUBEVENT_SHUFFLE_AND_REPEAT_MODE.

Parameters
eventpacket
Returns
command_type
Note
: btstack_type 1
static uint8_t avrcp_subevent_shuffle_and_repeat_mode_get_repeat_mode ( const uint8_t *  event)
inlinestatic

Get field repeat_mode from event AVRCP_SUBEVENT_SHUFFLE_AND_REPEAT_MODE.

Parameters
eventpacket
Returns
repeat_mode
Note
: btstack_type 1
static uint8_t avrcp_subevent_shuffle_and_repeat_mode_get_shuffle_mode ( const uint8_t *  event)
inlinestatic

Get field shuffle_mode from event AVRCP_SUBEVENT_SHUFFLE_AND_REPEAT_MODE.

Parameters
eventpacket
Returns
shuffle_mode
Note
: btstack_type 1
static uint16_t bnep_event_can_send_now_get_bnep_cid ( const uint8_t *  event)
inlinestatic

Get field bnep_cid from event BNEP_EVENT_CAN_SEND_NOW.

Parameters
eventpacket
Returns
bnep_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t bnep_event_can_send_now_get_destination_uuid ( const uint8_t *  event)
inlinestatic

Get field destination_uuid from event BNEP_EVENT_CAN_SEND_NOW.

Parameters
eventpacket
Returns
destination_uuid
Note
: btstack_type 2

References little_endian_read_16().

static void bnep_event_can_send_now_get_remote_address ( const uint8_t *  event,
bd_addr_t  remote_address 
)
inlinestatic

Get field remote_address from event BNEP_EVENT_CAN_SEND_NOW.

Parameters
eventpacket
Pointerto storage for remote_address
Note
: btstack_type B

References reverse_bd_addr().

static uint16_t bnep_event_can_send_now_get_source_uuid ( const uint8_t *  event)
inlinestatic

Get field source_uuid from event BNEP_EVENT_CAN_SEND_NOW.

Parameters
eventpacket
Returns
source_uuid
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t bnep_event_channel_closed_get_bnep_cid ( const uint8_t *  event)
inlinestatic

Get field bnep_cid from event BNEP_EVENT_CHANNEL_CLOSED.

Parameters
eventpacket
Returns
bnep_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t bnep_event_channel_closed_get_destination_uuid ( const uint8_t *  event)
inlinestatic

Get field destination_uuid from event BNEP_EVENT_CHANNEL_CLOSED.

Parameters
eventpacket
Returns
destination_uuid
Note
: btstack_type 2

References little_endian_read_16().

static void bnep_event_channel_closed_get_remote_address ( const uint8_t *  event,
bd_addr_t  remote_address 
)
inlinestatic

Get field remote_address from event BNEP_EVENT_CHANNEL_CLOSED.

Parameters
eventpacket
Pointerto storage for remote_address
Note
: btstack_type B

References reverse_bd_addr().

static uint16_t bnep_event_channel_closed_get_source_uuid ( const uint8_t *  event)
inlinestatic

Get field source_uuid from event BNEP_EVENT_CHANNEL_CLOSED.

Parameters
eventpacket
Returns
source_uuid
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t bnep_event_channel_opened_get_bnep_cid ( const uint8_t *  event)
inlinestatic

Get field bnep_cid from event BNEP_EVENT_CHANNEL_OPENED.

Parameters
eventpacket
Returns
bnep_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t bnep_event_channel_opened_get_destination_uuid ( const uint8_t *  event)
inlinestatic

Get field destination_uuid from event BNEP_EVENT_CHANNEL_OPENED.

Parameters
eventpacket
Returns
destination_uuid
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t bnep_event_channel_opened_get_mtu ( const uint8_t *  event)
inlinestatic

Get field mtu from event BNEP_EVENT_CHANNEL_OPENED.

Parameters
eventpacket
Returns
mtu
Note
: btstack_type 2

References little_endian_read_16().

static void bnep_event_channel_opened_get_remote_address ( const uint8_t *  event,
bd_addr_t  remote_address 
)
inlinestatic

Get field remote_address from event BNEP_EVENT_CHANNEL_OPENED.

Parameters
eventpacket
Pointerto storage for remote_address
Note
: btstack_type B

References reverse_bd_addr().

static uint16_t bnep_event_channel_opened_get_source_uuid ( const uint8_t *  event)
inlinestatic

Get field source_uuid from event BNEP_EVENT_CHANNEL_OPENED.

Parameters
eventpacket
Returns
source_uuid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t bnep_event_channel_opened_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event BNEP_EVENT_CHANNEL_OPENED.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static uint16_t bnep_event_channel_timeout_get_bnep_cid ( const uint8_t *  event)
inlinestatic

Get field bnep_cid from event BNEP_EVENT_CHANNEL_TIMEOUT.

Parameters
eventpacket
Returns
bnep_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t bnep_event_channel_timeout_get_channel_state ( const uint8_t *  event)
inlinestatic

Get field channel_state from event BNEP_EVENT_CHANNEL_TIMEOUT.

Parameters
eventpacket
Returns
channel_state
Note
: btstack_type 1
static uint16_t bnep_event_channel_timeout_get_destination_uuid ( const uint8_t *  event)
inlinestatic

Get field destination_uuid from event BNEP_EVENT_CHANNEL_TIMEOUT.

Parameters
eventpacket
Returns
destination_uuid
Note
: btstack_type 2

References little_endian_read_16().

static void bnep_event_channel_timeout_get_remote_address ( const uint8_t *  event,
bd_addr_t  remote_address 
)
inlinestatic

Get field remote_address from event BNEP_EVENT_CHANNEL_TIMEOUT.

Parameters
eventpacket
Pointerto storage for remote_address
Note
: btstack_type B

References reverse_bd_addr().

static uint16_t bnep_event_channel_timeout_get_source_uuid ( const uint8_t *  event)
inlinestatic

Get field source_uuid from event BNEP_EVENT_CHANNEL_TIMEOUT.

Parameters
eventpacket
Returns
source_uuid
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t bnep_event_service_registered_get_service_uuid ( const uint8_t *  event)
inlinestatic

Get field service_uuid from event BNEP_EVENT_SERVICE_REGISTERED.

Parameters
eventpacket
Returns
service_uuid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t bnep_event_service_registered_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event BNEP_EVENT_SERVICE_REGISTERED.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static uint8_t btstack_event_discoverable_enabled_get_discoverable ( const uint8_t *  event)
inlinestatic

Get field discoverable from event BTSTACK_EVENT_DISCOVERABLE_ENABLED.

Parameters
eventpacket
Returns
discoverable
Note
: btstack_type 1
static uint8_t btstack_event_nr_connections_changed_get_number_connections ( const uint8_t *  event)
inlinestatic

Get field number_connections from event BTSTACK_EVENT_NR_CONNECTIONS_CHANGED.

Parameters
eventpacket
Returns
number_connections
Note
: btstack_type 1
static uint8_t btstack_event_state_get_state ( const uint8_t *  event)
inlinestatic

Get field state from event BTSTACK_EVENT_STATE.

Parameters
eventpacket
Returns
state
Note
: btstack_type 1

Referenced by sm_event_packet_handler().

static void gap_event_advertising_report_get_address ( const uint8_t *  event,
bd_addr_t  address 
)
inlinestatic

Get field address from event GAP_EVENT_ADVERTISING_REPORT.

Parameters
eventpacket
Pointerto storage for address
Note
: btstack_type B

References reverse_bd_addr().

static uint8_t gap_event_advertising_report_get_address_type ( const uint8_t *  event)
inlinestatic

Get field address_type from event GAP_EVENT_ADVERTISING_REPORT.

Parameters
eventpacket
Returns
address_type
Note
: btstack_type 1
static uint8_t gap_event_advertising_report_get_advertising_event_type ( const uint8_t *  event)
inlinestatic

Get field advertising_event_type from event GAP_EVENT_ADVERTISING_REPORT.

Parameters
eventpacket
Returns
advertising_event_type
Note
: btstack_type 1
static const uint8_t* gap_event_advertising_report_get_data ( const uint8_t *  event)
inlinestatic

Get field data from event GAP_EVENT_ADVERTISING_REPORT.

Parameters
eventpacket
Returns
data
Note
: btstack_type V
static int gap_event_advertising_report_get_data_length ( const uint8_t *  event)
inlinestatic

Get field data_length from event GAP_EVENT_ADVERTISING_REPORT.

Parameters
eventpacket
Returns
data_length
Note
: btstack_type J
static uint8_t gap_event_advertising_report_get_rssi ( const uint8_t *  event)
inlinestatic

Get field rssi from event GAP_EVENT_ADVERTISING_REPORT.

Parameters
eventpacket
Returns
rssi
Note
: btstack_type 1
static void gap_event_dedicated_bonding_completed_get_address ( const uint8_t *  event,
bd_addr_t  address 
)
inlinestatic

Get field address from event GAP_EVENT_DEDICATED_BONDING_COMPLETED.

Parameters
eventpacket
Pointerto storage for address
Note
: btstack_type B

References reverse_bd_addr().

static uint8_t gap_event_dedicated_bonding_completed_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event GAP_EVENT_DEDICATED_BONDING_COMPLETED.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static uint8_t gap_event_inquiry_complete_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event GAP_EVENT_INQUIRY_COMPLETE.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static void gap_event_inquiry_result_get_bd_addr ( const uint8_t *  event,
bd_addr_t  bd_addr 
)
inlinestatic

Get field bd_addr from event GAP_EVENT_INQUIRY_RESULT.

Parameters
eventpacket
Pointerto storage for bd_addr
Note
: btstack_type B

References reverse_bd_addr().

static uint32_t gap_event_inquiry_result_get_class_of_device ( const uint8_t *  event)
inlinestatic

Get field class_of_device from event GAP_EVENT_INQUIRY_RESULT.

Parameters
eventpacket
Returns
class_of_device
Note
: btstack_type 3

References little_endian_read_24().

static uint16_t gap_event_inquiry_result_get_clock_offset ( const uint8_t *  event)
inlinestatic

Get field clock_offset from event GAP_EVENT_INQUIRY_RESULT.

Parameters
eventpacket
Returns
clock_offset
Note
: btstack_type 2

References little_endian_read_16().

static const uint8_t* gap_event_inquiry_result_get_name ( const uint8_t *  event)
inlinestatic

Get field name from event GAP_EVENT_INQUIRY_RESULT.

Parameters
eventpacket
Returns
name
Note
: btstack_type V
static uint8_t gap_event_inquiry_result_get_name_available ( const uint8_t *  event)
inlinestatic

Get field name_available from event GAP_EVENT_INQUIRY_RESULT.

Parameters
eventpacket
Returns
name_available
Note
: btstack_type 1
static int gap_event_inquiry_result_get_name_len ( const uint8_t *  event)
inlinestatic

Get field name_len from event GAP_EVENT_INQUIRY_RESULT.

Parameters
eventpacket
Returns
name_len
Note
: btstack_type J
static uint8_t gap_event_inquiry_result_get_page_scan_repetition_mode ( const uint8_t *  event)
inlinestatic

Get field page_scan_repetition_mode from event GAP_EVENT_INQUIRY_RESULT.

Parameters
eventpacket
Returns
page_scan_repetition_mode
Note
: btstack_type 1
static uint8_t gap_event_inquiry_result_get_rssi ( const uint8_t *  event)
inlinestatic

Get field rssi from event GAP_EVENT_INQUIRY_RESULT.

Parameters
eventpacket
Returns
rssi
Note
: btstack_type 1
static uint8_t gap_event_inquiry_result_get_rssi_available ( const uint8_t *  event)
inlinestatic

Get field rssi_available from event GAP_EVENT_INQUIRY_RESULT.

Parameters
eventpacket
Returns
rssi_available
Note
: btstack_type 1
static hci_con_handle_t gap_event_security_level_get_handle ( const uint8_t *  event)
inlinestatic

Get field handle from event GAP_EVENT_SECURITY_LEVEL.

Parameters
eventpacket
Returns
handle
Note
: btstack_type H

References little_endian_read_16().

static uint8_t gap_event_security_level_get_security_level ( const uint8_t *  event)
inlinestatic

Get field security_level from event GAP_EVENT_SECURITY_LEVEL.

Parameters
eventpacket
Returns
security_level
Note
: btstack_type 1
static uint16_t goep_subevent_can_send_now_get_goep_cid ( const uint8_t *  event)
inlinestatic

Get field goep_cid from event GOEP_SUBEVENT_CAN_SEND_NOW.

Parameters
eventpacket
Returns
goep_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t goep_subevent_connection_closed_get_goep_cid ( const uint8_t *  event)
inlinestatic

Get field goep_cid from event GOEP_SUBEVENT_CONNECTION_CLOSED.

Parameters
eventpacket
Returns
goep_cid
Note
: btstack_type 2

References little_endian_read_16().

static void goep_subevent_connection_opened_get_bd_addr ( const uint8_t *  event,
bd_addr_t  bd_addr 
)
inlinestatic

Get field bd_addr from event GOEP_SUBEVENT_CONNECTION_OPENED.

Parameters
eventpacket
Pointerto storage for bd_addr
Note
: btstack_type B

References reverse_bd_addr().

static hci_con_handle_t goep_subevent_connection_opened_get_con_handle ( const uint8_t *  event)
inlinestatic

Get field con_handle from event GOEP_SUBEVENT_CONNECTION_OPENED.

Parameters
eventpacket
Returns
con_handle
Note
: btstack_type H

References little_endian_read_16().

static uint16_t goep_subevent_connection_opened_get_goep_cid ( const uint8_t *  event)
inlinestatic

Get field goep_cid from event GOEP_SUBEVENT_CONNECTION_OPENED.

Parameters
eventpacket
Returns
goep_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t goep_subevent_connection_opened_get_incoming ( const uint8_t *  event)
inlinestatic

Get field incoming from event GOEP_SUBEVENT_CONNECTION_OPENED.

Parameters
eventpacket
Returns
incoming
Note
: btstack_type 1
static uint8_t goep_subevent_connection_opened_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event GOEP_SUBEVENT_CONNECTION_OPENED.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static uint8_t hci_event_a2dp_meta_get_subevent_code ( const uint8_t *  event)
inlinestatic
static uint8_t hci_event_ancs_meta_get_subevent_code ( const uint8_t *  event)
inlinestatic
static uint16_t hci_event_authentication_complete_event_get_connection_handle ( const uint8_t *  event)
inlinestatic

Get field connection_handle from event HCI_EVENT_AUTHENTICATION_COMPLETE_EVENT.

Parameters
eventpacket
Returns
connection_handle
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t hci_event_authentication_complete_event_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HCI_EVENT_AUTHENTICATION_COMPLETE_EVENT.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static uint8_t hci_event_avdtp_meta_get_subevent_code ( const uint8_t *  event)
inlinestatic
static uint8_t hci_event_avrcp_meta_get_subevent_code ( const uint8_t *  event)
inlinestatic
static uint16_t hci_event_change_connection_link_key_complete_get_connection_handle ( const uint8_t *  event)
inlinestatic

Get field connection_handle from event HCI_EVENT_CHANGE_CONNECTION_LINK_KEY_COMPLETE.

Parameters
eventpacket
Returns
connection_handle
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t hci_event_change_connection_link_key_complete_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HCI_EVENT_CHANGE_CONNECTION_LINK_KEY_COMPLETE.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static uint16_t hci_event_command_complete_get_command_opcode ( const uint8_t *  event)
inlinestatic

Get field command_opcode from event HCI_EVENT_COMMAND_COMPLETE.

Parameters
eventpacket
Returns
command_opcode
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t hci_event_command_complete_get_num_hci_command_packets ( const uint8_t *  event)
inlinestatic

Get field num_hci_command_packets from event HCI_EVENT_COMMAND_COMPLETE.

Parameters
eventpacket
Returns
num_hci_command_packets
Note
: btstack_type 1
static const uint8_t* hci_event_command_complete_get_return_parameters ( const uint8_t *  event)
inlinestatic

Get field return_parameters from event HCI_EVENT_COMMAND_COMPLETE.

Parameters
eventpacket
Returns
return_parameters
Note
: btstack_type R
static uint16_t hci_event_command_status_get_command_opcode ( const uint8_t *  event)
inlinestatic

Get field command_opcode from event HCI_EVENT_COMMAND_STATUS.

Parameters
eventpacket
Returns
command_opcode
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t hci_event_command_status_get_num_hci_command_packets ( const uint8_t *  event)
inlinestatic

Get field num_hci_command_packets from event HCI_EVENT_COMMAND_STATUS.

Parameters
eventpacket
Returns
num_hci_command_packets
Note
: btstack_type 1
static uint8_t hci_event_command_status_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HCI_EVENT_COMMAND_STATUS.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static void hci_event_connection_complete_get_bd_addr ( const uint8_t *  event,
bd_addr_t  bd_addr 
)
inlinestatic

Get field bd_addr from event HCI_EVENT_CONNECTION_COMPLETE.

Parameters
eventpacket
Pointerto storage for bd_addr
Note
: btstack_type B

References reverse_bd_addr().

static uint16_t hci_event_connection_complete_get_connection_handle ( const uint8_t *  event)
inlinestatic

Get field connection_handle from event HCI_EVENT_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
connection_handle
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t hci_event_connection_complete_get_encryption_enabled ( const uint8_t *  event)
inlinestatic

Get field encryption_enabled from event HCI_EVENT_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
encryption_enabled
Note
: btstack_type 1
static uint8_t hci_event_connection_complete_get_link_type ( const uint8_t *  event)
inlinestatic

Get field link_type from event HCI_EVENT_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
link_type
Note
: btstack_type 1
static uint8_t hci_event_connection_complete_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HCI_EVENT_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static hci_con_handle_t hci_event_connection_packet_type_changed_get_handle ( const uint8_t *  event)
inlinestatic

Get field handle from event HCI_EVENT_CONNECTION_PACKET_TYPE_CHANGED.

Parameters
eventpacket
Returns
handle
Note
: btstack_type H

References little_endian_read_16().

static uint16_t hci_event_connection_packet_type_changed_get_packet_types ( const uint8_t *  event)
inlinestatic

Get field packet_types from event HCI_EVENT_CONNECTION_PACKET_TYPE_CHANGED.

Parameters
eventpacket
Returns
packet_types
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t hci_event_connection_packet_type_changed_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HCI_EVENT_CONNECTION_PACKET_TYPE_CHANGED.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static void hci_event_connection_request_get_bd_addr ( const uint8_t *  event,
bd_addr_t  bd_addr 
)
inlinestatic

Get field bd_addr from event HCI_EVENT_CONNECTION_REQUEST.

Parameters
eventpacket
Pointerto storage for bd_addr
Note
: btstack_type B

References reverse_bd_addr().

static uint32_t hci_event_connection_request_get_class_of_device ( const uint8_t *  event)
inlinestatic

Get field class_of_device from event HCI_EVENT_CONNECTION_REQUEST.

Parameters
eventpacket
Returns
class_of_device
Note
: btstack_type 3

References little_endian_read_24().

static uint8_t hci_event_connection_request_get_link_type ( const uint8_t *  event)
inlinestatic

Get field link_type from event HCI_EVENT_CONNECTION_REQUEST.

Parameters
eventpacket
Returns
link_type
Note
: btstack_type 1
static uint8_t hci_event_data_buffer_overflow_get_link_type ( const uint8_t *  event)
inlinestatic

Get field link_type from event HCI_EVENT_DATA_BUFFER_OVERFLOW.

Parameters
eventpacket
Returns
link_type
Note
: btstack_type 1
static uint16_t hci_event_disconnection_complete_get_connection_handle ( const uint8_t *  event)
inlinestatic

Get field connection_handle from event HCI_EVENT_DISCONNECTION_COMPLETE.

Parameters
eventpacket
Returns
connection_handle
Note
: btstack_type 2

References little_endian_read_16().

Referenced by att_event_packet_handler(), and handle_hci_event().

static uint8_t hci_event_disconnection_complete_get_reason ( const uint8_t *  event)
inlinestatic

Get field reason from event HCI_EVENT_DISCONNECTION_COMPLETE.

Parameters
eventpacket
Returns
reason
Note
: btstack_type 1
static uint8_t hci_event_disconnection_complete_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HCI_EVENT_DISCONNECTION_COMPLETE.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static uint16_t hci_event_encryption_change_get_connection_handle ( const uint8_t *  event)
inlinestatic

Get field connection_handle from event HCI_EVENT_ENCRYPTION_CHANGE.

Parameters
eventpacket
Returns
connection_handle
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t hci_event_encryption_change_get_encryption_enabled ( const uint8_t *  event)
inlinestatic

Get field encryption_enabled from event HCI_EVENT_ENCRYPTION_CHANGE.

Parameters
eventpacket
Returns
encryption_enabled
Note
: btstack_type 1
static uint8_t hci_event_encryption_change_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HCI_EVENT_ENCRYPTION_CHANGE.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static hci_con_handle_t hci_event_encryption_key_refresh_complete_get_handle ( const uint8_t *  event)
inlinestatic

Get field handle from event HCI_EVENT_ENCRYPTION_KEY_REFRESH_COMPLETE.

Parameters
eventpacket
Returns
handle
Note
: btstack_type H

References little_endian_read_16().

static uint8_t hci_event_encryption_key_refresh_complete_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HCI_EVENT_ENCRYPTION_KEY_REFRESH_COMPLETE.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static void hci_event_extended_inquiry_response_get_bd_addr ( const uint8_t *  event,
bd_addr_t  bd_addr 
)
inlinestatic

Get field bd_addr from event HCI_EVENT_EXTENDED_INQUIRY_RESPONSE.

Parameters
eventpacket
Pointerto storage for bd_addr
Note
: btstack_type B

References reverse_bd_addr().

static uint32_t hci_event_extended_inquiry_response_get_class_of_device ( const uint8_t *  event)
inlinestatic

Get field class_of_device from event HCI_EVENT_EXTENDED_INQUIRY_RESPONSE.

Parameters
eventpacket
Returns
class_of_device
Note
: btstack_type 3

References little_endian_read_24().

static uint16_t hci_event_extended_inquiry_response_get_clock_offset ( const uint8_t *  event)
inlinestatic

Get field clock_offset from event HCI_EVENT_EXTENDED_INQUIRY_RESPONSE.

Parameters
eventpacket
Returns
clock_offset
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t hci_event_extended_inquiry_response_get_num_responses ( const uint8_t *  event)
inlinestatic

Get field num_responses from event HCI_EVENT_EXTENDED_INQUIRY_RESPONSE.

Parameters
eventpacket
Returns
num_responses
Note
: btstack_type 1
static uint8_t hci_event_extended_inquiry_response_get_page_scan_repetition_mode ( const uint8_t *  event)
inlinestatic

Get field page_scan_repetition_mode from event HCI_EVENT_EXTENDED_INQUIRY_RESPONSE.

Parameters
eventpacket
Returns
page_scan_repetition_mode
Note
: btstack_type 1
static uint8_t hci_event_extended_inquiry_response_get_reserved ( const uint8_t *  event)
inlinestatic

Get field reserved from event HCI_EVENT_EXTENDED_INQUIRY_RESPONSE.

Parameters
eventpacket
Returns
reserved
Note
: btstack_type 1
static uint8_t hci_event_extended_inquiry_response_get_rssi ( const uint8_t *  event)
inlinestatic

Get field rssi from event HCI_EVENT_EXTENDED_INQUIRY_RESPONSE.

Parameters
eventpacket
Returns
rssi
Note
: btstack_type 1
static uint8_t hci_event_goep_meta_get_subevent_code ( const uint8_t *  event)
inlinestatic
static uint8_t hci_event_hardware_error_get_hardware_code ( const uint8_t *  event)
inlinestatic

Get field hardware_code from event HCI_EVENT_HARDWARE_ERROR.

Parameters
eventpacket
Returns
hardware_code
Note
: btstack_type 1
static uint8_t hci_event_hfp_meta_get_subevent_code ( const uint8_t *  event)
inlinestatic
static uint8_t hci_event_hid_meta_get_subevent_code ( const uint8_t *  event)
inlinestatic
static uint8_t hci_event_hids_meta_get_subevent_code ( const uint8_t *  event)
inlinestatic
static uint8_t hci_event_hsp_meta_get_subevent_code ( const uint8_t *  event)
inlinestatic
static uint8_t hci_event_inquiry_complete_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HCI_EVENT_INQUIRY_COMPLETE.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static void hci_event_inquiry_result_get_bd_addr ( const uint8_t *  event,
bd_addr_t  bd_addr 
)
inlinestatic

Get field bd_addr from event HCI_EVENT_INQUIRY_RESULT.

Parameters
eventpacket
Pointerto storage for bd_addr
Note
: btstack_type B

References reverse_bd_addr().

static uint32_t hci_event_inquiry_result_get_class_of_device ( const uint8_t *  event)
inlinestatic

Get field class_of_device from event HCI_EVENT_INQUIRY_RESULT.

Parameters
eventpacket
Returns
class_of_device
Note
: btstack_type 3

References little_endian_read_24().

static uint16_t hci_event_inquiry_result_get_clock_offset ( const uint8_t *  event)
inlinestatic

Get field clock_offset from event HCI_EVENT_INQUIRY_RESULT.

Parameters
eventpacket
Returns
clock_offset
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t hci_event_inquiry_result_get_num_responses ( const uint8_t *  event)
inlinestatic

Get field num_responses from event HCI_EVENT_INQUIRY_RESULT.

Parameters
eventpacket
Returns
num_responses
Note
: btstack_type 1
static uint8_t hci_event_inquiry_result_get_page_scan_repetition_mode ( const uint8_t *  event)
inlinestatic

Get field page_scan_repetition_mode from event HCI_EVENT_INQUIRY_RESULT.

Parameters
eventpacket
Returns
page_scan_repetition_mode
Note
: btstack_type 1
static uint8_t hci_event_inquiry_result_get_reserved1 ( const uint8_t *  event)
inlinestatic

Get field reserved1 from event HCI_EVENT_INQUIRY_RESULT.

Parameters
eventpacket
Returns
reserved1
Note
: btstack_type 1
static uint8_t hci_event_inquiry_result_get_reserved2 ( const uint8_t *  event)
inlinestatic

Get field reserved2 from event HCI_EVENT_INQUIRY_RESULT.

Parameters
eventpacket
Returns
reserved2
Note
: btstack_type 1
static void hci_event_inquiry_result_with_rssi_get_bd_addr ( const uint8_t *  event,
bd_addr_t  bd_addr 
)
inlinestatic

Get field bd_addr from event HCI_EVENT_INQUIRY_RESULT_WITH_RSSI.

Parameters
eventpacket
Pointerto storage for bd_addr
Note
: btstack_type B

References reverse_bd_addr().

static uint32_t hci_event_inquiry_result_with_rssi_get_class_of_device ( const uint8_t *  event)
inlinestatic

Get field class_of_device from event HCI_EVENT_INQUIRY_RESULT_WITH_RSSI.

Parameters
eventpacket
Returns
class_of_device
Note
: btstack_type 3

References little_endian_read_24().

static uint16_t hci_event_inquiry_result_with_rssi_get_clock_offset ( const uint8_t *  event)
inlinestatic

Get field clock_offset from event HCI_EVENT_INQUIRY_RESULT_WITH_RSSI.

Parameters
eventpacket
Returns
clock_offset
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t hci_event_inquiry_result_with_rssi_get_num_responses ( const uint8_t *  event)
inlinestatic

Get field num_responses from event HCI_EVENT_INQUIRY_RESULT_WITH_RSSI.

Parameters
eventpacket
Returns
num_responses
Note
: btstack_type 1
static uint8_t hci_event_inquiry_result_with_rssi_get_page_scan_repetition_mode ( const uint8_t *  event)
inlinestatic

Get field page_scan_repetition_mode from event HCI_EVENT_INQUIRY_RESULT_WITH_RSSI.

Parameters
eventpacket
Returns
page_scan_repetition_mode
Note
: btstack_type 1
static uint8_t hci_event_inquiry_result_with_rssi_get_reserved ( const uint8_t *  event)
inlinestatic

Get field reserved from event HCI_EVENT_INQUIRY_RESULT_WITH_RSSI.

Parameters
eventpacket
Returns
reserved
Note
: btstack_type 1
static uint8_t hci_event_inquiry_result_with_rssi_get_rssi ( const uint8_t *  event)
inlinestatic

Get field rssi from event HCI_EVENT_INQUIRY_RESULT_WITH_RSSI.

Parameters
eventpacket
Returns
rssi
Note
: btstack_type 1
static uint8_t hci_event_le_meta_get_subevent_code ( const uint8_t *  event)
inlinestatic

Referenced by packet_handler().

static void hci_event_link_key_request_get_bd_addr ( const uint8_t *  event,
bd_addr_t  bd_addr 
)
inlinestatic

Get field bd_addr from event HCI_EVENT_LINK_KEY_REQUEST.

Parameters
eventpacket
Pointerto storage for bd_addr
Note
: btstack_type B

References reverse_bd_addr().

static uint16_t hci_event_master_link_key_complete_get_connection_handle ( const uint8_t *  event)
inlinestatic

Get field connection_handle from event HCI_EVENT_MASTER_LINK_KEY_COMPLETE.

Parameters
eventpacket
Returns
connection_handle
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t hci_event_master_link_key_complete_get_key_flag ( const uint8_t *  event)
inlinestatic

Get field key_flag from event HCI_EVENT_MASTER_LINK_KEY_COMPLETE.

Parameters
eventpacket
Returns
key_flag
Note
: btstack_type 1
static uint8_t hci_event_master_link_key_complete_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HCI_EVENT_MASTER_LINK_KEY_COMPLETE.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static hci_con_handle_t hci_event_max_slots_changed_get_handle ( const uint8_t *  event)
inlinestatic

Get field handle from event HCI_EVENT_MAX_SLOTS_CHANGED.

Parameters
eventpacket
Returns
handle
Note
: btstack_type H

References little_endian_read_16().

static uint8_t hci_event_max_slots_changed_get_lmp_max_slots ( const uint8_t *  event)
inlinestatic

Get field lmp_max_slots from event HCI_EVENT_MAX_SLOTS_CHANGED.

Parameters
eventpacket
Returns
lmp_max_slots
Note
: btstack_type 1
static hci_con_handle_t hci_event_mode_change_event_get_handle ( const uint8_t *  event)
inlinestatic

Get field handle from event HCI_EVENT_MODE_CHANGE_EVENT.

Parameters
eventpacket
Returns
handle
Note
: btstack_type H

References little_endian_read_16().

static uint16_t hci_event_mode_change_event_get_interval ( const uint8_t *  event)
inlinestatic

Get field interval from event HCI_EVENT_MODE_CHANGE_EVENT.

Parameters
eventpacket
Returns
interval
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t hci_event_mode_change_event_get_mode ( const uint8_t *  event)
inlinestatic

Get field mode from event HCI_EVENT_MODE_CHANGE_EVENT.

Parameters
eventpacket
Returns
mode
Note
: btstack_type 1
static uint8_t hci_event_mode_change_event_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HCI_EVENT_MODE_CHANGE_EVENT.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static uint8_t hci_event_packet_get_type ( const uint8_t *  event)
inlinestatic
static uint8_t hci_event_pbap_meta_get_subevent_code ( const uint8_t *  event)
inlinestatic
static void hci_event_pin_code_request_get_bd_addr ( const uint8_t *  event,
bd_addr_t  bd_addr 
)
inlinestatic

Get field bd_addr from event HCI_EVENT_PIN_CODE_REQUEST.

Parameters
eventpacket
Pointerto storage for bd_addr
Note
: btstack_type B

References reverse_bd_addr().

Referenced by event_handler().

static uint16_t hci_event_read_clock_offset_complete_get_clock_offset ( const uint8_t *  event)
inlinestatic

Get field clock_offset from event HCI_EVENT_READ_CLOCK_OFFSET_COMPLETE.

Parameters
eventpacket
Returns
clock_offset
Note
: btstack_type 2

References little_endian_read_16().

static hci_con_handle_t hci_event_read_clock_offset_complete_get_handle ( const uint8_t *  event)
inlinestatic

Get field handle from event HCI_EVENT_READ_CLOCK_OFFSET_COMPLETE.

Parameters
eventpacket
Returns
handle
Note
: btstack_type H

References little_endian_read_16().

static uint8_t hci_event_read_clock_offset_complete_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HCI_EVENT_READ_CLOCK_OFFSET_COMPLETE.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static void hci_event_remote_name_request_complete_get_bd_addr ( const uint8_t *  event,
bd_addr_t  bd_addr 
)
inlinestatic

Get field bd_addr from event HCI_EVENT_REMOTE_NAME_REQUEST_COMPLETE.

Parameters
eventpacket
Pointerto storage for bd_addr
Note
: btstack_type B

References reverse_bd_addr().

static const char* hci_event_remote_name_request_complete_get_remote_name ( const uint8_t *  event)
inlinestatic

Get field remote_name from event HCI_EVENT_REMOTE_NAME_REQUEST_COMPLETE.

Parameters
eventpacket
Returns
remote_name
Note
: btstack_type N
static uint8_t hci_event_remote_name_request_complete_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HCI_EVENT_REMOTE_NAME_REQUEST_COMPLETE.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static void hci_event_remote_oob_data_request_get_bd_addr ( const uint8_t *  event,
bd_addr_t  bd_addr 
)
inlinestatic

Get field bd_addr from event HCI_EVENT_REMOTE_OOB_DATA_REQUEST.

Parameters
eventpacket
Pointerto storage for bd_addr
Note
: btstack_type B

References reverse_bd_addr().

static void hci_event_role_change_get_bd_addr ( const uint8_t *  event,
bd_addr_t  bd_addr 
)
inlinestatic

Get field bd_addr from event HCI_EVENT_ROLE_CHANGE.

Parameters
eventpacket
Pointerto storage for bd_addr
Note
: btstack_type B

References reverse_bd_addr().

static uint8_t hci_event_role_change_get_role ( const uint8_t *  event)
inlinestatic

Get field role from event HCI_EVENT_ROLE_CHANGE.

Parameters
eventpacket
Returns
role
Note
: btstack_type 1
static uint8_t hci_event_role_change_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HCI_EVENT_ROLE_CHANGE.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static void hci_event_sco_can_send_now_get_handle ( const uint8_t *  event,
bd_addr_t  handle 
)
inlinestatic

Get field handle from event HCI_EVENT_SCO_CAN_SEND_NOW.

Parameters
eventpacket
Pointerto storage for handle
Note
: btstack_type B

References reverse_bd_addr().

static void hci_event_simple_pairing_complete_get_bd_addr ( const uint8_t *  event,
bd_addr_t  bd_addr 
)
inlinestatic

Get field bd_addr from event HCI_EVENT_SIMPLE_PAIRING_COMPLETE.

Parameters
eventpacket
Pointerto storage for bd_addr
Note
: btstack_type B

References reverse_bd_addr().

static uint8_t hci_event_simple_pairing_complete_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HCI_EVENT_SIMPLE_PAIRING_COMPLETE.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static uint8_t hci_event_synchronous_connection_complete_get_air_mode ( const uint8_t *  event)
inlinestatic

Get field air_mode from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
air_mode
Note
: btstack_type 1
static void hci_event_synchronous_connection_complete_get_bd_addr ( const uint8_t *  event,
bd_addr_t  bd_addr 
)
inlinestatic

Get field bd_addr from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE.

Parameters
eventpacket
Pointerto storage for bd_addr
Note
: btstack_type B

References reverse_bd_addr().

static hci_con_handle_t hci_event_synchronous_connection_complete_get_handle ( const uint8_t *  event)
inlinestatic

Get field handle from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
handle
Note
: btstack_type H

References little_endian_read_16().

static uint8_t hci_event_synchronous_connection_complete_get_link_type ( const uint8_t *  event)
inlinestatic

Get field link_type from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
link_type
Note
: btstack_type 1
static uint8_t hci_event_synchronous_connection_complete_get_retransmission_interval ( const uint8_t *  event)
inlinestatic

Get field retransmission_interval from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
retransmission_interval
Note
: btstack_type 1
static uint16_t hci_event_synchronous_connection_complete_get_rx_packet_length ( const uint8_t *  event)
inlinestatic

Get field rx_packet_length from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
rx_packet_length
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t hci_event_synchronous_connection_complete_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static uint8_t hci_event_synchronous_connection_complete_get_transmission_interval ( const uint8_t *  event)
inlinestatic

Get field transmission_interval from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
transmission_interval
Note
: btstack_type 1
static uint16_t hci_event_synchronous_connection_complete_get_tx_packet_length ( const uint8_t *  event)
inlinestatic

Get field tx_packet_length from event HCI_EVENT_SYNCHRONOUS_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
tx_packet_length
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t hci_event_transport_sleep_mode_get_active ( const uint8_t *  event)
inlinestatic

Get field active from event HCI_EVENT_TRANSPORT_SLEEP_MODE.

Parameters
eventpacket
Returns
active
Note
: btstack_type 1
static void hci_event_user_confirmation_request_get_bd_addr ( const uint8_t *  event,
bd_addr_t  bd_addr 
)
inlinestatic

Get field bd_addr from event HCI_EVENT_USER_CONFIRMATION_REQUEST.

Parameters
eventpacket
Pointerto storage for bd_addr
Note
: btstack_type B

References reverse_bd_addr().

static uint32_t hci_event_user_confirmation_request_get_numeric_value ( const uint8_t *  event)
inlinestatic

Get field numeric_value from event HCI_EVENT_USER_CONFIRMATION_REQUEST.

Parameters
eventpacket
Returns
numeric_value
Note
: btstack_type 4

References little_endian_read_32().

static void hci_event_user_passkey_request_get_bd_addr ( const uint8_t *  event,
bd_addr_t  bd_addr 
)
inlinestatic

Get field bd_addr from event HCI_EVENT_USER_PASSKEY_REQUEST.

Parameters
eventpacket
Pointerto storage for bd_addr
Note
: btstack_type B

References reverse_bd_addr().

static uint16_t hci_subevent_le_connection_complete_get_conn_interval ( const uint8_t *  event)
inlinestatic

Get field conn_interval from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
conn_interval
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t hci_subevent_le_connection_complete_get_conn_latency ( const uint8_t *  event)
inlinestatic

Get field conn_latency from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
conn_latency
Note
: btstack_type 2

References little_endian_read_16().

static hci_con_handle_t hci_subevent_le_connection_complete_get_connection_handle ( const uint8_t *  event)
inlinestatic

Get field connection_handle from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
connection_handle
Note
: btstack_type H

References little_endian_read_16().

Referenced by packet_handler().

static uint8_t hci_subevent_le_connection_complete_get_master_clock_accuracy ( const uint8_t *  event)
inlinestatic

Get field master_clock_accuracy from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
master_clock_accuracy
Note
: btstack_type 1
static void hci_subevent_le_connection_complete_get_peer_address ( const uint8_t *  event,
bd_addr_t  peer_address 
)
inlinestatic

Get field peer_address from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE.

Parameters
eventpacket
Pointerto storage for peer_address
Note
: btstack_type B

References reverse_bd_addr().

static uint8_t hci_subevent_le_connection_complete_get_peer_address_type ( const uint8_t *  event)
inlinestatic

Get field peer_address_type from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
peer_address_type
Note
: btstack_type 1
static uint8_t hci_subevent_le_connection_complete_get_role ( const uint8_t *  event)
inlinestatic

Get field role from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
role
Note
: btstack_type 1

Referenced by packet_handler().

static uint8_t hci_subevent_le_connection_complete_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static uint16_t hci_subevent_le_connection_complete_get_supervision_timeout ( const uint8_t *  event)
inlinestatic

Get field supervision_timeout from event HCI_SUBEVENT_LE_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
supervision_timeout
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t hci_subevent_le_connection_update_complete_get_conn_interval ( const uint8_t *  event)
inlinestatic

Get field conn_interval from event HCI_SUBEVENT_LE_CONNECTION_UPDATE_COMPLETE.

Parameters
eventpacket
Returns
conn_interval
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t hci_subevent_le_connection_update_complete_get_conn_latency ( const uint8_t *  event)
inlinestatic

Get field conn_latency from event HCI_SUBEVENT_LE_CONNECTION_UPDATE_COMPLETE.

Parameters
eventpacket
Returns
conn_latency
Note
: btstack_type 2

References little_endian_read_16().

static hci_con_handle_t hci_subevent_le_connection_update_complete_get_connection_handle ( const uint8_t *  event)
inlinestatic

Get field connection_handle from event HCI_SUBEVENT_LE_CONNECTION_UPDATE_COMPLETE.

Parameters
eventpacket
Returns
connection_handle
Note
: btstack_type H

References little_endian_read_16().

static uint8_t hci_subevent_le_connection_update_complete_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HCI_SUBEVENT_LE_CONNECTION_UPDATE_COMPLETE.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static uint16_t hci_subevent_le_connection_update_complete_get_supervision_timeout ( const uint8_t *  event)
inlinestatic

Get field supervision_timeout from event HCI_SUBEVENT_LE_CONNECTION_UPDATE_COMPLETE.

Parameters
eventpacket
Returns
supervision_timeout
Note
: btstack_type 2

References little_endian_read_16().

static hci_con_handle_t hci_subevent_le_data_length_change_get_connection_handle ( const uint8_t *  event)
inlinestatic

Get field connection_handle from event HCI_SUBEVENT_LE_DATA_LENGTH_CHANGE.

Parameters
eventpacket
Returns
connection_handle
Note
: btstack_type H

References little_endian_read_16().

static uint16_t hci_subevent_le_data_length_change_get_max_rx_octets ( const uint8_t *  event)
inlinestatic

Get field max_rx_octets from event HCI_SUBEVENT_LE_DATA_LENGTH_CHANGE.

Parameters
eventpacket
Returns
max_rx_octets
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t hci_subevent_le_data_length_change_get_max_rx_time ( const uint8_t *  event)
inlinestatic

Get field max_rx_time from event HCI_SUBEVENT_LE_DATA_LENGTH_CHANGE.

Parameters
eventpacket
Returns
max_rx_time
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t hci_subevent_le_data_length_change_get_max_tx_octets ( const uint8_t *  event)
inlinestatic

Get field max_tx_octets from event HCI_SUBEVENT_LE_DATA_LENGTH_CHANGE.

Parameters
eventpacket
Returns
max_tx_octets
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t hci_subevent_le_data_length_change_get_max_tx_time ( const uint8_t *  event)
inlinestatic

Get field max_tx_time from event HCI_SUBEVENT_LE_DATA_LENGTH_CHANGE.

Parameters
eventpacket
Returns
max_tx_time
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t hci_subevent_le_enhanced_connection_complete_get_conn_interval ( const uint8_t *  event)
inlinestatic

Get field conn_interval from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
conn_interval
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t hci_subevent_le_enhanced_connection_complete_get_conn_latency ( const uint8_t *  event)
inlinestatic

Get field conn_latency from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
conn_latency
Note
: btstack_type 2

References little_endian_read_16().

static hci_con_handle_t hci_subevent_le_enhanced_connection_complete_get_connection_handle ( const uint8_t *  event)
inlinestatic

Get field connection_handle from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
connection_handle
Note
: btstack_type H

References little_endian_read_16().

static void hci_subevent_le_enhanced_connection_complete_get_local_resolvable_private_addres ( const uint8_t *  event,
bd_addr_t  local_resolvable_private_addres 
)
inlinestatic

Get field local_resolvable_private_addres from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE.

Parameters
eventpacket
Pointerto storage for local_resolvable_private_addres
Note
: btstack_type B

References reverse_bd_addr().

static uint8_t hci_subevent_le_enhanced_connection_complete_get_master_clock_accuracy ( const uint8_t *  event)
inlinestatic

Get field master_clock_accuracy from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
master_clock_accuracy
Note
: btstack_type 1
static uint8_t hci_subevent_le_enhanced_connection_complete_get_peer_address_type ( const uint8_t *  event)
inlinestatic

Get field peer_address_type from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
peer_address_type
Note
: btstack_type 1
static void hci_subevent_le_enhanced_connection_complete_get_peer_resolvable_private_addres ( const uint8_t *  event,
bd_addr_t  peer_resolvable_private_addres 
)
inlinestatic

Get field peer_resolvable_private_addres from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE.

Parameters
eventpacket
Pointerto storage for peer_resolvable_private_addres
Note
: btstack_type B

References reverse_bd_addr().

static void hci_subevent_le_enhanced_connection_complete_get_perr_addresss ( const uint8_t *  event,
bd_addr_t  perr_addresss 
)
inlinestatic

Get field perr_addresss from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE.

Parameters
eventpacket
Pointerto storage for perr_addresss
Note
: btstack_type B

References reverse_bd_addr().

static uint8_t hci_subevent_le_enhanced_connection_complete_get_role ( const uint8_t *  event)
inlinestatic

Get field role from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
role
Note
: btstack_type 1
static uint8_t hci_subevent_le_enhanced_connection_complete_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static uint16_t hci_subevent_le_enhanced_connection_complete_get_supervision_timeout ( const uint8_t *  event)
inlinestatic

Get field supervision_timeout from event HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
supervision_timeout
Note
: btstack_type 2

References little_endian_read_16().

static void hci_subevent_le_generate_dhkey_complete_get_dhkey ( const uint8_t *  event,
uint8_t *  dhkey 
)
inlinestatic

Get field dhkey from event HCI_SUBEVENT_LE_GENERATE_DHKEY_COMPLETE.

Parameters
eventpacket
Pointerto storage for dhkey
Note
: btstack_type Q

References reverse_bytes().

Referenced by sm_event_packet_handler().

static uint8_t hci_subevent_le_generate_dhkey_complete_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HCI_SUBEVENT_LE_GENERATE_DHKEY_COMPLETE.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1

Referenced by sm_event_packet_handler().

static hci_con_handle_t hci_subevent_le_long_term_key_request_get_connection_handle ( const uint8_t *  event)
inlinestatic

Get field connection_handle from event HCI_SUBEVENT_LE_LONG_TERM_KEY_REQUEST.

Parameters
eventpacket
Returns
connection_handle
Note
: btstack_type H

References little_endian_read_16().

static uint16_t hci_subevent_le_long_term_key_request_get_encryption_diversifier ( const uint8_t *  event)
inlinestatic

Get field encryption_diversifier from event HCI_SUBEVENT_LE_LONG_TERM_KEY_REQUEST.

Parameters
eventpacket
Returns
encryption_diversifier
Note
: btstack_type 2

References little_endian_read_16().

static const uint8_t* hci_subevent_le_long_term_key_request_get_random_number ( const uint8_t *  event)
inlinestatic

Get field random_number from event HCI_SUBEVENT_LE_LONG_TERM_KEY_REQUEST.

Parameters
eventpacket
Returns
random_number
Note
: btstack_type D
static void hci_subevent_le_read_local_p256_public_key_complete_get_dhkey_x ( const uint8_t *  event,
uint8_t *  dhkey_x 
)
inlinestatic

Get field dhkey_x from event HCI_SUBEVENT_LE_READ_LOCAL_P256_PUBLIC_KEY_COMPLETE.

Parameters
eventpacket
Pointerto storage for dhkey_x
Note
: btstack_type Q

References reverse_bytes().

Referenced by sm_event_packet_handler().

static void hci_subevent_le_read_local_p256_public_key_complete_get_dhkey_y ( const uint8_t *  event,
uint8_t *  dhkey_y 
)
inlinestatic

Get field dhkey_y from event HCI_SUBEVENT_LE_READ_LOCAL_P256_PUBLIC_KEY_COMPLETE.

Parameters
eventpacket
Pointerto storage for dhkey_y
Note
: btstack_type Q

References reverse_bytes().

Referenced by sm_event_packet_handler().

static uint8_t hci_subevent_le_read_local_p256_public_key_complete_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HCI_SUBEVENT_LE_READ_LOCAL_P256_PUBLIC_KEY_COMPLETE.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1

Referenced by sm_event_packet_handler().

static hci_con_handle_t hci_subevent_le_read_remote_used_features_complete_get_connection_handle ( const uint8_t *  event)
inlinestatic

Get field connection_handle from event HCI_SUBEVENT_LE_READ_REMOTE_USED_FEATURES_COMPLETE.

Parameters
eventpacket
Returns
connection_handle
Note
: btstack_type H

References little_endian_read_16().

static uint16_t hci_subevent_le_read_remote_used_features_complete_get_encryption_diversifier ( const uint8_t *  event)
inlinestatic

Get field encryption_diversifier from event HCI_SUBEVENT_LE_READ_REMOTE_USED_FEATURES_COMPLETE.

Parameters
eventpacket
Returns
encryption_diversifier
Note
: btstack_type 2

References little_endian_read_16().

static const uint8_t* hci_subevent_le_read_remote_used_features_complete_get_random_number ( const uint8_t *  event)
inlinestatic

Get field random_number from event HCI_SUBEVENT_LE_READ_REMOTE_USED_FEATURES_COMPLETE.

Parameters
eventpacket
Returns
random_number
Note
: btstack_type D
static hci_con_handle_t hci_subevent_le_remote_connection_parameter_request_get_connection_handle ( const uint8_t *  event)
inlinestatic

Get field connection_handle from event HCI_SUBEVENT_LE_REMOTE_CONNECTION_PARAMETER_REQUEST.

Parameters
eventpacket
Returns
connection_handle
Note
: btstack_type H

References little_endian_read_16().

static uint16_t hci_subevent_le_remote_connection_parameter_request_get_interval_max ( const uint8_t *  event)
inlinestatic

Get field interval_max from event HCI_SUBEVENT_LE_REMOTE_CONNECTION_PARAMETER_REQUEST.

Parameters
eventpacket
Returns
interval_max
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t hci_subevent_le_remote_connection_parameter_request_get_interval_min ( const uint8_t *  event)
inlinestatic

Get field interval_min from event HCI_SUBEVENT_LE_REMOTE_CONNECTION_PARAMETER_REQUEST.

Parameters
eventpacket
Returns
interval_min
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t hci_subevent_le_remote_connection_parameter_request_get_latency ( const uint8_t *  event)
inlinestatic

Get field latency from event HCI_SUBEVENT_LE_REMOTE_CONNECTION_PARAMETER_REQUEST.

Parameters
eventpacket
Returns
latency
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t hci_subevent_le_remote_connection_parameter_request_get_timeout ( const uint8_t *  event)
inlinestatic

Get field timeout from event HCI_SUBEVENT_LE_REMOTE_CONNECTION_PARAMETER_REQUEST.

Parameters
eventpacket
Returns
timeout
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t hfp_subevent_ag_indicator_status_changed_get_indicator_index ( const uint8_t *  event)
inlinestatic

Get field indicator_index from event HFP_SUBEVENT_AG_INDICATOR_STATUS_CHANGED.

Parameters
eventpacket
Returns
indicator_index
Note
: btstack_type 1
static const char* hfp_subevent_ag_indicator_status_changed_get_indicator_name ( const uint8_t *  event)
inlinestatic

Get field indicator_name from event HFP_SUBEVENT_AG_INDICATOR_STATUS_CHANGED.

Parameters
eventpacket
Returns
indicator_name
Note
: btstack_type T
static uint8_t hfp_subevent_ag_indicator_status_changed_get_indicator_status ( const uint8_t *  event)
inlinestatic

Get field indicator_status from event HFP_SUBEVENT_AG_INDICATOR_STATUS_CHANGED.

Parameters
eventpacket
Returns
indicator_status
Note
: btstack_type 1
static void hfp_subevent_audio_connection_established_get_bd_addr ( const uint8_t *  event,
bd_addr_t  bd_addr 
)
inlinestatic

Get field bd_addr from event HFP_SUBEVENT_AUDIO_CONNECTION_ESTABLISHED.

Parameters
eventpacket
Pointerto storage for bd_addr
Note
: btstack_type B

References reverse_bd_addr().

static hci_con_handle_t hfp_subevent_audio_connection_established_get_handle ( const uint8_t *  event)
inlinestatic

Get field handle from event HFP_SUBEVENT_AUDIO_CONNECTION_ESTABLISHED.

Parameters
eventpacket
Returns
handle
Note
: btstack_type H

References little_endian_read_16().

static uint8_t hfp_subevent_audio_connection_established_get_negotiated_codec ( const uint8_t *  event)
inlinestatic

Get field negotiated_codec from event HFP_SUBEVENT_AUDIO_CONNECTION_ESTABLISHED.

Parameters
eventpacket
Returns
negotiated_codec
Note
: btstack_type 1
static uint8_t hfp_subevent_audio_connection_established_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HFP_SUBEVENT_AUDIO_CONNECTION_ESTABLISHED.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static const char* hfp_subevent_call_waiting_notification_get_number ( const uint8_t *  event)
inlinestatic

Get field number from event HFP_SUBEVENT_CALL_WAITING_NOTIFICATION.

Parameters
eventpacket
Returns
number
Note
: btstack_type T
static uint8_t hfp_subevent_call_waiting_notification_get_type ( const uint8_t *  event)
inlinestatic

Get field type from event HFP_SUBEVENT_CALL_WAITING_NOTIFICATION.

Parameters
eventpacket
Returns
type
Note
: btstack_type 1
static const char* hfp_subevent_calling_line_identification_notification_get_number ( const uint8_t *  event)
inlinestatic

Get field number from event HFP_SUBEVENT_CALLING_LINE_IDENTIFICATION_NOTIFICATION.

Parameters
eventpacket
Returns
number
Note
: btstack_type T
static uint8_t hfp_subevent_calling_line_identification_notification_get_type ( const uint8_t *  event)
inlinestatic

Get field type from event HFP_SUBEVENT_CALLING_LINE_IDENTIFICATION_NOTIFICATION.

Parameters
eventpacket
Returns
type
Note
: btstack_type 1
static uint8_t hfp_subevent_complete_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HFP_SUBEVENT_COMPLETE.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static const char* hfp_subevent_enhanced_call_status_get_bnip_number ( const uint8_t *  event)
inlinestatic

Get field bnip_number from event HFP_SUBEVENT_ENHANCED_CALL_STATUS.

Parameters
eventpacket
Returns
bnip_number
Note
: btstack_type T
static uint8_t hfp_subevent_enhanced_call_status_get_bnip_type ( const uint8_t *  event)
inlinestatic

Get field bnip_type from event HFP_SUBEVENT_ENHANCED_CALL_STATUS.

Parameters
eventpacket
Returns
bnip_type
Note
: btstack_type 1
static uint8_t hfp_subevent_enhanced_call_status_get_clcc_dir ( const uint8_t *  event)
inlinestatic

Get field clcc_dir from event HFP_SUBEVENT_ENHANCED_CALL_STATUS.

Parameters
eventpacket
Returns
clcc_dir
Note
: btstack_type 1
static uint8_t hfp_subevent_enhanced_call_status_get_clcc_idx ( const uint8_t *  event)
inlinestatic

Get field clcc_idx from event HFP_SUBEVENT_ENHANCED_CALL_STATUS.

Parameters
eventpacket
Returns
clcc_idx
Note
: btstack_type 1
static uint8_t hfp_subevent_enhanced_call_status_get_clcc_mpty ( const uint8_t *  event)
inlinestatic

Get field clcc_mpty from event HFP_SUBEVENT_ENHANCED_CALL_STATUS.

Parameters
eventpacket
Returns
clcc_mpty
Note
: btstack_type 1
static uint8_t hfp_subevent_enhanced_call_status_get_clcc_status ( const uint8_t *  event)
inlinestatic

Get field clcc_status from event HFP_SUBEVENT_ENHANCED_CALL_STATUS.

Parameters
eventpacket
Returns
clcc_status
Note
: btstack_type 1
static uint8_t hfp_subevent_extended_audio_gateway_error_get_error ( const uint8_t *  event)
inlinestatic

Get field error from event HFP_SUBEVENT_EXTENDED_AUDIO_GATEWAY_ERROR.

Parameters
eventpacket
Returns
error
Note
: btstack_type 1
static uint8_t hfp_subevent_microphone_volume_get_gain ( const uint8_t *  event)
inlinestatic

Get field gain from event HFP_SUBEVENT_MICROPHONE_VOLUME.

Parameters
eventpacket
Returns
gain
Note
: btstack_type 1
static uint8_t hfp_subevent_microphone_volume_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HFP_SUBEVENT_MICROPHONE_VOLUME.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static uint8_t hfp_subevent_network_operator_changed_get_network_operator_format ( const uint8_t *  event)
inlinestatic

Get field network_operator_format from event HFP_SUBEVENT_NETWORK_OPERATOR_CHANGED.

Parameters
eventpacket
Returns
network_operator_format
Note
: btstack_type 1
static uint8_t hfp_subevent_network_operator_changed_get_network_operator_mode ( const uint8_t *  event)
inlinestatic

Get field network_operator_mode from event HFP_SUBEVENT_NETWORK_OPERATOR_CHANGED.

Parameters
eventpacket
Returns
network_operator_mode
Note
: btstack_type 1
static const char* hfp_subevent_network_operator_changed_get_network_operator_name ( const uint8_t *  event)
inlinestatic

Get field network_operator_name from event HFP_SUBEVENT_NETWORK_OPERATOR_CHANGED.

Parameters
eventpacket
Returns
network_operator_name
Note
: btstack_type T
static const char* hfp_subevent_number_for_voice_tag_get_number ( const uint8_t *  event)
inlinestatic

Get field number from event HFP_SUBEVENT_NUMBER_FOR_VOICE_TAG.

Parameters
eventpacket
Returns
number
Note
: btstack_type T
static const char* hfp_subevent_place_call_with_number_get_number ( const uint8_t *  event)
inlinestatic

Get field number from event HFP_SUBEVENT_PLACE_CALL_WITH_NUMBER.

Parameters
eventpacket
Returns
number
Note
: btstack_type T
static const char* hfp_subevent_response_and_hold_status_get_value ( const uint8_t *  event)
inlinestatic

Get field value from event HFP_SUBEVENT_RESPONSE_AND_HOLD_STATUS.

Parameters
eventpacket
Returns
value
Note
: btstack_type T
static void hfp_subevent_service_level_connection_established_get_bd_addr ( const uint8_t *  event,
bd_addr_t  bd_addr 
)
inlinestatic

Get field bd_addr from event HFP_SUBEVENT_SERVICE_LEVEL_CONNECTION_ESTABLISHED.

Parameters
eventpacket
Pointerto storage for bd_addr
Note
: btstack_type B

References reverse_bd_addr().

static hci_con_handle_t hfp_subevent_service_level_connection_established_get_con_handle ( const uint8_t *  event)
inlinestatic

Get field con_handle from event HFP_SUBEVENT_SERVICE_LEVEL_CONNECTION_ESTABLISHED.

Parameters
eventpacket
Returns
con_handle
Note
: btstack_type H

References little_endian_read_16().

static uint8_t hfp_subevent_service_level_connection_established_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HFP_SUBEVENT_SERVICE_LEVEL_CONNECTION_ESTABLISHED.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static uint8_t hfp_subevent_speaker_volume_get_gain ( const uint8_t *  event)
inlinestatic

Get field gain from event HFP_SUBEVENT_SPEAKER_VOLUME.

Parameters
eventpacket
Returns
gain
Note
: btstack_type 1
static uint8_t hfp_subevent_speaker_volume_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HFP_SUBEVENT_SPEAKER_VOLUME.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static const char* hfp_subevent_subscriber_number_information_get_bnip_number ( const uint8_t *  event)
inlinestatic

Get field bnip_number from event HFP_SUBEVENT_SUBSCRIBER_NUMBER_INFORMATION.

Parameters
eventpacket
Returns
bnip_number
Note
: btstack_type T
static uint8_t hfp_subevent_subscriber_number_information_get_bnip_type ( const uint8_t *  event)
inlinestatic

Get field bnip_type from event HFP_SUBEVENT_SUBSCRIBER_NUMBER_INFORMATION.

Parameters
eventpacket
Returns
bnip_type
Note
: btstack_type 1
static uint8_t hfp_subevent_subscriber_number_information_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HFP_SUBEVENT_SUBSCRIBER_NUMBER_INFORMATION.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static const char* hfp_subevent_transmit_dtmf_codes_get_dtmf ( const uint8_t *  event)
inlinestatic

Get field dtmf from event HFP_SUBEVENT_TRANSMIT_DTMF_CODES.

Parameters
eventpacket
Returns
dtmf
Note
: btstack_type T
static uint16_t hid_subevent_can_send_now_get_hid_cid ( const uint8_t *  event)
inlinestatic

Get field hid_cid from event HID_SUBEVENT_CAN_SEND_NOW.

Parameters
eventpacket
Returns
hid_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t hid_subevent_connection_closed_get_hid_cid ( const uint8_t *  event)
inlinestatic

Get field hid_cid from event HID_SUBEVENT_CONNECTION_CLOSED.

Parameters
eventpacket
Returns
hid_cid
Note
: btstack_type 2

References little_endian_read_16().

static void hid_subevent_connection_opened_get_bd_addr ( const uint8_t *  event,
bd_addr_t  bd_addr 
)
inlinestatic

Get field bd_addr from event HID_SUBEVENT_CONNECTION_OPENED.

Parameters
eventpacket
Pointerto storage for bd_addr
Note
: btstack_type B

References reverse_bd_addr().

static hci_con_handle_t hid_subevent_connection_opened_get_con_handle ( const uint8_t *  event)
inlinestatic

Get field con_handle from event HID_SUBEVENT_CONNECTION_OPENED.

Parameters
eventpacket
Returns
con_handle
Note
: btstack_type H

References little_endian_read_16().

static uint16_t hid_subevent_connection_opened_get_hid_cid ( const uint8_t *  event)
inlinestatic

Get field hid_cid from event HID_SUBEVENT_CONNECTION_OPENED.

Parameters
eventpacket
Returns
hid_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t hid_subevent_connection_opened_get_incoming ( const uint8_t *  event)
inlinestatic

Get field incoming from event HID_SUBEVENT_CONNECTION_OPENED.

Parameters
eventpacket
Returns
incoming
Note
: btstack_type 1
static uint8_t hid_subevent_connection_opened_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HID_SUBEVENT_CONNECTION_OPENED.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static uint16_t hids_subevent_boot_keyboard_input_report_enable_get_con_handle ( const uint8_t *  event)
inlinestatic

Get field con_handle from event HIDS_SUBEVENT_BOOT_KEYBOARD_INPUT_REPORT_ENABLE.

Parameters
eventpacket
Returns
con_handle
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t hids_subevent_boot_keyboard_input_report_enable_get_enable ( const uint8_t *  event)
inlinestatic

Get field enable from event HIDS_SUBEVENT_BOOT_KEYBOARD_INPUT_REPORT_ENABLE.

Parameters
eventpacket
Returns
enable
Note
: btstack_type 1
static uint16_t hids_subevent_boot_mouse_input_report_enable_get_con_handle ( const uint8_t *  event)
inlinestatic

Get field con_handle from event HIDS_SUBEVENT_BOOT_MOUSE_INPUT_REPORT_ENABLE.

Parameters
eventpacket
Returns
con_handle
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t hids_subevent_boot_mouse_input_report_enable_get_enable ( const uint8_t *  event)
inlinestatic

Get field enable from event HIDS_SUBEVENT_BOOT_MOUSE_INPUT_REPORT_ENABLE.

Parameters
eventpacket
Returns
enable
Note
: btstack_type 1
static uint16_t hids_subevent_can_send_now_get_con_handle ( const uint8_t *  event)
inlinestatic

Get field con_handle from event HIDS_SUBEVENT_CAN_SEND_NOW.

Parameters
eventpacket
Returns
con_handle
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t hids_subevent_input_report_enable_get_con_handle ( const uint8_t *  event)
inlinestatic

Get field con_handle from event HIDS_SUBEVENT_INPUT_REPORT_ENABLE.

Parameters
eventpacket
Returns
con_handle
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t hids_subevent_input_report_enable_get_enable ( const uint8_t *  event)
inlinestatic

Get field enable from event HIDS_SUBEVENT_INPUT_REPORT_ENABLE.

Parameters
eventpacket
Returns
enable
Note
: btstack_type 1
static uint16_t hids_subevent_protocol_mode_get_con_handle ( const uint8_t *  event)
inlinestatic

Get field con_handle from event HIDS_SUBEVENT_PROTOCOL_MODE.

Parameters
eventpacket
Returns
con_handle
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t hids_subevent_protocol_mode_get_protocol_mode ( const uint8_t *  event)
inlinestatic

Get field protocol_mode from event HIDS_SUBEVENT_PROTOCOL_MODE.

Parameters
eventpacket
Returns
protocol_mode
Note
: btstack_type 1
static const uint8_t* hsp_subevent_ag_indication_get_value ( const uint8_t *  event)
inlinestatic

Get field value from event HSP_SUBEVENT_AG_INDICATION.

Parameters
eventpacket
Returns
value
Note
: btstack_type V
static int hsp_subevent_ag_indication_get_value_length ( const uint8_t *  event)
inlinestatic

Get field value_length from event HSP_SUBEVENT_AG_INDICATION.

Parameters
eventpacket
Returns
value_length
Note
: btstack_type J
static hci_con_handle_t hsp_subevent_audio_connection_complete_get_handle ( const uint8_t *  event)
inlinestatic

Get field handle from event HSP_SUBEVENT_AUDIO_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
handle
Note
: btstack_type H

References little_endian_read_16().

static uint8_t hsp_subevent_audio_connection_complete_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HSP_SUBEVENT_AUDIO_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static uint8_t hsp_subevent_audio_disconnection_complete_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HSP_SUBEVENT_AUDIO_DISCONNECTION_COMPLETE.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static const uint8_t* hsp_subevent_hs_command_get_value ( const uint8_t *  event)
inlinestatic

Get field value from event HSP_SUBEVENT_HS_COMMAND.

Parameters
eventpacket
Returns
value
Note
: btstack_type V
static int hsp_subevent_hs_command_get_value_length ( const uint8_t *  event)
inlinestatic

Get field value_length from event HSP_SUBEVENT_HS_COMMAND.

Parameters
eventpacket
Returns
value_length
Note
: btstack_type J
static uint8_t hsp_subevent_microphone_gain_changed_get_gain ( const uint8_t *  event)
inlinestatic

Get field gain from event HSP_SUBEVENT_MICROPHONE_GAIN_CHANGED.

Parameters
eventpacket
Returns
gain
Note
: btstack_type 1
static uint8_t hsp_subevent_rfcomm_connection_complete_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HSP_SUBEVENT_RFCOMM_CONNECTION_COMPLETE.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static uint8_t hsp_subevent_rfcomm_disconnection_complete_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event HSP_SUBEVENT_RFCOMM_DISCONNECTION_COMPLETE.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static uint8_t hsp_subevent_speaker_gain_changed_get_gain ( const uint8_t *  event)
inlinestatic

Get field gain from event HSP_SUBEVENT_SPEAKER_GAIN_CHANGED.

Parameters
eventpacket
Returns
gain
Note
: btstack_type 1
static uint16_t l2cap_event_can_send_now_get_local_cid ( const uint8_t *  event)
inlinestatic

Get field local_cid from event L2CAP_EVENT_CAN_SEND_NOW.

Parameters
eventpacket
Returns
local_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t l2cap_event_channel_closed_get_local_cid ( const uint8_t *  event)
inlinestatic

Get field local_cid from event L2CAP_EVENT_CHANNEL_CLOSED.

Parameters
eventpacket
Returns
local_cid
Note
: btstack_type 2

References little_endian_read_16().

static void l2cap_event_channel_opened_get_address ( const uint8_t *  event,
bd_addr_t  address 
)
inlinestatic

Get field address from event L2CAP_EVENT_CHANNEL_OPENED.

Parameters
eventpacket
Pointerto storage for address
Note
: btstack_type B

References reverse_bd_addr().

static uint16_t l2cap_event_channel_opened_get_flush_timeout ( const uint8_t *  event)
inlinestatic

Get field flush_timeout from event L2CAP_EVENT_CHANNEL_OPENED.

Parameters
eventpacket
Returns
flush_timeout
Note
: btstack_type 2

References little_endian_read_16().

static hci_con_handle_t l2cap_event_channel_opened_get_handle ( const uint8_t *  event)
inlinestatic

Get field handle from event L2CAP_EVENT_CHANNEL_OPENED.

Parameters
eventpacket
Returns
handle
Note
: btstack_type H

References little_endian_read_16().

static uint8_t l2cap_event_channel_opened_get_incoming ( const uint8_t *  event)
inlinestatic

Get field incoming from event L2CAP_EVENT_CHANNEL_OPENED.

Parameters
eventpacket
Returns
incoming
Note
: btstack_type 1
static uint16_t l2cap_event_channel_opened_get_local_cid ( const uint8_t *  event)
inlinestatic

Get field local_cid from event L2CAP_EVENT_CHANNEL_OPENED.

Parameters
eventpacket
Returns
local_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t l2cap_event_channel_opened_get_local_mtu ( const uint8_t *  event)
inlinestatic

Get field local_mtu from event L2CAP_EVENT_CHANNEL_OPENED.

Parameters
eventpacket
Returns
local_mtu
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t l2cap_event_channel_opened_get_psm ( const uint8_t *  event)
inlinestatic

Get field psm from event L2CAP_EVENT_CHANNEL_OPENED.

Parameters
eventpacket
Returns
psm
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t l2cap_event_channel_opened_get_remote_cid ( const uint8_t *  event)
inlinestatic

Get field remote_cid from event L2CAP_EVENT_CHANNEL_OPENED.

Parameters
eventpacket
Returns
remote_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t l2cap_event_channel_opened_get_remote_mtu ( const uint8_t *  event)
inlinestatic

Get field remote_mtu from event L2CAP_EVENT_CHANNEL_OPENED.

Parameters
eventpacket
Returns
remote_mtu
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t l2cap_event_channel_opened_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event L2CAP_EVENT_CHANNEL_OPENED.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static hci_con_handle_t l2cap_event_connection_parameter_update_request_get_handle ( const uint8_t *  event)
inlinestatic

Get field handle from event L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_REQUEST.

Parameters
eventpacket
Returns
handle
Note
: btstack_type H

References little_endian_read_16().

static uint16_t l2cap_event_connection_parameter_update_request_get_interval_max ( const uint8_t *  event)
inlinestatic

Get field interval_max from event L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_REQUEST.

Parameters
eventpacket
Returns
interval_max
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t l2cap_event_connection_parameter_update_request_get_interval_min ( const uint8_t *  event)
inlinestatic

Get field interval_min from event L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_REQUEST.

Parameters
eventpacket
Returns
interval_min
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t l2cap_event_connection_parameter_update_request_get_latencey ( const uint8_t *  event)
inlinestatic

Get field latencey from event L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_REQUEST.

Parameters
eventpacket
Returns
latencey
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t l2cap_event_connection_parameter_update_request_get_timeout_multiplier ( const uint8_t *  event)
inlinestatic

Get field timeout_multiplier from event L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_REQUEST.

Parameters
eventpacket
Returns
timeout_multiplier
Note
: btstack_type 2

References little_endian_read_16().

static hci_con_handle_t l2cap_event_connection_parameter_update_response_get_handle ( const uint8_t *  event)
inlinestatic

Get field handle from event L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_RESPONSE.

Parameters
eventpacket
Returns
handle
Note
: btstack_type H

References little_endian_read_16().

static uint16_t l2cap_event_connection_parameter_update_response_get_result ( const uint8_t *  event)
inlinestatic

Get field result from event L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_RESPONSE.

Parameters
eventpacket
Returns
result
Note
: btstack_type 2

References little_endian_read_16().

static void l2cap_event_incoming_connection_get_address ( const uint8_t *  event,
bd_addr_t  address 
)
inlinestatic

Get field address from event L2CAP_EVENT_INCOMING_CONNECTION.

Parameters
eventpacket
Pointerto storage for address
Note
: btstack_type B

References reverse_bd_addr().

static hci_con_handle_t l2cap_event_incoming_connection_get_handle ( const uint8_t *  event)
inlinestatic

Get field handle from event L2CAP_EVENT_INCOMING_CONNECTION.

Parameters
eventpacket
Returns
handle
Note
: btstack_type H

References little_endian_read_16().

static uint16_t l2cap_event_incoming_connection_get_local_cid ( const uint8_t *  event)
inlinestatic

Get field local_cid from event L2CAP_EVENT_INCOMING_CONNECTION.

Parameters
eventpacket
Returns
local_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t l2cap_event_incoming_connection_get_psm ( const uint8_t *  event)
inlinestatic

Get field psm from event L2CAP_EVENT_INCOMING_CONNECTION.

Parameters
eventpacket
Returns
psm
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t l2cap_event_incoming_connection_get_remote_cid ( const uint8_t *  event)
inlinestatic

Get field remote_cid from event L2CAP_EVENT_INCOMING_CONNECTION.

Parameters
eventpacket
Returns
remote_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t l2cap_event_le_can_send_now_get_local_cid ( const uint8_t *  event)
inlinestatic

Get field local_cid from event L2CAP_EVENT_LE_CAN_SEND_NOW.

Parameters
eventpacket
Returns
local_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t l2cap_event_le_channel_closed_get_local_cid ( const uint8_t *  event)
inlinestatic

Get field local_cid from event L2CAP_EVENT_LE_CHANNEL_CLOSED.

Parameters
eventpacket
Returns
local_cid
Note
: btstack_type 2

References little_endian_read_16().

static void l2cap_event_le_channel_opened_get_address ( const uint8_t *  event,
bd_addr_t  address 
)
inlinestatic

Get field address from event L2CAP_EVENT_LE_CHANNEL_OPENED.

Parameters
eventpacket
Pointerto storage for address
Note
: btstack_type B

References reverse_bd_addr().

static uint8_t l2cap_event_le_channel_opened_get_address_type ( const uint8_t *  event)
inlinestatic

Get field address_type from event L2CAP_EVENT_LE_CHANNEL_OPENED.

Parameters
eventpacket
Returns
address_type
Note
: btstack_type 1
static hci_con_handle_t l2cap_event_le_channel_opened_get_handle ( const uint8_t *  event)
inlinestatic

Get field handle from event L2CAP_EVENT_LE_CHANNEL_OPENED.

Parameters
eventpacket
Returns
handle
Note
: btstack_type H

References little_endian_read_16().

static uint8_t l2cap_event_le_channel_opened_get_incoming ( const uint8_t *  event)
inlinestatic

Get field incoming from event L2CAP_EVENT_LE_CHANNEL_OPENED.

Parameters
eventpacket
Returns
incoming
Note
: btstack_type 1
static uint16_t l2cap_event_le_channel_opened_get_local_cid ( const uint8_t *  event)
inlinestatic

Get field local_cid from event L2CAP_EVENT_LE_CHANNEL_OPENED.

Parameters
eventpacket
Returns
local_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t l2cap_event_le_channel_opened_get_local_mtu ( const uint8_t *  event)
inlinestatic

Get field local_mtu from event L2CAP_EVENT_LE_CHANNEL_OPENED.

Parameters
eventpacket
Returns
local_mtu
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t l2cap_event_le_channel_opened_get_psm ( const uint8_t *  event)
inlinestatic

Get field psm from event L2CAP_EVENT_LE_CHANNEL_OPENED.

Parameters
eventpacket
Returns
psm
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t l2cap_event_le_channel_opened_get_remote_cid ( const uint8_t *  event)
inlinestatic

Get field remote_cid from event L2CAP_EVENT_LE_CHANNEL_OPENED.

Parameters
eventpacket
Returns
remote_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t l2cap_event_le_channel_opened_get_remote_mtu ( const uint8_t *  event)
inlinestatic

Get field remote_mtu from event L2CAP_EVENT_LE_CHANNEL_OPENED.

Parameters
eventpacket
Returns
remote_mtu
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t l2cap_event_le_channel_opened_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event L2CAP_EVENT_LE_CHANNEL_OPENED.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static void l2cap_event_le_incoming_connection_get_address ( const uint8_t *  event,
bd_addr_t  address 
)
inlinestatic

Get field address from event L2CAP_EVENT_LE_INCOMING_CONNECTION.

Parameters
eventpacket
Pointerto storage for address
Note
: btstack_type B

References reverse_bd_addr().

static uint8_t l2cap_event_le_incoming_connection_get_address_type ( const uint8_t *  event)
inlinestatic

Get field address_type from event L2CAP_EVENT_LE_INCOMING_CONNECTION.

Parameters
eventpacket
Returns
address_type
Note
: btstack_type 1
static hci_con_handle_t l2cap_event_le_incoming_connection_get_handle ( const uint8_t *  event)
inlinestatic

Get field handle from event L2CAP_EVENT_LE_INCOMING_CONNECTION.

Parameters
eventpacket
Returns
handle
Note
: btstack_type H

References little_endian_read_16().

static uint16_t l2cap_event_le_incoming_connection_get_local_cid ( const uint8_t *  event)
inlinestatic

Get field local_cid from event L2CAP_EVENT_LE_INCOMING_CONNECTION.

Parameters
eventpacket
Returns
local_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t l2cap_event_le_incoming_connection_get_psm ( const uint8_t *  event)
inlinestatic

Get field psm from event L2CAP_EVENT_LE_INCOMING_CONNECTION.

Parameters
eventpacket
Returns
psm
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t l2cap_event_le_incoming_connection_get_remote_cid ( const uint8_t *  event)
inlinestatic

Get field remote_cid from event L2CAP_EVENT_LE_INCOMING_CONNECTION.

Parameters
eventpacket
Returns
remote_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t l2cap_event_le_incoming_connection_get_remote_mtu ( const uint8_t *  event)
inlinestatic

Get field remote_mtu from event L2CAP_EVENT_LE_INCOMING_CONNECTION.

Parameters
eventpacket
Returns
remote_mtu
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t l2cap_event_le_packet_sent_get_local_cid ( const uint8_t *  event)
inlinestatic

Get field local_cid from event L2CAP_EVENT_LE_PACKET_SENT.

Parameters
eventpacket
Returns
local_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t pbap_subevent_connection_closed_get_goep_cid ( const uint8_t *  event)
inlinestatic

Get field goep_cid from event PBAP_SUBEVENT_CONNECTION_CLOSED.

Parameters
eventpacket
Returns
goep_cid
Note
: btstack_type 2

References little_endian_read_16().

static void pbap_subevent_connection_opened_get_bd_addr ( const uint8_t *  event,
bd_addr_t  bd_addr 
)
inlinestatic

Get field bd_addr from event PBAP_SUBEVENT_CONNECTION_OPENED.

Parameters
eventpacket
Pointerto storage for bd_addr
Note
: btstack_type B

References reverse_bd_addr().

static hci_con_handle_t pbap_subevent_connection_opened_get_con_handle ( const uint8_t *  event)
inlinestatic

Get field con_handle from event PBAP_SUBEVENT_CONNECTION_OPENED.

Parameters
eventpacket
Returns
con_handle
Note
: btstack_type H

References little_endian_read_16().

static uint8_t pbap_subevent_connection_opened_get_incoming ( const uint8_t *  event)
inlinestatic

Get field incoming from event PBAP_SUBEVENT_CONNECTION_OPENED.

Parameters
eventpacket
Returns
incoming
Note
: btstack_type 1
static uint16_t pbap_subevent_connection_opened_get_pbap_cid ( const uint8_t *  event)
inlinestatic

Get field pbap_cid from event PBAP_SUBEVENT_CONNECTION_OPENED.

Parameters
eventpacket
Returns
pbap_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t pbap_subevent_connection_opened_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event PBAP_SUBEVENT_CONNECTION_OPENED.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static uint16_t pbap_subevent_operation_completed_get_goep_cid ( const uint8_t *  event)
inlinestatic

Get field goep_cid from event PBAP_SUBEVENT_OPERATION_COMPLETED.

Parameters
eventpacket
Returns
goep_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t pbap_subevent_operation_completed_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event PBAP_SUBEVENT_OPERATION_COMPLETED.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static uint16_t rfcomm_event_can_send_now_get_rfcomm_cid ( const uint8_t *  event)
inlinestatic

Get field rfcomm_cid from event RFCOMM_EVENT_CAN_SEND_NOW.

Parameters
eventpacket
Returns
rfcomm_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t rfcomm_event_channel_closed_get_rfcomm_cid ( const uint8_t *  event)
inlinestatic

Get field rfcomm_cid from event RFCOMM_EVENT_CHANNEL_CLOSED.

Parameters
eventpacket
Returns
rfcomm_cid
Note
: btstack_type 2

References little_endian_read_16().

static void rfcomm_event_channel_opened_get_bd_addr ( const uint8_t *  event,
bd_addr_t  bd_addr 
)
inlinestatic

Get field bd_addr from event RFCOMM_EVENT_CHANNEL_OPENED.

Parameters
eventpacket
Pointerto storage for bd_addr
Note
: btstack_type B

References reverse_bd_addr().

static uint16_t rfcomm_event_channel_opened_get_con_handle ( const uint8_t *  event)
inlinestatic

Get field con_handle from event RFCOMM_EVENT_CHANNEL_OPENED.

Parameters
eventpacket
Returns
con_handle
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t rfcomm_event_channel_opened_get_incoming ( const uint8_t *  event)
inlinestatic

Get field incoming from event RFCOMM_EVENT_CHANNEL_OPENED.

Parameters
eventpacket
Returns
incoming
Note
: btstack_type 1
static uint16_t rfcomm_event_channel_opened_get_max_frame_size ( const uint8_t *  event)
inlinestatic

Get field max_frame_size from event RFCOMM_EVENT_CHANNEL_OPENED.

Parameters
eventpacket
Returns
max_frame_size
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t rfcomm_event_channel_opened_get_rfcomm_cid ( const uint8_t *  event)
inlinestatic

Get field rfcomm_cid from event RFCOMM_EVENT_CHANNEL_OPENED.

Parameters
eventpacket
Returns
rfcomm_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t rfcomm_event_channel_opened_get_server_channel ( const uint8_t *  event)
inlinestatic

Get field server_channel from event RFCOMM_EVENT_CHANNEL_OPENED.

Parameters
eventpacket
Returns
server_channel
Note
: btstack_type 1
static uint8_t rfcomm_event_channel_opened_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event RFCOMM_EVENT_CHANNEL_OPENED.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static void rfcomm_event_incoming_connection_get_bd_addr ( const uint8_t *  event,
bd_addr_t  bd_addr 
)
inlinestatic

Get field bd_addr from event RFCOMM_EVENT_INCOMING_CONNECTION.

Parameters
eventpacket
Pointerto storage for bd_addr
Note
: btstack_type B

References reverse_bd_addr().

static uint16_t rfcomm_event_incoming_connection_get_rfcomm_cid ( const uint8_t *  event)
inlinestatic

Get field rfcomm_cid from event RFCOMM_EVENT_INCOMING_CONNECTION.

Parameters
eventpacket
Returns
rfcomm_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t rfcomm_event_incoming_connection_get_server_channel ( const uint8_t *  event)
inlinestatic

Get field server_channel from event RFCOMM_EVENT_INCOMING_CONNECTION.

Parameters
eventpacket
Returns
server_channel
Note
: btstack_type 1
static uint8_t rfcomm_event_remote_line_status_get_line_status ( const uint8_t *  event)
inlinestatic

Get field line_status from event RFCOMM_EVENT_REMOTE_LINE_STATUS.

Parameters
eventpacket
Returns
line_status
Note
: btstack_type 1
static uint16_t rfcomm_event_remote_line_status_get_rfcomm_cid ( const uint8_t *  event)
inlinestatic

Get field rfcomm_cid from event RFCOMM_EVENT_REMOTE_LINE_STATUS.

Parameters
eventpacket
Returns
rfcomm_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t rfcomm_event_remote_modem_status_get_modem_status ( const uint8_t *  event)
inlinestatic

Get field modem_status from event RFCOMM_EVENT_REMOTE_MODEM_STATUS.

Parameters
eventpacket
Returns
modem_status
Note
: btstack_type 1
static uint16_t rfcomm_event_remote_modem_status_get_rfcomm_cid ( const uint8_t *  event)
inlinestatic

Get field rfcomm_cid from event RFCOMM_EVENT_REMOTE_MODEM_STATUS.

Parameters
eventpacket
Returns
rfcomm_cid
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t sdp_event_query_attribute_byte_get_attribute_id ( const uint8_t *  event)
inlinestatic

Get field attribute_id from event SDP_EVENT_QUERY_ATTRIBUTE_BYTE.

Parameters
eventpacket
Returns
attribute_id
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t sdp_event_query_attribute_byte_get_attribute_length ( const uint8_t *  event)
inlinestatic

Get field attribute_length from event SDP_EVENT_QUERY_ATTRIBUTE_BYTE.

Parameters
eventpacket
Returns
attribute_length
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t sdp_event_query_attribute_byte_get_data ( const uint8_t *  event)
inlinestatic

Get field data from event SDP_EVENT_QUERY_ATTRIBUTE_BYTE.

Parameters
eventpacket
Returns
data
Note
: btstack_type 1
static uint16_t sdp_event_query_attribute_byte_get_data_offset ( const uint8_t *  event)
inlinestatic

Get field data_offset from event SDP_EVENT_QUERY_ATTRIBUTE_BYTE.

Parameters
eventpacket
Returns
data_offset
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t sdp_event_query_attribute_byte_get_record_id ( const uint8_t *  event)
inlinestatic

Get field record_id from event SDP_EVENT_QUERY_ATTRIBUTE_BYTE.

Parameters
eventpacket
Returns
record_id
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t sdp_event_query_attribute_value_get_attribute_id ( const uint8_t *  event)
inlinestatic

Get field attribute_id from event SDP_EVENT_QUERY_ATTRIBUTE_VALUE.

Parameters
eventpacket
Returns
attribute_id
Note
: btstack_type 2

References little_endian_read_16().

static int sdp_event_query_attribute_value_get_attribute_length ( const uint8_t *  event)
inlinestatic

Get field attribute_length from event SDP_EVENT_QUERY_ATTRIBUTE_VALUE.

Parameters
eventpacket
Returns
attribute_length
Note
: btstack_type L

References little_endian_read_16().

static const uint8_t* sdp_event_query_attribute_value_get_attribute_value ( const uint8_t *  event)
inlinestatic

Get field attribute_value from event SDP_EVENT_QUERY_ATTRIBUTE_VALUE.

Parameters
eventpacket
Returns
attribute_value
Note
: btstack_type V
static uint16_t sdp_event_query_attribute_value_get_record_id ( const uint8_t *  event)
inlinestatic

Get field record_id from event SDP_EVENT_QUERY_ATTRIBUTE_VALUE.

Parameters
eventpacket
Returns
record_id
Note
: btstack_type 2

References little_endian_read_16().

static uint8_t sdp_event_query_complete_get_status ( const uint8_t *  event)
inlinestatic

Get field status from event SDP_EVENT_QUERY_COMPLETE.

Parameters
eventpacket
Returns
status
Note
: btstack_type 1
static const char* sdp_event_query_rfcomm_service_get_name ( const uint8_t *  event)
inlinestatic

Get field name from event SDP_EVENT_QUERY_RFCOMM_SERVICE.

Parameters
eventpacket
Returns
name
Note
: btstack_type T
static uint8_t sdp_event_query_rfcomm_service_get_rfcomm_channel ( const uint8_t *  event)
inlinestatic

Get field rfcomm_channel from event SDP_EVENT_QUERY_RFCOMM_SERVICE.

Parameters
eventpacket
Returns
rfcomm_channel
Note
: btstack_type 1
static uint32_t sdp_event_query_service_record_handle_get_record_handle ( const uint8_t *  event)
inlinestatic

Get field record_handle from event SDP_EVENT_QUERY_SERVICE_RECORD_HANDLE.

Parameters
eventpacket
Returns
record_handle
Note
: btstack_type 4

References little_endian_read_32().

static uint16_t sdp_event_query_service_record_handle_get_record_index ( const uint8_t *  event)
inlinestatic

Get field record_index from event SDP_EVENT_QUERY_SERVICE_RECORD_HANDLE.

Parameters
eventpacket
Returns
record_index
Note
: btstack_type 2

References little_endian_read_16().

static uint16_t sdp_event_query_service_record_handle_get_total_count ( const uint8_t *  event)
inlinestatic

Get field total_count from event SDP_EVENT_QUERY_SERVICE_RECORD_HANDLE.

Parameters
eventpacket
Returns
total_count
Note
: btstack_type 2

References little_endian_read_16().