From f2c614e2dfb4ba5dedb02cb5cb8d49892731cfbf Mon Sep 17 00:00:00 2001 From: yarnom Date: Mon, 17 Nov 2025 18:35:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AF=B9=E7=89=B9=E5=AE=9A=E5=9F=BA?= =?UTF-8?q?=E7=AB=99=E6=8E=A8=E9=80=81=E6=96=B0=E5=A2=9E=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sideslope/executor/D331RtcmMessageExecutor.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/sec-beidou-rtcm/src/main/java/com/imdroid/sideslope/executor/D331RtcmMessageExecutor.java b/sec-beidou-rtcm/src/main/java/com/imdroid/sideslope/executor/D331RtcmMessageExecutor.java index a12ff2a3..04d29736 100644 --- a/sec-beidou-rtcm/src/main/java/com/imdroid/sideslope/executor/D331RtcmMessageExecutor.java +++ b/sec-beidou-rtcm/src/main/java/com/imdroid/sideslope/executor/D331RtcmMessageExecutor.java @@ -187,7 +187,8 @@ public class D331RtcmMessageExecutor implements Executor // 特定基站站点 6541918 也允许插入 1005 if (((deviceBs.getModel()==null || deviceBs.getModel() == GnssDevice.MODEL_G505) || "6541918".equals(deviceBs.getDeviceId())) - && (device.getModel()!=null && device.getModel()==GnssDevice.MODEL_G510)){ + && (device.getModel()!=null && device.getModel()==GnssDevice.MODEL_G510)) + { buf = insert1005(deviceBs, deviceId, buf); } @@ -267,6 +268,15 @@ public class D331RtcmMessageExecutor implements Executor // LocalDateTime.now(), // ByteUtil.bytesToHexString(buf.array())); } + + if (logger.isDebugEnabled()) { + try { + logger.debug("insert1005 hex for base {} to {}: {}", + deviceBs.getDeviceId(), deviceId, + ByteUtil.bytesToHexString(buf1005.array())); + } catch (Exception ignore) {} + } + return buf1005; }