Home
last modified time | relevance | path

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

/Zephyr-latest/samples/bluetooth/hci_uart_async/src/
Dhci_uart_async.c76 static uint32_t hci_payload_size(const uint8_t *hdr_buf, uint8_t h4_type) in hci_payload_size() argument
78 switch (h4_type) { in hci_payload_size()
87 LOG_ERR("Invalid type: %u", h4_type); in hci_payload_size()
92 static uint8_t hci_hdr_size(uint8_t h4_type) in hci_hdr_size() argument
94 switch (h4_type) { in hci_hdr_size()
102 LOG_ERR("Unexpected h4 type: %u", h4_type); in hci_hdr_size()
206 uint8_t h4_type; in h2c_h4_transport() local
214 err = uart_h2c_rx(&h4_type, sizeof(uint8_t)); in h2c_h4_transport()
219 LOG_DBG("h2c: h4_type %d", h4_type); in h2c_h4_transport()
222 buf = bt_buf_get_tx(BT_BUF_H4, K_FOREVER, &h4_type, sizeof(h4_type)); in h2c_h4_transport()
[all …]
/Zephyr-latest/subsys/bluetooth/host/
Dhci_raw.c134 uint8_t h4_type = ((uint8_t *)data)[0]; in bt_buf_get_tx() local
136 switch (h4_type) { in bt_buf_get_tx()
152 LOG_ERR("Unknown H4 type %u", h4_type); in bt_buf_get_tx()