Browse Source

2020-02-18 / ct_chen

Actions:
1. 4G SIM卡長度20, 與define.h定義長度相同, 造成最後一碼被截斷, 故修改TelcomSimIccid長度為22

Files:
1. EVSE/Projects/define.h
ct_chen 5 years ago
parent
commit
3e85d418aa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      EVSE/Projects/define.h

+ 1 - 1
EVSE/Projects/define.h

@@ -184,7 +184,7 @@ struct TeleConfigData
 	unsigned char		TelcomChapPapPwd[256];		//default: Null
 	unsigned char		TelcomModemImei[16];		//default: Null
 	unsigned char		TelcomSimImsi[16];			//default: Null
-	unsigned char		TelcomSimIccid[20];			//default: Null
+	unsigned char		TelcomSimIccid[22];			//default: Null
 	unsigned char		TelcomSimStatus;			//0: no SIM card is found, 1: valid SIM card, 2: invalid SIM card
 	unsigned char		TelcomModemMode;			//0: No services, 1: CDMA, 2: GSM/GPRS, 3: WCDMA, 4: GSM/WCDMA, 5: TD_SCDMA mode, 6: Unknow
 	unsigned char		TelcomIpAddress[16];		//default: Null