|
@@ -337,6 +337,23 @@ int main(int argc, char *argv[])
|
|
|
strcpy((char*)SysConfig.chargePointVendor, "ChargeLab");
|
|
|
SysConfig.OfflinePolicy = 0; // 0: local list, 1: Phihong RFID tag, 2: free charging, 3: no charging
|
|
|
}
|
|
|
+ else if(SysConfig.ModelName[12] == 'T')
|
|
|
+ {
|
|
|
+ // ChargeLab customization configuration
|
|
|
+ SysConfig.AuthorisationMode = 0; // 0: enable, 1: disable
|
|
|
+ SysConfig.RfidCardNumEndian = 1; // 0: Little endian 1: Big endian
|
|
|
+
|
|
|
+ SysConfig.AthInterface.WifiMode = 1; // 0: Disable 1: Infrastructure client 2: Infrastructure server 3: Ad-Hoc
|
|
|
+ strcpy((char*)SysConfig.AthInterface.WifiSsid, "ChargeLab-EVC");
|
|
|
+ strcpy((char*)SysConfig.AthInterface.WifiPassword, "evc-pwd-default-21");
|
|
|
+
|
|
|
+ strcpy((char*)SysConfig.TelecomInterface.TelcomApn, "m2minternet.apn");
|
|
|
+
|
|
|
+ strcpy((char*)SysConfig.OcppServerURL, "wss://ocpp.io");
|
|
|
+ sprintf((char*)SysConfig.ChargeBoxId, "%s%s", SysConfig.ModelName, SysConfig.SerialNumber);
|
|
|
+ strcpy((char*)SysConfig.chargePointVendor, "ChargeLab");
|
|
|
+ SysConfig.OfflinePolicy = 0; // 0: local list, 1: Phihong RFID tag, 2: free charging, 3: no charging
|
|
|
+ }
|
|
|
else
|
|
|
{
|
|
|
|