TTN decoders updated

This commit is contained in:
Klaus K Wilting 2018-09-17 22:03:03 +02:00
parent 52efcb7b01
commit 6052588af0

View File

@ -60,7 +60,7 @@ var version = function (bytes) {
throw new Error('version must have exactly 10 bytes'); throw new Error('version must have exactly 10 bytes');
} }
return String.fromCharCode.apply(null, bytes).split('\u0000')[0]; return String.fromCharCode.apply(null, bytes).split('\u0000')[0];
}; };
version.BYTES = 10; version.BYTES = 10;
var uint8 = function (bytes) { var uint8 = function (bytes) {