libmDot0mbed5
Fork of libmDot-mbed5 by
Diff: Mote.h
- Revision:
- 26:17479e0039f6
- Parent:
- 19:f3a46d2bb9b3
diff -r 27e9d60ed709 -r 17479e0039f6 Mote.h --- 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 {