/hal_espressif-latest/components/bt/host/bluedroid/hci/ |
D | packet_fragmenter.c | 70 static void fragment_and_dispatch(BT_HDR *packet) in fragment_and_dispatch() argument 74 uint16_t event = packet->event & MSG_EVT_MASK; in fragment_and_dispatch() 75 uint8_t *stream = packet->data + packet->offset; in fragment_and_dispatch() 77 assert(packet != NULL); in fragment_and_dispatch() 81 callbacks->fragmented(packet, true); in fragment_and_dispatch() 86 SUB_EVENT(packet->event) == LOCAL_BR_EDR_CONTROLLER_ID ? in fragment_and_dispatch() 91 …if((packet->len > max_packet_size) && (packet->layer_specific == 0) && (event == MSG_STACK_TO_HC_H… in fragment_and_dispatch() 92 packet->event = MSG_HC_TO_STACK_L2C_SEG_XMIT; in fragment_and_dispatch() 94 callbacks->transmit_finished(packet, false); in fragment_and_dispatch() 98 remaining_length = packet->len; in fragment_and_dispatch() [all …]
|
D | hci_packet_factory.c | 49 BT_HDR *packet = make_command(HCI_SET_HC_TO_HOST_FLOW_CTRL, parameter_size, &stream); in make_set_c2h_flow_control() local 52 return packet; in make_set_c2h_flow_control() 59 BT_HDR *packet = make_command(HCI_VENDOR_BLE_SET_ADV_FLOW_CONTROL, parameter_size, &stream); in make_set_adv_report_flow_control() local 64 return packet; in make_set_adv_report_flow_control() 71 BT_HDR *packet = make_command(HCI_HOST_BUFFER_SIZE, parameter_size, &stream); in make_host_buffer_size() local 77 return packet; in make_host_buffer_size() 104 BT_HDR *packet = make_command(HCI_READ_LOCAL_EXT_FEATURES, parameter_size, &stream); in make_read_local_extended_features() local 107 return packet; in make_read_local_extended_features() 114 BT_HDR *packet = make_command(HCI_WRITE_SIMPLE_PAIRING_MODE, parameter_size, &stream); in make_write_simple_pairing_mode() local 117 return packet; in make_write_simple_pairing_mode() [all …]
|
D | hci_hal_h4.c | 91 static void hci_hal_h4_hdl_rx_packet(BT_HDR *packet); 233 BT_HDR *packet = fixed_queue_dequeue(rx_q, 0); in hci_upstream_data_handler() local 234 if (packet != NULL) { in hci_upstream_data_handler() 235 hci_hal_h4_hdl_rx_packet(packet); in hci_upstream_data_handler() 261 static void hci_packet_complete(BT_HDR *packet){ in hci_packet_complete() argument 265 uint8_t *stream = packet->data + packet->offset; in hci_packet_complete() 276 bool host_recv_adv_packet(uint8_t *packet) in host_recv_adv_packet() argument 278 assert(packet); in host_recv_adv_packet() 279 if(packet[0] == DATA_TYPE_EVENT && packet[1] == HCI_BLE_EVENT) { in host_recv_adv_packet() 280 if(packet[3] == HCI_BLE_ADV_PKT_RPT_EVT || packet[3] == HCI_BLE_DIRECT_ADV_EVT in host_recv_adv_packet() [all …]
|
D | hci_layer.c | 94 static void hal_says_packet_ready(BT_HDR *packet); 95 static bool filter_incoming_event(BT_HDR *packet); 98 static void dispatch_reassembled(BT_HDR *packet); 339 BT_HDR *packet = (BT_HDR *)fixed_queue_dequeue(queue, FIXED_QUEUE_MAX_TIMEOUT); in event_packet_ready() local 342 packet_fragmenter->fragment_and_dispatch(packet); in event_packet_ready() 346 static void transmit_fragment(BT_HDR *packet, bool send_transmit_finished) in transmit_fragment() argument 348 uint16_t event = packet->event & MSG_EVT_MASK; in transmit_fragment() 351 hal->transmit_data(type, packet->data + packet->offset, packet->len); in transmit_fragment() 354 osi_free(packet); in transmit_fragment() 358 static void fragmenter_transmit_finished(BT_HDR *packet, bool all_fragments_sent) in fragmenter_transmit_finished() argument [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/hci/include/hci/ |
D | packet_fragmenter.h | 26 typedef void (*transmit_finished_cb)(BT_HDR *packet, bool all_fragments_sent); 27 typedef void (*packet_reassembled_cb)(BT_HDR *packet); 28 typedef void (*packet_fragmented_cb)(BT_HDR *packet, bool send_transmit_finished); 53 void (*fragment_and_dispatch)(BT_HDR *packet); 57 void (*reassemble_and_dispatch)(BT_HDR *packet);
|
D | hci_hal.h | 36 typedef void (*packet_ready_cb)(BT_HDR *packet);
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/l2cap/ |
D | l2cap_client.c | 48 static void read_ready_cb(uint16_t local_channel_id, BT_HDR *packet); 51 static void fragment_packet(l2cap_client_t *client, buffer_t *packet); 185 bool l2cap_client_write(l2cap_client_t *client, buffer_t *packet) in l2cap_client_write() argument 188 assert(packet != NULL); in l2cap_client_write() 195 fragment_packet(client, packet); in l2cap_client_write() 364 static void read_ready_cb(uint16_t local_channel_id, BT_HDR *packet) in read_ready_cb() argument 375 buffer_t *buffer = buffer_new(packet->len); in read_ready_cb() 376 memcpy(buffer_ptr(buffer), packet->data + packet->offset, packet->len); in read_ready_cb() 377 osi_free(packet); in read_ready_cb() 390 static void fragment_packet(l2cap_client_t *client, buffer_t *packet) in fragment_packet() argument [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/ |
D | l2cap_client.h | 33 void (*read_ready)(l2cap_client_t *client, buffer_t *packet, void *context); 76 bool l2cap_client_write(l2cap_client_t *client, buffer_t *packet);
|
/hal_espressif-latest/tools/esptool_py/docs/en/advanced-topics/ |
D | serial-protocol.rst | 23 … chip. The ESP chip responds to the request with a SLIP encoded response packet, including status … 30 …es `SLIP <https://en.wikipedia.org/wiki/Serial_Line_Internet_Protocol>`_ packet framing for data t… 32 …packet begins and ends with ``0xC0``. Within the packet, all occurrences of ``0xC0`` and ``0xDB`` … 37 Each command is a SLIP packet initiated by the host and results in a response packet. Inside the pa… 40 :caption: Command packet format 61 …command will result in a response SLIP packet sent from the ESP chip to the host. Contents of the … 64 :caption: Command packet format 72 | 1 | Command | Same value as Command identifier in the request packet that triggered the … 164 …ur 32-bit words: size to erase, number of data packets, data size in one packet, flash offset. … 170 …data>`__ | Total size, number of data packets, data size in one packet, memory offset … [all …]
|
/hal_espressif-latest/components/esp_wifi/ |
D | Kconfig | 95 … For each TX packet from uplayer, such as LWIP etc, WiFi driver needs to allocate a static TX 96 … buffer and makes a copy of uplayer packet. If WiFi driver fails to allocate the static TX buffer, 251 … with their size determined by the length of the management packet to be sent. When a management 252 … packet is less than 64 bytes, the Wi-Fi driver classifies it as a short management packet and 333 …it will work for at least ESP_WIFI_SLP_DEFAULT_MIN_ACTIVE_TIME. If a data packet is received or se… 342 Only for station in WIFI_PS_MIN_MODEM or WIFI_PS_MAX_MODEM. If no packet has been 343 sent within ESP_WIFI_SLP_DEFAULT_MAX_ACTIVE_TIME, a null data packet will be sent 352 … that AP will send broadcast packet, it will wait for ESP_WIFI_SLP_DEFAULT_WAIT_BROADCAST_DATA_TIME 353 … before entering the sleep process. If a broadcast packet is received with more data bits, the time
|
/hal_espressif-latest/components/bt/controller/esp32c6/ |
D | Kconfig.in | 290 maximum size of a packet. 575 …advertiser address filtering. The adv packet of the same address is only allowed to be reported on… 585 … This way is to use advertiser address filtering. The adv packet of the same address is only 619 There are two scenarios where the ADV packet will be repeatedly reported: 633 …Enable CCA feature to cancel sending the packet if the signal power is stronger than CCA threshold.
|
/hal_espressif-latest/components/bt/controller/esp32h2/ |
D | Kconfig.in | 281 maximum size of a packet. 567 …advertiser address filtering. The adv packet of the same address is only allowed to be reported on… 577 … This way is to use advertiser address filtering. The adv packet of the same address is only 611 There are two scenarios where the ADV packet will be repeatedly reported: 625 …Enable CCA feature to cancel sending the packet if the signal power is stronger than CCA threshold.
|
/hal_espressif-latest/components/esp_netif/ |
D | Kconfig | 43 … that packet input to TCP/IP stack failed, so the upper layers could implement flow control.
|
D | README.md | 23 | |...<....|...| esp_netif_free_rx_buffer |...<.....| packet buffer |
|
/hal_espressif-latest/components/bt/controller/esp32c3/ |
D | Kconfig.in | 114 the packet hw to be sent this time is cancelled. 273 …advertiser address filtering. The adv packet of the same address is only allowed to be reported on… 325 There are two scenarios where the ADV packet will be repeatedly reported: 473 bool "Enable aux packet when ext adv data length is zero"
|
/hal_espressif-latest/components/bt/controller/esp32/ |
D | Kconfig.in | 318 …advertiser address filtering. The adv packet of the same address is only allowed to be reported on… 328 … This way is to use advertiser address filtering. The adv packet of the same address is only 371 There are two scenarios where the ADV packet will be repeatedly reported:
|
/hal_espressif-latest/tools/esptool_py/docs/en/ |
D | troubleshooting.rst | 153 Esptool didn't receive any byte of data or a successful :ref:`slip packet <low-level-protocol>`. Th… 177 Invalid head of packet (0xXX): Possible serial noise or corruption. 184 … information). This data in the serial buffer result in "Invalid head of packet". You can verify t…
|
/hal_espressif-latest/components/bt/controller/esp32c2/ |
D | Kconfig.in | 256 maximum size of a packet. 537 …Enable CCA feature to cancel sending the packet if the signal power is stronger than CCA threshold.
|
/hal_espressif-latest/tools/esptool_py/esptool/ |
D | loader.py | 414 def write(self, packet): argument 418 + (packet.replace(b"\xdb", b"\xdb\xdd").replace(b"\xc0", b"\xdb\xdc"))
|
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/gap/ |
D | btc_gap_ble.c | 2512 btc_adv_packet_t *packet = (btc_adv_packet_t *)list_node(node); in btc_check_adv_list() local 2513 if(!bdcmp(addr, packet->addr) && packet->addr_type == addr_type) { in btc_check_adv_list()
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/btm/ |
D | btm_ble_gap.c | 3527 BT_HDR *packet = (BT_HDR *)linked_pkt->data; in btm_adv_pkt_handler() local 3528 uint8_t *p = packet->data + packet->offset; in btm_adv_pkt_handler()
|
/hal_espressif-latest/components/bt/host/nimble/ |
D | Kconfig.in | 346 maximum size of a packet.
|
/hal_espressif-latest/components/bt/esp_ble_mesh/ |
D | Kconfig.in | 559 However, it should be noted that enabling this option may result in packet
|