Skip to content

Commit 28c3af0

Browse files
committed
Add access to seqnumber
1 parent 64f41a3 commit 28c3af0

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "LMICPP-Arduino",
3-
"version": "2.5.1",
3+
"version": "2.6.0",
44
"keywords": "Lora",
55
"description": "Modified Arduino port of the LMIC (LoraWAN-in-C, formerly LoraMAC-in-C) framework provided by IBM. Changed to C++ format.",
66
"frameworks": ["arduino"],

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=LMICPP-Arduino
2-
version=2.5.1
2+
version=2.6.0
33
author=IBM
44
maintainer=Nicolas Graziano <nicolas.graziano@gmail.com>
55
sentence=Modified Arduino port of the LMIC (LoraWAN-in-C, formerly LoraMAC-in-C) framework provided by IBM. Changed to C++ format.

src/lmic/lmic.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ class Lmic {
314314
void keep_sticky_mac_response(const uint8_t *const source, uint8_t sourceLen);
315315

316316
public:
317+
uint32_t getSeqnoUp() const { return seqnoUp; }
317318
void setBatteryLevel(uint8_t level);
318319
// set default/start DR/txpow
319320
void setDrTx(uint8_t dr) { channelParams.setDrTx(dr); };

0 commit comments

Comments
 (0)