|
@@ -335,7 +335,11 @@ int main(int argc, char *argv[])
|
|
|
strcpy((char*)SysConfig.OcppServerURL, "");
|
|
|
sprintf((char*)SysConfig.ChargeBoxId, "%s%s", SysConfig.ModelName, SysConfig.SerialNumber);
|
|
|
strcpy((char *)SysConfig.chargePointVendor, ""); // default: Null
|
|
|
- strcpy((char*)SysConfig.MaintainServerURL, "wss://ocpp.phihong.com.tw:2013/");
|
|
|
+
|
|
|
+ if(SysConfig.ModelName[3] != 'U')
|
|
|
+ {
|
|
|
+ strcpy((char*)SysConfig.MaintainServerURL, "wss://ocpp.phihong.com.tw:2013/");
|
|
|
+ }
|
|
|
}
|
|
|
else if(SysConfig.ModelName[12] == 'A')
|
|
|
{
|