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:
- 26:17479e0039f6
- Parent:
- 19:f3a46d2bb9b3
- Child:
- 60:7985b4783af9
--- a/Mote.h Mon Aug 29 14:48:33 2016 -0500 +++ b/Mote.h Tue Aug 30 11:48:00 2016 -0500 @@ -118,6 +118,12 @@ * @return battery level 0-255, 0 - external power, 1-254 level min-max, 255 device unable to measure battery */ virtual uint8_t MeasureBattery(); + + /** + * Fired when ack attempts are exhausted and RxTimeout or RxError occur + * @param retries number of attempts to resend the packet + */ + virtual void MissedAck(uint8_t retries); }; class Mote {