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:
Andrew Leech
2022-05-25 12:41:51 +10:00
committed by Damien George
parent 91fb9e7888
commit 8fb01be6cf
4 changed files with 30 additions and 34 deletions

View File

@@ -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);