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: mDotEvent.h
- Revision:
- 90:79a8c8660a4e
- Parent:
- 26:17479e0039f6
- Child:
- 114:8462870088eb
--- a/mDotEvent.h Wed Aug 02 14:05:54 2017 -0500
+++ b/mDotEvent.h Tue Aug 08 07:09:10 2017 -0500
@@ -1,6 +1,7 @@
#ifndef MDOT_EVENT_H
#define MDOT_EVENT_H
+#include "mbed.h"
#include "mDot.h"
#include "MacEvents.h"
#include "MTSLog.h"
@@ -169,8 +170,8 @@
_info.TxNbRetries = retries;
}
- virtual void PacketRx(uint8_t port, uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr, lora::DownlinkControl ctrl, uint8_t slot, uint8_t retries = 0) {
- logDebug("mDotEvent - PacketRx");
+ virtual void PacketRx(uint8_t port, uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr, lora::DownlinkControl ctrl, uint8_t slot, uint8_t retries, uint32_t address) {
+ logDebug("mDotEvent - PacketRx ADDR: %08x", address);
RxPort = port;
PacketReceived = true;