Hci API

Classes

__attribute__
BluetoothHciCallbacks
BluetoothHciDeathRecipient
bt_vendor_callbacks_t
bt_vendor_interface_t
bt_vendor_op_a2dp_offload_tA2DP offload request
bt_vendor_op_audio_state_taudio (SCO) state changes triggering VS commands for configuration
btsnoop_t
client_t
HC_BT_HDRType definitions and return values
hci_hal_callbacks_t
hci_hal_t
hci_inject_t
hci_packet_factory_tCopyright 2014 Google, Inc.
hci_packet_parser_tCopyright 2014 Google, Inc.
hci_tCopyright 2014 Google, Inc.
low_power_manager_t
mgmt_event_read_index
mgmt_pkt
packet_fragmenter_callbacks_t
packet_fragmenter_t
rfkill_event
sockaddr_hci
vendor_t
waiting_command_t

Functions

accept_ready
acl_event_received
bthc_idle_timeout
bthc_rx_readyExtern variables and functions Functions
bthc_tx
btsnoop_get_interface
btsnoop_mem_capture
btsnoop_mem_set_callback
btsnoop_net_close
btsnoop_net_open
btsnoop_net_write
btsnoop_write_packet
buffer_allocCopyright 2014 Google, Inc.
buffer_allocator_get_interfaceCopyright 2014 Google, Inc.
capture
check_uint16_overflow
cleanup
client_free
command_timed_out
command_timed_out_log_info
delete_btsnoop_files
dispatch_reassembled
enqueue_command
enqueue_packet
event_command_ready
event_finish_startup
event_packet_ready
filter_incoming_event
fragment_and_dispatch
fragmenter_transmit_finished
get_btsnoop_last_log_path
get_btsnoop_log_path
get_num_waiting_commands
get_waiting_command
hci_close
hci_close_firmware_log_file
hci_event_received
hci_hal_get_interface
hci_hal_h4_get_interface
hci_hal_h4_get_test_interface
hci_hal_mct_get_interface
hci_hal_mct_get_test_interface
hci_initialize
hci_inject_close
hci_inject_get_interface
hci_inject_open
hci_layer_cleanup_interface
hci_layer_get_interface
hci_layer_get_test_interface
hci_log_firmware_debug_packet
hci_module_shut_down
hci_module_start_up
hci_open_firmware_log_file
hci_packet_factory_get_interface
hci_packet_parser_get_interface
hci_packet_parser_get_test_interface
hci_packet_to_event
hci_thread
hci_timeout_abort
hci_transmit
htonll
init
init_layer_interface
initialization_complete
is_btsnoop_enabled
listen_fn_
low_power_manager_get_interface
low_power_manager_get_test_interface
make_ble_read_buffer_size
make_ble_read_local_supported_features
make_ble_read_maximum_advertising_data_length
make_ble_read_maximum_data_length
make_ble_read_number_of_supported_advertising_sets
make_ble_read_resolving_list_size
make_ble_read_suggested_default_data_length
make_ble_read_supported_states
make_ble_read_white_list_size
make_ble_set_event_mask
make_ble_write_host_support
make_command
make_command_no_params
make_host_buffer_size
make_packet
make_read_bd_addr
make_read_buffer_size
make_read_local_extended_features
make_read_local_supported_codecs
make_read_local_supported_commands
make_read_local_version_info
make_reset
make_set_event_mask
make_write_secure_connections_host_support
make_write_simple_pairing_mode
monitor_socket
open_next_snoop_file
packet_fragmenter_get_interface
packet_fragmenter_get_test_interface
parse_ble_read_buffer_size_response
parse_ble_read_local_supported_features_response
parse_ble_read_maximum_advertising_data_length
parse_ble_read_maximum_data_length_response
parse_ble_read_number_of_supported_advertising_sets
parse_ble_read_resolving_list_size_response
parse_ble_read_suggested_default_data_length_response
parse_ble_read_supported_states_response
parse_ble_read_white_list_size_response
parse_generic_command_complete
parse_read_bd_addr_response
parse_read_buffer_size_response
parse_read_local_extended_features_response
parse_read_local_supported_codecs_response
parse_read_local_supported_commands_response
parse_read_local_version_info_response
post_to_main_message_loop
process_command_credits
read_command_complete_header
read_ready
reassemble_and_dispatch
rfkill
safe_close_
sco_data_received
set_data_cb
shut_down
start_up
startup_timer_expired
transmit_command
transmit_command_futured
transmit_downward
transmit_fragment
update_command_response_timer
userial_close
userial_close_reader
userial_init
userial_open
userial_read
userial_write
vendor_get_interface
wait_hcidev

Enums

bthc_event_t
bt_vendor_opcode_tCopyright 2009-2012 Broadcom Corporation
bt_vendor_power_state_tPower on/off control states
bt_vendor_hci_channels_tDefine HCI channel identifier in the file descriptors array used in BT_VND_OP_USERIAL_OPEN operation.
bt_vendor_lpm_mode_tLPM disable/enable request
bt_vendor_lpm_wake_state_tLPM WAKE set state request
bt_vendor_op_result_tCallback result values
serial_data_type_tCopyright 2014 Google, Inc.
userial_port_tCopyright 2009-2012 Broadcom Corporation
vendor_opcode_tCopyright 2014 Google, Inc.
vendor_async_opcode_t
packet_type_t
hci_packet_t
HciPacketType

Defines

Defines (bt_hci_bdroid.h)

HCI_ACL_MAX_SIZE 1024

Copyright 2009-2012 Broadcom Corporation

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Filename: bt_hci_bdroid.h

Description: A wrapper header file of bt_hci_lib.h


           Contains definitions specific for interfacing with Bluedroid
           Bluetooth stack
Constants & Macros

HCI_MAX_FRAME_SIZE (HCI_ACL_MAX_SIZE + 4)

MSG_EVT_MASK 0xFF00 /* eq. BT_EVT_MASK */

MSG_SUB_EVT_MASK 0x00FF /* eq. BT_SUB_EVT_MASK */

MSG_HC_TO_STACK_HCI_ERR 0x1300 /* eq. BT_EVT_TO_BTU_HCIT_ERR */

MSG_HC_TO_STACK_HCI_ACL 0x1100 /* eq. BT_EVT_TO_BTU_HCI_ACL */

MSG_HC_TO_STACK_HCI_SCO 0x1200 /* eq. BT_EVT_TO_BTU_HCI_SCO */

MSG_HC_TO_STACK_HCI_EVT 0x1000 /* eq. BT_EVT_TO_BTU_HCI_EVT */

MSG_HC_TO_STACK_L2C_SEG_XMIT 0x1900 /* BT_EVT_TO_BTU_L2C_SEG_XMIT */

MSG_STACK_TO_HC_HCI_ACL 0x2100 /* eq. BT_EVT_TO_LM_HCI_ACL */

MSG_STACK_TO_HC_HCI_SCO 0x2200 /* eq. BT_EVT_TO_LM_HCI_SCO */

MSG_STACK_TO_HC_HCI_CMD 0x2000 /* eq. BT_EVT_TO_LM_HCI_CMD */

LOCAL_BR_EDR_CONTROLLER_ID 0

BT_HC_HDR_SIZE (sizeof(HC_BT_HDR))

Defines (hci_internals.h)

HCI_COMMAND_PREAMBLE_SIZE 3

Copyright 2014 Google, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

HCI_ACL_PREAMBLE_SIZE 4

HCI_SCO_PREAMBLE_SIZE 3

HCI_EVENT_PREAMBLE_SIZE 2

Defines (hci_layer.h)

MSG_EVT_MASK 0xFF00 /* eq. BT_EVT_MASK */

MSG_SUB_EVT_MASK 0x00FF /* eq. BT_SUB_EVT_MASK */

MSG_HC_TO_STACK_HCI_ERR 0x1300 /* eq. BT_EVT_TO_BTU_HCIT_ERR */

MSG_HC_TO_STACK_HCI_ACL 0x1100 /* eq. BT_EVT_TO_BTU_HCI_ACL */

MSG_HC_TO_STACK_HCI_SCO 0x1200 /* eq. BT_EVT_TO_BTU_HCI_SCO */

MSG_HC_TO_STACK_HCI_EVT 0x1000 /* eq. BT_EVT_TO_BTU_HCI_EVT */

MSG_HC_TO_STACK_L2C_SEG_XMIT 0x1900 /* BT_EVT_TO_BTU_L2C_SEG_XMIT */

MSG_STACK_TO_HC_HCI_ACL 0x2100 /* eq. BT_EVT_TO_LM_HCI_ACL */

MSG_STACK_TO_HC_HCI_SCO 0x2200 /* eq. BT_EVT_TO_LM_HCI_SCO */

MSG_STACK_TO_HC_HCI_CMD 0x2000 /* eq. BT_EVT_TO_LM_HCI_CMD */

LOCAL_BR_EDR_CONTROLLER_ID 0

Defines (btsnoop.cc)

LOG_TAG "bt_snoop"

Copyright 2014 Google, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

DEFAULT_BTSNOOP_SIZE 0xffff

BTSNOOP_ENABLE_PROPERTY "persist.bluetooth.btsnoopenable"

BTSNOOP_PATH_PROPERTY "persist.bluetooth.btsnooppath"

DEFAULT_BTSNOOP_PATH "/data/misc/bluetooth/logs/btsnoop_hci.log"

BTSNOOP_MAX_PACKETS_PROPERTY "persist.bluetooth.btsnoopsize"

Defines (btsnoop_net.cc)

LOG_TAG "bt_snoop_net"

Copyright 2013 Google, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Defines (hci_inject.cc)

LOG_TAG "bt_hci_inject"

Copyright 2014 Google, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Defines (hci_layer.cc)

LOG_TAG "bt_hci"

Copyright 2014 Google, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

BT_HCI_TIMEOUT_TAG_NUM 1010000

DEFAULT_STARTUP_TIMEOUT_MS 2900

STRING_VALUE_OF(x)
#x

Defines (hci_layer_android.cc)

LOG_TAG "bt_hci"

Copyright 2017 Google, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

LOG_PATH "/data/misc/bluetooth/logs/firmware_events.log"

LAST_LOG_PATH "/data/misc/bluetooth/logs/firmware_events.log.last"

Defines (hci_layer_linux.cc)

BTPROTO_HCI 1

HCI_CHANNEL_USER 1

HCI_CHANNEL_CONTROL 3

HCI_DEV_NONE 0xffff

RFKILL_TYPE_BLUETOOTH 2

RFKILL_OP_CHANGE_ALL 3

MGMT_OP_INDEX_LIST 0x0003

MGMT_EV_INDEX_ADDED 0x0004

MGMT_EV_COMMAND_COMP 0x0001

MGMT_EV_SIZE_MAX 1024

MGMT_EV_POLL_TIMEOUT 3000 /* 3000ms */

Defines (hci_packet_parser.cc)

LOG_TAG "bt_hci"

Copyright 2014 Google, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Defines (packet_fragmenter.cc)

LOG_TAG "bt_hci_packet_fragmenter"

Copyright 2014 Google, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

APPLY_CONTINUATION_FLAG(handle)
(((handle)&0xCFFF) | 0x1000)

APPLY_START_FLAG(handle)
(((handle)&0xCFFF) | 0x2000)

SUB_EVENT(event)
((event)&MSG_SUB_EVT_MASK)

GET_BOUNDARY_FLAG(handle)
(((handle) >> 12) & 0x0003)

HANDLE_MASK 0x0FFF

START_PACKET_BOUNDARY 2

CONTINUATION_PACKET_BOUNDARY 1

L2CAP_HEADER_PDU_LEN_SIZE 2

L2CAP_HEADER_CID_SIZE 2

L2CAP_HEADER_SIZE (L2CAP_HEADER_PDU_LEN_SIZE + L2CAP_HEADER_CID_SIZE)

Typedefs

Typedefs (bt_vendor_lib.h)

typedef void(* cfg_result_cb)(bt_vendor_op_result_t result)

typedef void *(* malloc_cb)(int size)

typedef void(* mdealloc_cb)(void *p_buf)

typedef void(* tINT_CMD_CBACK)(void *p_mem)

typedef uint8_t(* cmd_xmit_cb)(uint16_t opcode, void *p_buf, tINT_CMD_CBACK p_cback)

typedef void(* cfg_a2dp_cb)(bt_vendor_op_result_t result, bt_vendor_opcode_t op, uint8_t bta_av_handle)

Typedefs (btsnoop_mem.h)

typedef void(* btsnoop_data_cb)(const uint16_t type, const uint8_t *p_data, const size_t len, const uint64_t timestamp_us)

Copyright 2015 Google Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Typedefs (hci_hal.h)

typedef void(* data_ready_cb)(serial_data_type_t type)

Typedefs (hci_layer.h)

typedef struct controller_t controller_t

typedef unsigned char * bdaddr_t

typedef uint16_t command_opcode_t

typedef void(* command_complete_cb)(BT_HDR *response, void *context)

typedef void(* command_status_cb)(uint8_t status, BT_HDR *command, void *context)

Typedefs (low_power_manager.h)

typedef struct thread_t thread_t

Copyright 2014 Google, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Typedefs (packet_fragmenter.h)

typedef void(* transmit_finished_cb)(BT_HDR *packet, bool all_fragments_sent)

Copyright 2014 Google, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

typedef void(* packet_reassembled_cb)(BT_HDR *packet)

typedef void(* packet_fragmented_cb)(BT_HDR *packet, bool send_transmit_finished)

Typedefs (vendor.h)

typedef void(* vendor_cb)(bool success)

Variables

Variables (bt_vendor_lib.h)

const bt_vendor_interface_t BLUETOOTH_VENDOR_LIB_INTERFACE

Variables (btsnoop.h)

const char BTSNOOP_MODULE = "btsnoop_module"

Copyright 2014 Google, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Variables (hci_layer.h)

const char HCI_MODULE = "hci_module"

Copyright 2014 Google, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Variables (btsnoop.cc)

const uint64_t BTSNOOP_EPOCH_DELTA = 0x00dcddb30f2f8000ULL

int logfile_fd = INVALID_FD

std::mutex btsnoop_mutex

int32_t packets_per_file

int32_t packet_counter

EXPORT_SYMBOL const module_t btsnoop_module = { .name = BTSNOOP_MODULE, .init = NULL, .start_up = start_up, .shut_down = shut_down, .clean_up = NULL, .dependencies = {STACK_CONFIG_MODULE, NULL}}

const btsnoop_t interface = {capture}

Variables (btsnoop_mem.cc)

btsnoop_data_cb data_callback = NULL

Copyright 2015 Google Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Variables (btsnoop_net.cc)

const char * LISTEN_THREAD_NAME_ = "btsnoop_net_listen"

const int LOCALHOST_ = 0x7F000001

const int LISTEN_PORT_ = 8872

pthread_t listen_thread_

bool listen_thread_valid_ = false

std::mutex client_socket_mutex_

int listen_socket_ = -1

int client_socket_ = -1

Variables (buffer_allocator.cc)

const allocator_t interface = {buffer_alloc, osi_free}

Variables (hci_inject.cc)

const port_t LISTEN_PORT = 8873

const hci_inject_t interface = {hci_inject_open, hci_inject_close}

const hci_t * hci

Mentioned in:

const allocator_t * buffer_allocator

socket_t * listen_socket

thread_t * thread

list_t * clients

Variables (hci_layer.cc)

int hci_firmware_log_fd = INVALID_FD

const uint32_t COMMAND_PENDING_TIMEOUT_MS = 2000

const uint32_t COMMAND_PENDING_MUTEX_ACQUIRE_TIMEOUT_MS = 500

const uint32_t COMMAND_TIMEOUT_RESTART_MS = 5000

const int HCI_UNKNOWN_COMMAND_TIMED_OUT = 0x00ffffff

const int HCI_STARTUP_TIMED_OUT = 0x00eeeeee

bool interface_created

hci_t interface

const allocator_t * buffer_allocator

const btsnoop_t * btsnoop

Mentioned in:

const packet_fragmenter_t * packet_fragmenter

future_t * startup_future

alarm_t * startup_timer

int command_credits = 1

std::mutex command_credits_mutex

std::queue< base::Closure > command_queue

alarm_t * command_response_timer

list_t * commands_pending_response

std::recursive_timed_mutex commands_pending_response_mutex

alarm_t * hci_timeout_abort_timer

base::Callback< void(const base::Location &, BT_HDR *)> send_data_upwards

const packet_fragmenter_callbacks_t packet_fragmenter_callbacks = { transmit_fragment, dispatch_reassembled, fragmenter_transmit_finished}

EXPORT_SYMBOL const module_t hci_module = { .name = HCI_MODULE, .init = NULL, .start_up = hci_module_start_up, .shut_down = hci_module_shut_down, .clean_up = NULL, .dependencies = {BTSNOOP_MODULE, NULL}}

Variables (hci_layer_android.cc)

android::sp< IBluetoothHci > btHci

android::sp< BluetoothHciDeathRecipient > bluetoothHciDeathRecipient = new BluetoothHciDeathRecipient()

Variables (hci_layer_linux.cc)

uint32_t idx

uint8_t type

uint8_t op

Mentioned in:

uint8_t soft

uint8_t hard

uint16_t opcode

uint16_t index

uint16_t len

uint8_t data

uint16_t cc_opcode

uint8_t status

uint16_t num_intf

enum HciPacketType __attribute__

int bt_vendor_fd = -1

int hci_interface

int rfkill_en

int reader_thread_ctrl_fd = -1

Thread * reader_thread = NULL

Variables (hci_packet_factory.cc)

const allocator_t * buffer_allocator

Copyright 2014 Google, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

const hci_packet_factory_t interface = { make_reset, make_read_buffer_size, make_host_buffer_size, make_read_local_version_info, make_read_bd_addr, make_read_local_supported_commands, make_read_local_extended_features, make_write_simple_pairing_mode, make_write_secure_connections_host_support, make_set_event_mask, make_ble_write_host_support, make_ble_read_white_list_size, make_ble_read_buffer_size, make_ble_read_supported_states, make_ble_read_local_supported_features, make_ble_read_resolving_list_size, make_ble_read_suggested_default_data_length, make_ble_read_maximum_data_length, make_ble_read_maximum_advertising_data_length, make_ble_read_number_of_supported_advertising_sets, make_ble_set_event_mask, make_read_local_supported_codecs}

Variables (hci_packet_parser.cc)

const command_opcode_t NO_OPCODE_CHECKING = 0

const allocator_t * buffer_allocator

const hci_packet_parser_t interface = { parse_generic_command_complete, parse_read_buffer_size_response, parse_read_local_version_info_response, parse_read_bd_addr_response, parse_read_local_supported_commands_response, parse_read_local_extended_features_response, parse_ble_read_white_list_size_response, parse_ble_read_buffer_size_response, parse_ble_read_supported_states_response, parse_ble_read_local_supported_features_response, parse_ble_read_resolving_list_size_response, parse_ble_read_suggested_default_data_length_response, parse_ble_read_maximum_data_length_response, parse_ble_read_maximum_advertising_data_length, parse_ble_read_number_of_supported_advertising_sets, parse_read_local_supported_codecs_response}

Variables (packet_fragmenter.cc)

const allocator_t * buffer_allocator

const controller_t * controller

const packet_fragmenter_callbacks_t * callbacks

Mentioned in:

std::unordered_map< uint16_t, BT_HDR * > partial_packets

const packet_fragmenter_t interface = {init, cleanup, fragment_and_dispatch, reassemble_and_dispatch}






Add Discussion as Guest

Log in to DocsForge