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.
This commit is contained in:
Damien George
2020-03-10 01:47:16 +11:00
parent d7259f6b1c
commit e965363b6b
7 changed files with 60 additions and 32 deletions

View File

@@ -32,6 +32,6 @@ void rfcore_init(void);
void rfcore_ble_init(void);
void rfcore_ble_hci_cmd(size_t len, const uint8_t *src);
void rfcore_ble_check_msg(int (*cb)(void *, uint8_t), void *env);
void rfcore_ble_check_msg(int (*cb)(void *, const uint8_t *, size_t), void *env);
#endif // MICROPY_INCLUDED_STM32_RFCORE_H