update TTNv3 decoder

This commit is contained in:
cyberman54 2022-11-26 22:39:26 +01:00
parent 7b3cef0951
commit 758d84b472

View File

@ -53,7 +53,7 @@ function decodeUplink(input) {
if (input.fPort === 3) { if (input.fPort === 3) {
// device config data // device config data
data = decode(input.bytes, [uint8, uint8, int16, uint8, uint8, uint8, uint8, bitmap1, bitmap2, version], ['loradr', 'txpower', 'rssilimit', 'sendcycle', 'wifichancycle', 'blescantime', 'rgblum', 'flags', 'payloadmask', 'version']); data = decode(input.bytes, [uint8, uint8, int16, uint8, uint8, uint8, uint16, bitmap1, bitmap2, version], ['loradr', 'txpower', 'rssilimit', 'sendcycle', 'wifichancycle', 'blescantime', 'sleepcycle', 'flags', 'payloadmask', 'version']);
} }
if (input.fPort === 4) { if (input.fPort === 4) {