Home
last modified time | relevance | path

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

/Zephyr-latest/samples/bluetooth/hci_ipc/src/
Dmain.c167 uint8_t pkt_indicator; in hci_ipc_rx() local
173 pkt_indicator = *data++; in hci_ipc_rx()
174 remaining -= sizeof(pkt_indicator); in hci_ipc_rx()
176 switch (pkt_indicator) { in hci_ipc_rx()
190 LOG_ERR("Unknown HCI type %u", pkt_indicator); in hci_ipc_rx()
225 uint8_t pkt_indicator; in hci_ipc_send() local
235 pkt_indicator = HCI_IPC_ACL; in hci_ipc_send()
238 pkt_indicator = HCI_IPC_EVT; in hci_ipc_send()
241 pkt_indicator = HCI_IPC_ISO; in hci_ipc_send()
248 net_buf_push_u8(buf, pkt_indicator); in hci_ipc_send()
/Zephyr-latest/drivers/bluetooth/hci/
Dhci_esp32.c191 uint8_t pkt_indicator; in hci_esp_host_rcv_pkt() local
197 pkt_indicator = *data++; in hci_esp_host_rcv_pkt()
198 remaining -= sizeof(pkt_indicator); in hci_esp_host_rcv_pkt()
200 switch (pkt_indicator) { in hci_esp_host_rcv_pkt()
214 LOG_ERR("Unknown HCI type %u", pkt_indicator); in hci_esp_host_rcv_pkt()
240 uint8_t pkt_indicator; in bt_esp32_send() local
246 pkt_indicator = BT_HCI_H4_ACL; in bt_esp32_send()
249 pkt_indicator = BT_HCI_H4_CMD; in bt_esp32_send()
252 pkt_indicator = BT_HCI_H4_ISO; in bt_esp32_send()
258 net_buf_push_u8(buf, pkt_indicator); in bt_esp32_send()
Dipc.c213 uint8_t pkt_indicator; in bt_ipc_rx() local
219 pkt_indicator = *data++; in bt_ipc_rx()
220 remaining -= sizeof(pkt_indicator); in bt_ipc_rx()
222 switch (pkt_indicator) { in bt_ipc_rx()
236 LOG_ERR("Unknown HCI type %u", pkt_indicator); in bt_ipc_rx()
252 uint8_t pkt_indicator; in bt_ipc_send() local
258 pkt_indicator = BT_HCI_H4_ACL; in bt_ipc_send()
261 pkt_indicator = BT_HCI_H4_CMD; in bt_ipc_send()
264 pkt_indicator = BT_HCI_H4_ISO; in bt_ipc_send()
270 net_buf_push_u8(buf, pkt_indicator); in bt_ipc_send()
Dhci_stm32wba.c238 uint8_t pkt_indicator; in receive_data() local
245 pkt_indicator = *data++; in receive_data()
246 len -= sizeof(pkt_indicator); in receive_data()
248 switch (pkt_indicator) { in receive_data()
261 LOG_ERR("Unknown HCI type %u", pkt_indicator); in receive_data()
305 uint8_t pkt_indicator; in bt_hci_stm32wba_send() local
316 pkt_indicator = BT_HCI_H4_ACL; in bt_hci_stm32wba_send()
319 pkt_indicator = BT_HCI_H4_CMD; in bt_hci_stm32wba_send()
322 pkt_indicator = BT_HCI_H4_ISO; in bt_hci_stm32wba_send()
329 net_buf_push_u8(buf, pkt_indicator); in bt_hci_stm32wba_send()