diff --git a/src/TTN/packed_decoder.js b/src/TTN/packed_decoder.js index f7e06f52..af28fab4 100644 --- a/src/TTN/packed_decoder.js +++ b/src/TTN/packed_decoder.js @@ -118,7 +118,7 @@ var bitmap = function (byte) { } var i = bytesToInt(byte); var bm = ('00000000' + Number(i).toString(2)).substr(-8).split('').map(Number).map(Boolean); - return ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h'] + return ['adr', 'screensaver', 'display', 'countermode', 'blescan', 'antenna', 'filter', 'gpsmode'] .reduce(function (obj, pos, index) { obj[pos] = bm[index]; return obj;