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.
Dependencies: mbed mbed-STM32F103C8T6 OneWireCRC_LoRa_Node SX1276Lib_LoRa_Node
Diff: RFM95W.h
- Revision:
- 5:6e899f5db65e
- Parent:
- 4:a8853c148f2a
- Child:
- 6:531b8dccca06
--- a/RFM95W.h Mon Apr 23 21:28:49 2018 +0000
+++ b/RFM95W.h Mon Apr 30 17:10:02 2018 +0000
@@ -3,6 +3,7 @@
#include "mbed.h"
#include "sx1276-hal.h"
+#include "Thermometer.h"
#include "Board.h"
#define GATEWAY_ID 1 // Adresa gatewayu (id)
@@ -56,7 +57,7 @@
#define RX_TIMEOUT_VALUE 2500000 // in us // 3500000
#define BUFF_SIZE 255 // Define the payload size here // 32
#define MAX_DEVICES 255
-#define MAX_RESENDS 5
+#define MAX_RESENDS 4
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
@@ -89,6 +90,7 @@
void SendAck(uint8_t addr, uint8_t messageNumber);
void OnCheckAck();
void OnSendAgain();
+ void ProcessReceivedMessage();
public:
RFM95W();
void Init();