Skip to content

Commit 2f15725

Browse files
committed
Small update
1 parent 4205430 commit 2f15725

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/certificationprotocol.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,8 @@ void CertificationProtocol::sendDeviceTimeReques() {
238238
// The DeviceTimeReq command has no payload.
239239

240240
// TODO: implement device time request
241+
242+
// lmic.askDeviceTime();
241243
}
242244

243245
void CertificationProtocol::transmitContinuousWave(uint8_t const *message,

src/lmic/lmic.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,8 @@ class Lmic {
325325
void setLinkCheckMode(bool enabled);
326326
void setSession(uint32_t netid, devaddr_t devaddr, AesKey const &nwkSKey,
327327
AesKey const &artKey);
328+
devaddr_t getDeviceAddress() const { return devaddr; };
329+
uint32_t getNetID() const { return netid; };
328330
void askLinkCheck();
329331
/**
330332
* Adjust output power by this amount (for antenna gain)

0 commit comments

Comments
 (0)