Searched refs:packet_buffer (Results 1 – 5 of 5) sorted by relevance
/btstack/test/security_manager/ |
H A D | mock.c | 17 static uint8_t packet_buffer[256]; variable 32 return packet_buffer; in mock_packet_buffer() 37 memset(packet_buffer, 0, sizeof(packet_buffer)); in mock_clear_packet_buffer() 238 uint16_t len = hci_cmd_create_from_template(packet_buffer, cmd, argptr); in hci_send_cmd() 240 hci_dump_packet(HCI_COMMAND_DATA_PACKET, 0, packet_buffer, len); in hci_send_cmd() 241 dump_packet(HCI_COMMAND_DATA_PACKET, packet_buffer, len); in hci_send_cmd() 246 uint8_t * key_flipped = &packet_buffer[3]; in hci_send_cmd() 251 uint8_t * plaintext_flipped = &packet_buffer[19]; in hci_send_cmd() 286 little_endian_store_16(packet_buffer, 0, handle | (pb << 12) | (0 << 14)); in l2cap_send_connectionless() 288 little_endian_store_16(packet_buffer, 2, len + 4); in l2cap_send_connectionless() [all …]
|
/btstack/test/mesh/ |
H A D | mock.c | 16 static uint8_t packet_buffer[256]; variable 36 return packet_buffer; in mock_packet_buffer() 41 memset(packet_buffer, 0, sizeof(packet_buffer)); in mock_clear_packet_buffer() 127 uint16_t len = hci_cmd_create_from_template(packet_buffer, cmd, argptr); in hci_send_cmd() 129 hci_dump_packet(HCI_COMMAND_DATA_PACKET, 0, packet_buffer, len); in hci_send_cmd() 130 dump_packet(HCI_COMMAND_DATA_PACKET, packet_buffer, len); in hci_send_cmd() 135 uint8_t * key_flipped = &packet_buffer[3]; in hci_send_cmd() 138 uint8_t * plaintext_flipped = &packet_buffer[19]; in hci_send_cmd()
|
/btstack/test/crypto/ |
H A D | mock.c | 8 static uint8_t packet_buffer[256]; variable 46 uint16_t len = hci_cmd_create_from_template(packet_buffer, cmd, argptr); in hci_send_cmd() 48 hci_dump_packet(HCI_COMMAND_DATA_PACKET, 0, packet_buffer, len); in hci_send_cmd() 52 uint8_t * key_flipped = &packet_buffer[3]; in hci_send_cmd() 55 uint8_t * plaintext_flipped = &packet_buffer[19]; in hci_send_cmd()
|
/btstack/src/ble/ |
H A D | att_server.c | 1382 uint8_t * packet_buffer = NULL; in att_server_prepare_server_message() local 1390 packet_buffer = eatt_bearer->send_buffer; in att_server_prepare_server_message() 1404 if (packet_buffer == NULL){ in att_server_prepare_server_message() 1406 packet_buffer = l2cap_get_outgoing_buffer(); in att_server_prepare_server_message() 1411 *out_packet_buffer = packet_buffer; in att_server_prepare_server_message() 1418 uint8_t * packet_buffer = NULL; in att_server_notify() local 1420 …atus = att_server_prepare_server_message(con_handle, &att_server, &att_connection, &packet_buffer); in att_server_notify() 1425 …epare_handle_value_notification(att_connection, attribute_handle, value, value_len, packet_buffer); in att_server_notify() 1444 uint8_t * packet_buffer = NULL; in att_server_multiple_notify() local 1446 …atus = att_server_prepare_server_message(con_handle, &att_server, &att_connection, &packet_buffer); in att_server_multiple_notify() [all …]
|
/btstack/test/gatt_client/ |
H A D | mock.c | 25 static uint8_t packet_buffer[256]; variable 126 uint16_t len = hci_cmd_create_from_template(packet_buffer, cmd, argptr); in hci_send_cmd() 128 hci_dump_packet(HCI_COMMAND_DATA_PACKET, 0, packet_buffer, len); in hci_send_cmd()
|