summaryrefslogtreecommitdiff
path: root/extmod/modbluetooth_hci.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2020-03-10 01:47:16 +1100
committerDamien George <damien.p.george@gmail.com>2020-03-10 01:53:42 +1100
commite965363b6b66785ff088c4e998a7e80783bdd97c (patch)
tree715ea19688b298c1966cf7291d566b3952425a89 /extmod/modbluetooth_hci.h
parentd7259f6b1c746d352c658bf94a4e0d4c92712ba5 (diff)
stm32: Refactor Bluetooth HCI RX to be independent of transport layer.
Now all HCI specific code (eg UART vs WB55 internal messaging) is confined to modbluetooth_hci.c.
Diffstat (limited to 'extmod/modbluetooth_hci.h')
-rw-r--r--extmod/modbluetooth_hci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/extmod/modbluetooth_hci.h b/extmod/modbluetooth_hci.h
index 6d44761a4..d6b432d22 100644
--- a/extmod/modbluetooth_hci.h
+++ b/extmod/modbluetooth_hci.h
@@ -50,6 +50,7 @@ extern pyb_uart_obj_t mp_bluetooth_hci_uart_obj;
int mp_bluetooth_hci_uart_init(uint32_t port);
int mp_bluetooth_hci_uart_activate(void);
int mp_bluetooth_hci_uart_set_baudrate(uint32_t baudrate);
+int mp_bluetooth_hci_uart_readchar(void);
int mp_bluetooth_hci_uart_write(const uint8_t *buf, size_t len);
#endif // MICROPY_INCLUDED_EXTMOD_MODBLUETOOTH_HCI_H