Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/samples/bluetooth/hci_spi/src/
Dmain.c54 static uint8_t rxmsg[SPI_MAX_MSG_LEN]; variable
174 hci_hdr.cmd_hdr = (struct bt_hci_cmd_hdr *)&rxmsg[1]; in bt_tx_thread()
207 rx.buf = rxmsg; in bt_tx_thread()
218 switch (rxmsg[PACKET_TYPE]) { in bt_tx_thread()
224 net_buf_add_mem(buf, &rxmsg[4], in bt_tx_thread()
236 net_buf_add_mem(buf, &rxmsg[5], in bt_tx_thread()
/Zephyr-Core-3.7.0/drivers/bluetooth/hci/
Dhci_ambiq.c55 static uint8_t __noinit rxmsg[SPI_MAX_RX_MSG_LEN]; variable
310 ret = spi_receive_packet(&rxmsg[0], &len); in bt_spi_rx_thread()
318 if (bt_apollo_vnd_rcv_ongoing(&rxmsg[0], len)) { in bt_spi_rx_thread()
322 switch (rxmsg[PACKET_TYPE]) { in bt_spi_rx_thread()
324 buf = bt_hci_evt_recv(&rxmsg[PACKET_TYPE + PACKET_TYPE_SIZE], in bt_spi_rx_thread()
328 buf = bt_hci_acl_recv(&rxmsg[PACKET_TYPE + PACKET_TYPE_SIZE], in bt_spi_rx_thread()
333 LOG_WRN("Unknown BT buf type %d", rxmsg[PACKET_TYPE]); in bt_spi_rx_thread()
Dspi.c73 static uint8_t __noinit rxmsg[SPI_MAX_MSG_LEN]; variable
271 &rxmsg, size); in bt_spi_rx_thread()
272 if (rxmsg[0] == 0U) { in bt_spi_rx_thread()
279 } while (rxmsg[0] == 0U && ret == 0); in bt_spi_rx_thread()
291 LOG_HEXDUMP_DBG(rxmsg, size, "SPI RX"); in bt_spi_rx_thread()
294 buf = bt_spi_rx_buf_construct(rxmsg); in bt_spi_rx_thread()
Dhci_spi_st.c72 static uint8_t __noinit rxmsg[SPI_MAX_MSG_LEN]; variable
529 ret = bt_spi_transceive(&txmsg, size, &rxmsg, size); in bt_spi_rx_thread()
543 LOG_HEXDUMP_DBG(rxmsg, size, "SPI RX"); in bt_spi_rx_thread()
546 ret = bt_spi_rx_buf_construct(rxmsg, &buf, size); in bt_spi_rx_thread()