Closed JMyrng closed 2 years ago
The #defines are for factor default setting. If you change them and upload a new build, you must clear NVRAM, otherwise the device loads the previous runtime settings from NVRAM.
To change runtime settings use rcommand. To make new runtime setting persistent, add rcommand save.
Thanks for the quick answer, so it is intentional that I cant turn off sleep via downlink (19 00 00
)?
you're right, this is a bug. Fixed.
Hi there, first of all thank you for this great open source project!
Board: TTGO T-Beam T22_V1.1 with NEO-6M (ttgobeam10.h with disabled display) Paxcounter V3.1.0
I'm using paxcounter as a TTN mapper, so I've configured
At first I've started with a sleep cycle, but then I can't get a fix before going to sleep.
So I've changed to
#define SLEEPCYCLE 0
but the T-Beam is going to sleep anyway. Is this intentional?Then I've tried setting SLEEPCYCLE with a TTN downlink. Sending
19 00 1E
works as it should and gives me the following log:But sending
19 00 00
gives:I think this is intentional based on the following lines: https://github.com/cyberman54/ESP32-Paxcounter/blob/96c59124e332dccb37c6e31c6e54e6be7c69e153/src/rcommand.cpp#L88-L90
In the end I've I got it working with a reset to factory settings with the downlink
09 02
, but I wanted to clarify whether this behavior is intentional.Best regards Jonas