Downlink/Remote Control Help #768
-
|
Hi, I am having trouble with the Remote Control feature on the TTN downlink. If "Set display on/off" is 0x04 and display off = 0 And also if sleep cycle = 0x19 and the data I enter will be in seconds? Where do I input the seconds in the hex? I want the sleep cycle to be 10 minutes which is 600 seconds. I am new to all of this so please be patient. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
|
@SionHuws99 Did you find the example in section remote control in |
Beta Was this translation helpful? Give feedback.
-
|
It probably depends on how your applications server expects your downlink payload. I am using ChirpStack, so I need Base64 encoded payload strings.
|
Beta Was this translation helpful? Give feedback.
-
|
It seems that the "set sleep cycle" (0x19) command must be complemented by the "store device configuration" (0x21) command. Otherwise, the paxcounter will revert to the initially/last configured sleep cycle (stored in NVRAM) after it wakes up from deep sleep. I also noticed that the new sleep cycle will not be applied immediately. Instead, it takes another sleep cycle with the old duration before the new settings are applied for all subsequent cycles. To set the sleep cycle to 600 seconds (dec: 60, hex: 0x3C), use the following byte sequence (hex): |
Beta Was this translation helpful? Give feedback.
It seems that the "set sleep cycle" (0x19) command must be complemented by the "store device configuration" (0x21) command. Otherwise, the paxcounter will revert to the initially/last configured sleep cycle (stored in NVRAM) after it wakes up from deep sleep. I also noticed that the new sleep cycle will not be applied immediately. Instead, it takes another sleep cycle with the old duration before the new settings are applied for all subsequent cycles.
To set the sleep cycle to 600 seconds (dec: 60, hex: 0x3C), use the following byte sequence (hex):
0x19 0x00 0x3C 0x21