Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Mote.h
- Revision:
- 180:a78812699800
- Parent:
- 172:7ec44396a51b
--- a/Mote.h Tue Sep 18 08:25:04 2018 -0500
+++ b/Mote.h Tue Sep 18 10:59:15 2018 -0500
@@ -95,12 +95,11 @@
/**
* Fired when a beacon is received
- * @param payload received bytes
- * @param size number of received bytes
+ * @param beacon_data parsed from the beacon payload
* @param rssi of received beacon
* @param snr of received beacon
*/
- virtual void BeaconRx(uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr);
+ virtual void BeaconRx(const BeaconData_t& beacon_data, int16_t rssi, int8_t snr);
/**
* Fired upon losing beacon synchronization (120 minutes elapsed from last beacon reception)