From 758d84b4725b3bc77128afa908697b2247240033 Mon Sep 17 00:00:00 2001 From: cyberman54 Date: Sat, 26 Nov 2022 22:39:26 +0100 Subject: [PATCH] update TTNv3 decoder --- src/TTNv3/packed_decodeUplink.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TTNv3/packed_decodeUplink.js b/src/TTNv3/packed_decodeUplink.js index 94c1ec8b..17663e97 100644 --- a/src/TTNv3/packed_decodeUplink.js +++ b/src/TTNv3/packed_decodeUplink.js @@ -53,7 +53,7 @@ function decodeUplink(input) { if (input.fPort === 3) { // 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) {