XCHARGE C2EU Service Manual Download Page 9

 

Copyright | C2EU Software Service Manual, Version 1.0.0 

4) Restart the charging station to make the configuration to take effect. 

5. Get log file 

1) Please connect A8 board with laptop through Mini USB cable and then open the ADB tool.  

2) Ex

ecute command “

adb pull /data/data/com.xcharge.charger/logs/charger_app.log 

C:\Users\admin\Deskop

” and

 press 

enter

Note: 

/data/data/com.xcharge.charger/logs/charger_app.log

 is the address where the log file 

“charger_app.log” in C2EU

 is.  

The file “charger_app.log” is the newest log written in the charger and 

is max. 512KB. If you 

need 

older logs, please try “charger_app.log.x”, “x” is a number between 1 and 10 (for example 

“charger_app.log.10” is the oldest log in charger). 

 

C:\Users\admin\Deskop

 is the local address in laptop where the log file will be stored. It can be 

selected by yourself and after the successful pulling you can find the log file on this address in 
laptop.  

Please note that the phrases in green below are the comments for the command.

 

6. Local list for authentication 

6.1 Search and edit Local whitelist 

1) Connect the C2EU through Micro USB with your laptop. Open the ADB tool and execute 

adb 

remount

 and then 

adb shell

2) Execute 

sqlite3 /data/data/com.xcharge.charger/databases/content.db;

 

3) Execute 

.table

##search all the table in databank

 

4) Execute 

select * from 

table name

##select the table you want, please replace the table name 

with the real name like below:

 

for example

select * from tb_auth_info

;

 

5) Execute 

insert into 

table name(field name) values(values)

##insert data

 

 

for example

insert into tb_auth_info(_id,idTag,expiryDate,parenIdTag,status) 

values(1,'123','2018-10-24'T'14:40:40+01:00','456','Accepted');

 

Note: 

form of parameter "expiryDate": yyyy-MM-dd'T'HH:mm:ss+00:00 

values of status: "Accepted", "Blocked", "Expired", "Invalid", "ConcurrentTx". 

Summary of Contents for C2EU

Page 1: ...Copyright C2EU Software Service Manual Version 1 0 0 C2EU Service Manual Software...

Page 2: ...nual Version 1 0 0 Revision Version Name Update date UPV1 0 0 Yi Han C2EU application program update ADB introduction OCPP backend related configuration local white list 19 07 2019 UPV1 0 0 Liweilan M...

Page 3: ...re update 4 4 Connection with OCPP backend 4 4 1 Communication Protocol Settings 4 4 2 APN Settings 4 4 3 Update of APN list file 5 4 4 Update of the OCPP configuration file 5 5 Get log file 6 6 Local...

Page 4: ...top with C2EU Figure 1 1 Micro USB cable Figure 1 2 A8 board After the connection with laptop you can open the ADB tool in laptop You can use this ADB tool in Windows systems Uncompressing and open th...

Page 5: ...low Figure 1 4 Type in the command adb remount and press enter Figure 1 5 Note If you want to restart the charger please disconnect the micro USB cable from your computer After you have disconnected c...

Page 6: ...file through operating command adb push C Users admin Desktop xcharger apk system app Note C Users admin Desktop xcharger apk is the local address of apk file in your computer that you received from X...

Page 7: ...rresponding file please do not change its name for such updates Here is just an example be careful of the space in command 4 Connection with OCPP backend 4 1 Communication Protocol Settings 1 Connecti...

Page 8: ...ute rm telephony db to delete the telephony db file 6 Execute rm telephony db journal to delete the telephony db journal file 7 Execute ls again and check whether there are no files under the folder d...

Page 9: ...It can be selected by yourself and after the successful pulling you can find the log file on this address in laptop Please note that the phrases in green below are the comments for the command 6 Local...

Page 10: ...whitelist 1 Connect C2EU through Micro USB with laptop Open ADB tool and execute adb remount 2 Execute adb shell sqlite3 data data com xcharge charger databases content db 3 Execute select count from...

Reviews: