mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
stm32/rfcore: Remove extra layer of buffering on BLE IPCC.
Whole packets are now pushed up to the higher layer of the BLE stack, instead of buffering the packets so individual bytes can be requested.
This commit is contained in:
committed by
Damien George
parent
91fb9e7888
commit
8fb01be6cf
@@ -28,11 +28,13 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
typedef void (*rfcore_ble_msg_callback_t)(void *, const uint8_t *, size_t);
|
||||
|
||||
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 *, const uint8_t *, size_t), void *env);
|
||||
size_t rfcore_ble_check_msg(rfcore_ble_msg_callback_t cb, void *env);
|
||||
void rfcore_ble_set_txpower(uint8_t level);
|
||||
|
||||
void rfcore_start_flash_erase(void);
|
||||
|
||||
Reference in New Issue
Block a user