diff options
| author | iabdalkader <i.abdalkader@gmail.com> | 2021-07-22 14:39:44 +0200 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2021-09-19 23:00:39 +1000 |
| commit | 80f2c794e60f59179cf530d3add53a4acbe75e55 (patch) | |
| tree | e8da8ec76e91395e9ffa657f8318045db89517e5 | |
| parent | 6e39f2cc1ed7d4e6a6b1d3132a1b5a73b198ef38 (diff) | |
extmod/mpbthci.h: Add mp_bluetooth_hci_uart_any prototype.
This allows drivers to use mpbthciport functions to read/write/poll UART.
| -rw-r--r-- | extmod/mpbthci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extmod/mpbthci.h b/extmod/mpbthci.h index acb5b832b..699723803 100644 --- a/extmod/mpbthci.h +++ b/extmod/mpbthci.h @@ -45,6 +45,7 @@ int mp_bluetooth_hci_controller_wakeup(void); int mp_bluetooth_hci_uart_init(uint32_t port, uint32_t baudrate); int mp_bluetooth_hci_uart_deinit(void); int mp_bluetooth_hci_uart_set_baudrate(uint32_t baudrate); +int mp_bluetooth_hci_uart_any(void); int mp_bluetooth_hci_uart_readchar(void); int mp_bluetooth_hci_uart_write(const uint8_t *buf, size_t len); |
