update TTNv3 decoder
This commit is contained in:
parent
7b3cef0951
commit
758d84b472
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user