fix:报文-蓝牙解析(日志打印)1
All checks were successful
JT808 CI/CD / build-and-deploy (push) Successful in 35s
All checks were successful
JT808 CI/CD / build-and-deploy (push) Successful in 35s
This commit is contained in:
@@ -63,7 +63,7 @@ public class TCPServerHandler extends ChannelInboundHandlerAdapter { // (1)
|
|||||||
logMap.put("summary", "TCP Message Received");
|
logMap.put("summary", "TCP Message Received");
|
||||||
|
|
||||||
// Special handling for Location Upload (0x0200) to show parsed details including Bluetooth
|
// Special handling for Location Upload (0x0200) to show parsed details including Bluetooth
|
||||||
if (msgId == Consts.MSGID_LOCATION_UPLOAD) {
|
if (msgId == Consts.MSGID_LOCATION_UPLOAD || msgId == 0x0200) {
|
||||||
try {
|
try {
|
||||||
LocationPack locPack = this.decoder.toLocationInfoUploadMsg(packageData);
|
LocationPack locPack = this.decoder.toLocationInfoUploadMsg(packageData);
|
||||||
logMap.put("details", locPack.toString());
|
logMap.put("details", locPack.toString());
|
||||||
|
|||||||
Reference in New Issue
Block a user