/btstack/test/fuzz/ |
H A D | fuzz_hci.c | 16 static int hci_transport_fuzz_can_send_now(uint8_t packet_type){ in hci_transport_fuzz_can_send_now() 20 static int hci_transport_fuzz_send_packet(uint8_t packet_type, uint8_t * packet, int size){ in hci_transport_fuzz_send_packet() 35 static void hci_transport_fuzz_register_packet_handler(void (*handler)(uint8_t packet_type, uint8_t… in hci_transport_fuzz_register_packet_handler() 52 static void l2cap_packet_handler(uint8_t packet_type, uint8_t *packet, uint16_t size){ in l2cap_packet_handler() 75 uint8_t packet_type = (data[0] & 3) + 1; // only 1-4 in LLVMFuzzerTestOneInput() local
|
H A D | fuzz_avrcp.c | 16 static int hci_transport_fuzz_can_send_now(uint8_t packet_type){ in hci_transport_fuzz_can_send_now() 20 static int hci_transport_fuzz_send_packet(uint8_t packet_type, uint8_t * packet, int size){ in hci_transport_fuzz_send_packet() 35 static void hci_transport_fuzz_register_packet_handler(void (*handler)(uint8_t packet_type, uint8_t… in hci_transport_fuzz_register_packet_handler() 52 static void avrcp_client_packet_handler(uint8_t packet_type, uint16_t handle, uint8_t *packet, uint… in avrcp_client_packet_handler()
|
H A D | fuzz_avdtp.c | 17 static int hci_transport_fuzz_can_send_now(uint8_t packet_type){ in hci_transport_fuzz_can_send_now() 21 static int hci_transport_fuzz_send_packet(uint8_t packet_type, uint8_t * packet, int size){ in hci_transport_fuzz_send_packet() 36 static void hci_transport_fuzz_register_packet_handler(void (*handler)(uint8_t packet_type, uint8_t… in hci_transport_fuzz_register_packet_handler() 53 static void avdtp_client_packet_handler(uint8_t packet_type, uint16_t handle, uint8_t *packet, uint… in avdtp_client_packet_handler()
|
H A D | fuzz_gatt_client.c | 14 static int hci_transport_fuzz_can_send_now(uint8_t packet_type){ in hci_transport_fuzz_can_send_now() 18 static int hci_transport_fuzz_send_packet(uint8_t packet_type, uint8_t * packet, int size){ in hci_transport_fuzz_send_packet() 33 static void hci_transport_fuzz_register_packet_handler(void (*handler)(uint8_t packet_type, uint8_t… in hci_transport_fuzz_register_packet_handler() 50 static void gatt_client_packet_handler(uint8_t packet_type, uint16_t handle, uint8_t *packet, uint1… in gatt_client_packet_handler()
|
/btstack/port/stm32-f4discovery-usb/port/ |
H A D | hci_transport_h2_stm32.c | 80 static void hci_transport_h2_stm32_packet_received(uint8_t packet_type, uint8_t * packet, uint16_t … in hci_transport_h2_stm32_packet_received() 106 static void hci_transport_h2_stm32_register_packet_handler(void (*handler)(uint8_t packet_type, uin… in hci_transport_h2_stm32_register_packet_handler() 110 static int hci_transport_h2_stm32_can_send_now(uint8_t packet_type){ in hci_transport_h2_stm32_can_send_now() 114 static int hci_transport_h2_stm32_send_packet(uint8_t packet_type, uint8_t * packet, int size){ in hci_transport_h2_stm32_send_packet()
|
/btstack/src/ |
H A D | hci_dump.c | 81 void hci_dump_packet(uint8_t packet_type, uint8_t in, uint8_t *packet, uint16_t len) { in hci_dump_packet() 134 …er_packetlogger(uint8_t * buffer, uint32_t tv_sec, uint32_t tv_us, uint8_t packet_type, uint8_t in… in hci_dump_setup_header_packetlogger() 164 …up_header_bluez(uint8_t * buffer, uint32_t tv_sec, uint32_t tv_us, uint8_t packet_type, uint8_t in… in hci_dump_setup_header_bluez() 174 …2_t ts_usec_high, uint32_t ts_usec_low, uint32_t cumulative_drops, uint8_t packet_type, uint8_t in… in hci_dump_setup_header_btsnoop()
|
H A D | hci_transport_em9304_spi.c | 501 static int hci_transport_em9304_spi_can_send_now(uint8_t packet_type){ in hci_transport_em9304_spi_can_send_now() 506 static int hci_transport_em9304_spi_send_packet(uint8_t packet_type, uint8_t * packet, int size){ in hci_transport_em9304_spi_send_packet() 541 static void hci_transport_em9304_spi_register_packet_handler(void (*handler)(uint8_t packet_type, u… in hci_transport_em9304_spi_register_packet_handler() 545 static void dummy_handler(uint8_t packet_type, uint8_t *packet, uint16_t size){ in dummy_handler()
|
H A D | hci_transport_h4.c | 376 static int hci_transport_h4_can_send_now(uint8_t packet_type){ in hci_transport_h4_can_send_now() 381 static int hci_transport_h4_send_packet(uint8_t packet_type, uint8_t * packet, int size){ in hci_transport_h4_send_packet() 473 static void hci_transport_h4_register_packet_handler(void (*handler)(uint8_t packet_type, uint8_t *… in hci_transport_h4_register_packet_handler() 477 static void dummy_handler(uint8_t packet_type, uint8_t *packet, uint16_t size){ in dummy_handler()
|
/btstack/chipset/cinnamon/ |
H A D | controller.c | 196 static void transport_packet_handler(uint8_t packet_type, uint8_t * packet, uint16_t size){ in transport_packet_handler() 238 static void transport_register_packet_handler(void (*handler)(uint8_t packet_type, uint8_t *packet,… in transport_register_packet_handler() 242 static int transport_can_send_packet_now(uint8_t packet_type){ in transport_can_send_packet_now() 259 static int transport_send_packet(uint8_t packet_type, uint8_t *packet, int size){ in transport_send_packet()
|
/btstack/example/ |
H A D | hog_boot_host_demo.c | 162 static void handle_boot_keyboard_event(uint8_t packet_type, uint16_t channel, uint8_t *packet, uint… in handle_boot_keyboard_event() 225 static void handle_boot_mouse_event(uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_… in handle_boot_mouse_event() 339 static void handle_gatt_client_event(uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16… in handle_gatt_client_event() 460 static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t size){ in packet_handler() 535 static void sm_packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t size… in sm_packet_handler()
|
H A D | mesh_node_demo.c | 67 static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t size){ in packet_handler() 96 static void mesh_provisioning_message_handler (uint8_t packet_type, uint16_t channel, uint8_t *pack… in mesh_provisioning_message_handler() 127 static void mesh_state_update_message_handler(uint8_t packet_type, uint16_t channel, uint8_t *packe… in mesh_state_update_message_handler()
|
H A D | a2dp_sink_demo.c | 664 static void hci_packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t siz… in hci_packet_handler() 677 static void a2dp_sink_demo_cover_art_packet_handler(uint8_t packet_type, uint16_t channel, uint8_t … in a2dp_sink_demo_cover_art_packet_handler() 756 static void avrcp_packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t s… in avrcp_packet_handler() 805 static void avrcp_controller_packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packet,… in avrcp_controller_packet_handler() 974 static void avrcp_target_packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packet, uin… in avrcp_target_packet_handler() 1013 static void a2dp_sink_packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16… in a2dp_sink_packet_handler()
|
H A D | nordic_spp_le_streamer.c | 166 static void hci_packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t si… in hci_packet_handler() 226 static void att_packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t si… in att_packet_handler() 306 static void nordic_spp_packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packet, uint1… in nordic_spp_packet_handler()
|
H A D | spp_and_gatt_streamer.c | 199 static void hci_packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t si… in hci_packet_handler() 282 static void rfcomm_packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t… in rfcomm_packet_handler() 363 static void att_packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t si… in att_packet_handler()
|
H A D | ancs_client_demo.c | 73 static void app_packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t si… in app_packet_handler() 92 static void ancs_callback(uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t size){ in ancs_callback()
|
/btstack/port/esp32/components/btstack/ |
H A D | btstack_port_esp32.c | 295 static void transport_register_packet_handler(void (*handler)(uint8_t packet_type, uint8_t *packet,… in transport_register_packet_handler() 301 static int transport_can_send_packet_now(uint8_t packet_type) { in transport_can_send_packet_now() 306 static int transport_send_packet(uint8_t packet_type, uint8_t *packet, int size){ in transport_send_packet() 359 static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t size){ in packet_handler()
|
/btstack/port/mtk/ |
H A D | hci_transport_h4_mtk.c | 109 static int h4_send_packet(uint8_t packet_type, uint8_t * packet, int size){ in h4_send_packet() 123 static void h4_register_packet_handler(void (*handler)(uint8_t packet_type, uint8_t *packet, uint… in h4_register_packet_handler() 156 static void dummy_handler(uint8_t packet_type, uint8_t *packet, uint16_t size){ in dummy_handler()
|
/btstack/test/mesh/ |
H A D | mesh_pts.c | 118 static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t size){ in packet_handler() 154 static void mesh_provisioning_message_handler (uint8_t packet_type, uint16_t channel, uint8_t *pack… in mesh_provisioning_message_handler() 208 static void mesh_state_update_message_handler(uint8_t packet_type, uint16_t channel, uint8_t *packe… in mesh_state_update_message_handler() 234 static void mesh_configuration_message_handler(uint8_t packet_type, uint16_t channel, uint8_t *pack… in mesh_configuration_message_handler() 291 static void mesh_unprovisioned_beacon_handler(uint8_t packet_type, uint16_t channel, uint8_t *packe… in mesh_unprovisioned_beacon_handler()
|
H A D | provisioner.c | 114 static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t size){ in packet_handler() 149 static void mesh_message_handler (uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t … in mesh_message_handler() 245 static void mesh_unprovisioned_beacon_handler(uint8_t packet_type, uint16_t channel, uint8_t *packe… in mesh_unprovisioned_beacon_handler()
|
/btstack/test/security_manager_sc/ |
H A D | sm_test.c | 201 static void handle_gatt_client_event(uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16… in handle_gatt_client_event() 279 static void hci_packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t si… in hci_packet_handler() 317 static void sm_packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t siz… in sm_packet_handler() 361 static void att_packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t si… in att_packet_handler()
|
/btstack/test/l2cap-cbm/ |
H A D | l2cap_cbm_test.cpp | 25 static void mock_hci_transport_register_packet_handler(void (*packet_handler)(uint8_t packet_type, … in mock_hci_transport_register_packet_handler() 28 static int mock_hci_transport_send_packet(uint8_t packet_type, uint8_t *packet, int size){ in mock_hci_transport_send_packet() 47 void mock_hci_transport_receive_packet(uint8_t packet_type, const uint8_t * packet, uint16_t size){ in mock_hci_transport_receive_packet() 131 static void l2cap_channel_packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packet, ui… in l2cap_channel_packet_handler()
|
/btstack/test/gap/ |
H A D | test_le_scan.cpp | 38 static int hci_transport_test_can_send_now(uint8_t packet_type){ in hci_transport_test_can_send_now() 42 static int hci_transport_test_send_packet(uint8_t packet_type, uint8_t * packet, int size){ in hci_transport_test_send_packet() 64 static void hci_transport_test_register_packet_handler(void (*handler)(uint8_t packet_type, uint8_t… in hci_transport_test_register_packet_handler()
|
/btstack/port/zephyr/src/ |
H A D | main.c | 83 static void transport_register_packet_handler(void (*handler)(uint8_t packet_type, uint8_t *packet,… in transport_register_packet_handler() 94 static int transport_send_packet(uint8_t packet_type, uint8_t *packet, int size){ in transport_send_packet() 277 static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t size){ in packet_handler()
|
/btstack/port/freebsd-netgraph/ |
H A D | hci_transport_netgraph.c | 321 static void hci_transport_netgraph_register_packet_handler(void (*handler)(uint8_t packet_type, uin… in hci_transport_netgraph_register_packet_handler() 325 static int hci_transport_netgraph_can_send_now(uint8_t packet_type){ in hci_transport_netgraph_can_send_now() 330 static int hci_transport_netgraph_send_packet(uint8_t packet_type, uint8_t * packet, int size) { in hci_transport_netgraph_send_packet()
|
/btstack/platform/windows/ |
H A D | hci_dump_windows_stdout.c | 67 static void hci_dump_windows_stdout_packet(uint8_t packet_type, uint8_t in, uint8_t * packet, uint1… in hci_dump_windows_stdout_packet() 123 static void hci_dump_windows_stdout_log_packet(uint8_t packet_type, uint8_t in, uint8_t *packet, ui… in hci_dump_windows_stdout_log_packet()
|