arduino-node-lib icon indicating copy to clipboard operation
arduino-node-lib copied to clipboard

Basic.ino issue

Open JPHuls opened this issue 3 years ago • 2 comments

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

JPHuls avatar May 07 '22 06:05 JPHuls

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

jpmeijers avatar May 09 '22 07:05 jpmeijers

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.

JPHuls avatar May 09 '22 07:05 JPHuls