Microchip® Advanced Software Framework

hci_stack_t Struct Reference

main data structure

#include <hci.h>

Data Fields

union {
   uint32_t   gap_pairing_passkey
 
   const char *   gap_pairing_pin
 
}; 
 
uint16_t acl_data_packet_length
 
uint16_t acl_fragmentation_pos
 
uint16_t acl_fragmentation_total_size
 
btstack_packet_handler_t acl_packet_handler
 
uint8_t acl_packets_total_num
 
uint8_t bondable
 
const btstack_chipset_tchipset
 
uint32_t class_of_device
 
uint8_t cmds_ready
 
const void * config
 
uint8_t connectable
 
btstack_linked_list_t connections
 
const btstack_control_tcontrol
 
bd_addr_t custom_bd_addr
 
uint8_t custom_bd_addr_set
 
bd_addr_t decline_addr
 
uint8_t decline_reason
 
uint8_t discoverable
 
const uint8_t * eir_data
 
btstack_linked_list_t event_handlers
 
bd_addr_t gap_pairing_addr
 
uint8_t gap_pairing_state
 
void(* hardware_error_callback )(uint8_t error)
 
uint8_t * hci_packet_buffer
 
uint8_t hci_packet_buffer_data [HCI_OUTGOING_PRE_BUFFER_SIZE+HCI_PACKET_BUFFER_SIZE]
 
uint8_t hci_packet_buffer_reserved
 
const hci_transport_thci_transport
 
inquiry_mode_t inquiry_mode
 
uint8_t inquiry_state
 
uint16_t last_cmd_opcode
 
uint8_t le_acl_packets_total_num
 
le_connection_parameter_range_t le_connection_parameter_range
 
uint16_t le_data_packets_length
 
const btstack_link_key_db_tlink_key_db
 
bd_addr_t local_bd_addr
 
const char * local_name
 
uint8_t local_supported_commands [1]
 
uint8_t local_supported_features [8]
 
uint8_t loopback_mode
 
uint16_t manufacturer
 
uint8_t new_scan_enable_value
 
uint8_t num_cmd_packets
 
uint16_t packet_types
 
bd_addr_t remote_name_addr
 
uint16_t remote_name_clock_offset
 
uint8_t remote_name_page_scan_repetition_mode
 
uint8_t remote_name_state
 
uint8_t sco_data_packet_length
 
btstack_packet_handler_t sco_packet_handler
 
uint8_t sco_packets_total_num
 
uint16_t sco_voice_setting
 
uint16_t sco_voice_setting_active
 
uint8_t sco_waiting_for_can_send_now
 
uint8_t ssp_authentication_requirement
 
uint8_t ssp_auto_accept
 
uint8_t ssp_enable
 
uint8_t ssp_io_capability
 
HCI_STATE state
 
hci_substate_t substate
 
uint8_t synchronous_flow_control_enabled
 
btstack_timer_source_t timeout
 

union { ... }
uint16_t hci_stack_t::acl_data_packet_length
uint16_t hci_stack_t::acl_fragmentation_pos
uint16_t hci_stack_t::acl_fragmentation_total_size
btstack_packet_handler_t hci_stack_t::acl_packet_handler
uint8_t hci_stack_t::acl_packets_total_num
uint8_t hci_stack_t::bondable

Referenced by event_handler(), hci_init(), and hci_run().

uint32_t hci_stack_t::class_of_device

Referenced by hci_init(), and hci_initializing_run().

uint8_t hci_stack_t::cmds_ready
uint8_t hci_stack_t::connectable

Referenced by hci_initializing_run(), and hci_run().

bd_addr_t hci_stack_t::custom_bd_addr
uint8_t hci_stack_t::custom_bd_addr_set
bd_addr_t hci_stack_t::decline_addr

Referenced by event_handler(), and hci_run().

uint8_t hci_stack_t::decline_reason
uint8_t hci_stack_t::discoverable
const uint8_t* hci_stack_t::eir_data

Referenced by hci_initializing_run().

btstack_linked_list_t hci_stack_t::event_handlers
bd_addr_t hci_stack_t::gap_pairing_addr

Referenced by hci_run().

uint32_t hci_stack_t::gap_pairing_passkey

Referenced by hci_run().

const char* hci_stack_t::gap_pairing_pin

Referenced by hci_run().

uint8_t hci_stack_t::gap_pairing_state

Referenced by hci_run().

void(* hci_stack_t::hardware_error_callback)(uint8_t error)
uint8_t hci_stack_t::hci_packet_buffer_data[HCI_OUTGOING_PRE_BUFFER_SIZE+HCI_PACKET_BUFFER_SIZE]

Referenced by hci_init().

inquiry_mode_t hci_stack_t::inquiry_mode

Referenced by hci_initializing_run().

uint8_t hci_stack_t::inquiry_state

Referenced by event_handler(), and hci_run().

uint16_t hci_stack_t::last_cmd_opcode
uint8_t hci_stack_t::le_acl_packets_total_num
uint16_t hci_stack_t::le_data_packets_length
const btstack_link_key_db_t* hci_stack_t::link_key_db
bd_addr_t hci_stack_t::local_bd_addr

Referenced by event_handler(), and gap_local_bd_addr().

const char* hci_stack_t::local_name
uint8_t hci_stack_t::local_supported_commands[1]
uint8_t hci_stack_t::loopback_mode

Referenced by hci_send_cmd_packet().

uint8_t hci_stack_t::new_scan_enable_value

Referenced by hci_run(), and hci_state_reset().

uint16_t hci_stack_t::packet_types

Referenced by event_handler().

bd_addr_t hci_stack_t::remote_name_addr

Referenced by hci_run().

uint16_t hci_stack_t::remote_name_clock_offset

Referenced by hci_run().

uint8_t hci_stack_t::remote_name_page_scan_repetition_mode

Referenced by hci_run().

uint8_t hci_stack_t::remote_name_state

Referenced by event_handler(), and hci_run().

uint8_t hci_stack_t::sco_data_packet_length

Referenced by event_handler().

btstack_packet_handler_t hci_stack_t::sco_packet_handler
uint8_t hci_stack_t::sco_packets_total_num

Referenced by event_handler().

uint16_t hci_stack_t::sco_voice_setting

Referenced by hci_init().

uint16_t hci_stack_t::sco_voice_setting_active
uint8_t hci_stack_t::sco_waiting_for_can_send_now
uint8_t hci_stack_t::ssp_authentication_requirement

Referenced by hci_init(), and hci_run().

uint8_t hci_stack_t::ssp_auto_accept

Referenced by event_handler(), and hci_init().

uint8_t hci_stack_t::ssp_enable

Referenced by hci_init(), and hci_initializing_run().

uint8_t hci_stack_t::ssp_io_capability

Referenced by hci_init(), and hci_run().

uint8_t hci_stack_t::synchronous_flow_control_enabled

Referenced by event_handler().