TheThingsNetwork / arduino-node-lib

Arduino Library for The Things Node
MIT License
22 stars 26 forks source link

Basic.ino issue #29

Open JPHuls opened 2 years ago

JPHuls commented 2 years ago

Hi,

On line 122 of the Basic.ino file the wake() does not seem to exist in the ttn object. Checking TheThinsNetwork.h I indeed could not find it either. Can I remove it and will it wake up at the end of the ttn.sleep(60000)?

Regs, Jean-Pierre

jpmeijers commented 2 years ago

That wake() function seems to be defined in this PR which has not yet been merged in: https://github.com/TheThingsNetwork/arduino-node-lib/pull/15

JPHuls commented 2 years ago

Update: as it turns out I had 2.5.2 version of The Things Network library loaded. I've updated to 2.7.2 and the ttn.wake() does not result in an error during code verification/upload. Apologies for this confusion.

So this still needs to be implemented and distributed? Any timeline on that? For now I commented the line out in my little project.