update 1
This commit is contained in:
@ -69,7 +69,7 @@ module.exports = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
module.exports = pool;
|
// module.exports = pool;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -154,7 +154,7 @@ function decodeAvlData(buf) {
|
|||||||
const crcReceived = buf.readUInt32BE(offset)
|
const crcReceived = buf.readUInt32BE(offset)
|
||||||
const crc = buf.readUInt32BE(offset)
|
const crc = buf.readUInt32BE(offset)
|
||||||
const crcStr = "0x" + crc.toString(16)
|
const crcStr = "0x" + crc.toString(16)
|
||||||
console.log(`CRC: ${crcStr}`)
|
// console.log(`CRC: ${crcStr}`)
|
||||||
|
|
||||||
return { codec: "8E", count: recordCount, records, crcStr }
|
return { codec: "8E", count: recordCount, records, crcStr }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user