Browse Source

[Improve][AW-CCS][Module_FactoryConfig.c]
2022-11-25 / EASON YANG
Action:
1. Improve: Remove the default factory setting maintenance server URL for standard model.

File:
1. Module_FactoryConfig.c
Action 1

FIRMWARE VERSION: B0.63.XX.XXXX.PX

8009 2 years ago
parent
commit
cfc4b69c31
1 changed files with 3 additions and 7 deletions
  1. 3 7
      EVSE/Projects/AW-CCS/Apps/Module_FactoryConfig.c

+ 3 - 7
EVSE/Projects/AW-CCS/Apps/Module_FactoryConfig.c

@@ -367,14 +367,10 @@ int main(int argc, char *argv[])
 		if(SysConfig.ModelName[12] == 'P')
 		{
 			// PHIHONG standard configuration
-			strcpy((char*)SysConfig.OcppServerURL, "");
+			strcpy((char*)SysConfig.OcppServerURL, "");					// default: Null
 			sprintf((char*)SysConfig.ChargeBoxId, "%s%s", SysConfig.ModelName, SysConfig.SerialNumber);
-			strcpy((char *)SysConfig.chargePointVendor, "");
-
-			if(SysConfig.ModelName[3] != 'U')
-			{
-				strcpy((char*)SysConfig.MaintainServerURL, "wss://ocpp.phihong.com.tw:2013/");
-			}
+			strcpy((char *)SysConfig.chargePointVendor, "");			// default: Null
+			strcpy((char*)SysConfig.MaintainServerURL, "");				// default: Null
 		}
 		else if(SysConfig.ModelName[12] == 'T')
 		{