From f0dccf903d3efd4472a7c31f8e7a2689171ea7d7 Mon Sep 17 00:00:00 2001 From: YuanHongbin <975559679@qq.com> Date: Thu, 23 Jul 2026 10:40:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B3=A8=E5=86=8C=E5=BA=94=E7=AD=94?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0GWAddr=E9=9D=9E=E9=9B=B6=E6=A0=A1=E9=AA=8C,?= =?UTF-8?q?=E9=98=B2=E6=AD=A2LoRa=E8=87=AA=E6=94=B6=E8=AF=AF=E5=88=A4?= =?UTF-8?q?=E6=B3=A8=E5=86=8C=E6=88=90=E5=8A=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/src/SGCP.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/src/SGCP.c b/source/src/SGCP.c index 9ef9106..2c0f234 100644 --- a/source/src/SGCP.c +++ b/source/src/SGCP.c @@ -937,6 +937,8 @@ static void GWRevHandler(void) switch(SGCP.GWRS485Rx.rCmdGWToMD) { case GWTOMD_CMD_LOGIN:{ + if(is_all_byte(GFHeader->GWAddr, sizeof(GFHeader->GWAddr), 0x00) == true) + return; SGCP.LoginOk = PayLoad[0]; if(SGCP.LoginOk == true) {