Home
last modified time | relevance | path

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

/hal_espressif-latest/components/bt/porting/transport/driver/common/
Dhci_driver_h4.c104 hci_h4_sm_w4_header(struct hci_h4_sm *h4sm, struct hci_h4_input_buffer *ib) in hci_h4_sm_w4_header() argument
108 rc = hci_h4_ib_pull_min_len(h4sm, ib); in hci_h4_sm_w4_header()
114 switch (h4sm->pkt_type) { in hci_h4_sm_w4_header()
116 assert(h4sm->allocs && h4sm->allocs->cmd); in hci_h4_sm_w4_header()
117 h4sm->buf = h4sm->allocs->cmd(); in hci_h4_sm_w4_header()
118 if (!h4sm->buf) { in hci_h4_sm_w4_header()
122 memcpy(h4sm->buf, h4sm->hdr, h4sm->len); in hci_h4_sm_w4_header()
123 h4sm->exp_len = h4sm->hdr[2] + 3; in hci_h4_sm_w4_header()
127 assert(h4sm->allocs && h4sm->allocs->acl); in hci_h4_sm_w4_header()
128 h4sm->om = h4sm->allocs->acl(); in hci_h4_sm_w4_header()
[all …]
/hal_espressif-latest/components/bt/porting/transport/include/common/
Dhci_driver_h4.h69 void hci_h4_sm_init(struct hci_h4_sm *h4sm,
73 int hci_h4_sm_rx(struct hci_h4_sm *h4sm, const uint8_t *buf, uint16_t len);