bugfix payload encoder (txpower was missing)

This commit is contained in:
Klaus K Wilting committed 2018-07-15 19:41:22 +02:00
1 parent 477b6bd749
commit d55899a83f
6 files changed
+38 -58

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ function Decoder(bytes, port) {
if (port === 3) {
// device config data
return decode(bytes, [uint8, uint16, uint8, uint8, uint8, uint8, bitmap], ['lorasf', 'rssilimit', 'sendcycle', 'wifichancycle', 'blescantime', 'rgblum', 'flags']);
return decode(bytes, [uint8, uint8, uint16, uint8, uint8, uint8, uint8, bitmap], ['lorasf', 'txpower', 'rssilimit', 'sendcycle', 'wifichancycle', 'blescantime', 'rgblum', 'flags']);
}
if (port === 4) {