Home
last modified time | relevance | path

Searched refs:pkt_indicator (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.5.0/drivers/bluetooth/hci/
Dhci_esp32.c189 uint8_t pkt_indicator; in hci_esp_host_rcv_pkt() local
195 pkt_indicator = *data++; in hci_esp_host_rcv_pkt()
196 remaining -= sizeof(pkt_indicator); in hci_esp_host_rcv_pkt()
198 switch (pkt_indicator) { in hci_esp_host_rcv_pkt()
212 LOG_ERR("Unknown HCI type %u", pkt_indicator); in hci_esp_host_rcv_pkt()
238 uint8_t pkt_indicator; in bt_esp32_send() local
244 pkt_indicator = HCI_ACL; in bt_esp32_send()
247 pkt_indicator = HCI_CMD; in bt_esp32_send()
250 pkt_indicator = HCI_ISO; in bt_esp32_send()
256 net_buf_push_u8(buf, pkt_indicator); in bt_esp32_send()
Drpmsg.c203 uint8_t pkt_indicator; in bt_rpmsg_rx() local
209 pkt_indicator = *data++; in bt_rpmsg_rx()
210 remaining -= sizeof(pkt_indicator); in bt_rpmsg_rx()
212 switch (pkt_indicator) { in bt_rpmsg_rx()
226 LOG_ERR("Unknown HCI type %u", pkt_indicator); in bt_rpmsg_rx()
253 uint8_t pkt_indicator; in bt_rpmsg_send() local
259 pkt_indicator = RPMSG_ACL; in bt_rpmsg_send()
262 pkt_indicator = RPMSG_CMD; in bt_rpmsg_send()
265 pkt_indicator = RPMSG_ISO; in bt_rpmsg_send()
271 net_buf_push_u8(buf, pkt_indicator); in bt_rpmsg_send()
Dhci_b91.c142 uint8_t pkt_indicator; in hci_b91_host_rcv_pkt() local
147 pkt_indicator = *data++; in hci_b91_host_rcv_pkt()
148 len -= sizeof(pkt_indicator); in hci_b91_host_rcv_pkt()
150 switch (pkt_indicator) { in hci_b91_host_rcv_pkt()
161 LOG_ERR("Unknown HCI type %u", pkt_indicator); in hci_b91_host_rcv_pkt()
/Zephyr-Core-3.5.0/samples/bluetooth/hci_rpmsg/src/
Dmain.c167 uint8_t pkt_indicator; in hci_rpmsg_rx() local
173 pkt_indicator = *data++; in hci_rpmsg_rx()
174 remaining -= sizeof(pkt_indicator); in hci_rpmsg_rx()
176 switch (pkt_indicator) { in hci_rpmsg_rx()
190 LOG_ERR("Unknown HCI type %u", pkt_indicator); in hci_rpmsg_rx()
225 uint8_t pkt_indicator; in hci_rpmsg_send() local
235 pkt_indicator = HCI_RPMSG_ACL; in hci_rpmsg_send()
238 pkt_indicator = HCI_RPMSG_EVT; in hci_rpmsg_send()
241 pkt_indicator = HCI_RPMSG_ISO; in hci_rpmsg_send()
248 net_buf_push_u8(buf, pkt_indicator); in hci_rpmsg_send()