khang_91
Diff: Mote.h
- Revision:
- 180:a78812699800
- Parent:
- 172:7ec44396a51b
diff -r 578d8030ba57 -r a78812699800 Mote.h --- 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)