Skip to content
This repository was archived by the owner on May 2, 2024. It is now read-only.

Commit a5fbfb7

Browse files
committed
upgrade compatibility for esp2.0.6
1 parent 352c3c2 commit a5fbfb7

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=TTN_esp32
2-
version=0.1.2
2+
version=0.1.3
33
author=Francois Riotte
44
maintainer=Francois Riotte <esc@rgot.org>
55
sentence=ESP 32 port of the Arduino TheThingsNetwork library.

project_config/lmic_project_config.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// project-specific definitions
22
#define CFG_eu868 1
3+
//#define LMIC_REGION_eu868 1
34
//#define CFG_us915 1
45
//#define CFG_au921 1
56
//#define CFG_as923 1
@@ -8,3 +9,6 @@
89
//#define CFG_in866 1
910
#define CFG_sx1276_radio 1
1011
//#define LMIC_USE_INTERRUPTS
12+
#define LMIC_LORAWAN_SPEC_VERSION LMIC_LORAWAN_SPEC_VERSION_1_0_3
13+
#define LMIC_MAX_FRAME_LENGTH 64
14+
#define hal_init LMICHAL_init

src/NVSHandler.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
#include "WProgram.h"
88

99
#endif
10+
#ifndef TAG
11+
#define TAG "ARDUINO"
12+
#endif
1013

1114
bool NVSHandler::openNvsRead(const char* partition, HandleCloser& handleCloser)
1215
{

0 commit comments

Comments
 (0)