TTN decoders updated
This commit is contained in:
parent
52efcb7b01
commit
6052588af0
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user