mirror of https://github.com/ARMmbed/mbed-os.git
Immutable Payload from radio
Received data buffer from radio driver should be immutable.pull/6808/head
parent
11901f115b
commit
e5e8e79a7a
|
|
@ -154,7 +154,7 @@ typedef struct radio_events {
|
||||||
* FSK : N/A (set to 0)
|
* FSK : N/A (set to 0)
|
||||||
* LoRa: SNR value in dB
|
* LoRa: SNR value in dB
|
||||||
*/
|
*/
|
||||||
mbed::Callback<void(uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr)> rx_done;
|
mbed::Callback<void(const uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr)> rx_done;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Callback when Reception is timed out
|
* Callback when Reception is timed out
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue