Home
last modified time | relevance | path

Searched refs:partial_packet (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.6.0/components/bt/host/bluedroid/hci/
Dpacket_fragmenter.c155 BT_HDR *partial_packet = (BT_HDR *)hash_map_get(partial_packets, (void *)(uintptr_t)handle); in reassemble_and_dispatch() local
158 if (partial_packet) { in reassemble_and_dispatch()
161 osi_free(partial_packet); in reassemble_and_dispatch()
173 partial_packet = (BT_HDR *)osi_calloc(full_length + sizeof(BT_HDR)); in reassemble_and_dispatch()
174 partial_packet->event = packet->event; in reassemble_and_dispatch()
175 partial_packet->len = full_length; in reassemble_and_dispatch()
176 partial_packet->offset = packet->len; in reassemble_and_dispatch()
178 memcpy(partial_packet->data, packet->data + packet->offset, packet->len); in reassemble_and_dispatch()
181 stream = partial_packet->data; in reassemble_and_dispatch()
185 hash_map_set(partial_packets, (void *)(uintptr_t)handle, partial_packet); in reassemble_and_dispatch()
[all …]
/hal_espressif-3.6.0/components/esptool_py/esptool/esptool/
Dloader.py1501 partial_packet = None
1508 if partial_packet is None: # fail due to no data
1516 len(partial_packet)
1523 if partial_packet is None: # waiting for packet header
1525 partial_packet = b""
1541 partial_packet += b"\xc0"
1543 partial_packet += b"\xdb"
1556 trace_function("Received full packet: %s", HexFormatter(partial_packet))
1557 yield partial_packet
1558 partial_packet = None
[all …]