Translation of the original instructions
contains the order and status. For the Getter, the answer contains the order and the data if everything goes well.
Otherwise, the answer contains the order and status.
SYNTAX
The exchanges between the computer and the SUM are done in ASCII characters.
Each request and response ends with <CR><LF>(or 0x0D0A or «\r\n»).
The command name contains no spaces.
The name of the command is followed by an equal «=».
In a Setter request and a Getter response, the data follows the equal sign «=». They are separated by a semicolon
«;». For decimal data, the decimal separator is «.». The data are shown without units.
For a Getter request, a question mark «?» follows the equal sign «=».
The status has 2 values: «OK» or «KO».
Example of exchanges between the computer and the SUM :
Process_state=
run
«
«
Process_state=
OK
Process_state=
?
<CR><LF>
«
«
Process_state=
idle
Process_sta=
?
<CR><LF>
«
«
Process_sta=
KO
<CR><LF>
2020
13
31
«
Date=
;
;
«
Date=
KO
<CR><LF>
LIST OF GETTER FOR GYSFLASH CNT
Typical Getter
request
Version=?
Version=
Produit1
Produit2
...
Serial=?
Serial=
Product_info=?
Product_info=
P roduct_name=? Product_name=
MMI_state=?
MMI_state=
Mode=?
Mode=
10
SMART USB MODULE
Setter
request: control + data
request: control + status
<CR><LF>
» the computer asks to start the load.
<CR><LF>
» the SUM returns the correct acknowledgement of the order.
» asks for the status of the current process.
<CR><LF>
» returns the value requested here IDLE (stopping process).
» request for Getter badly formed, the command name does not exist.
» returns an error response.
08
53
10
;
;
;
<CR><LF>
» updates the product date with a wrong value (MM=13).
» returns an error status.
Gysflash CNT answer
;
HW_version1
;
SW_version1
HW_version2
SW_version2
;
;
Produit1
;
SN1
;
Produit2
;
SN2
U
I
;
product_name
MMI_state
mode
Names
Produit1
e.g.:
;
Produit2
GYSFLASH 121.12 CNT
Smart USB module
HW_version1
e.g.:
HW_version2
HW 1-2
HW E0046IND1-0
SW_version1
SW V06.01
e.g.:
SW_version2
...
Produit1
e.g.:
Produit2
GYSFLASH 121.12 CNT
Smart USB module
SN1
e.g.:
SN2
20.02.026971.000001
U
0
48
to
I
0
120
to
product_name
GYSFLASH 121.12
e.g.:
CNT
MMI_state
lock
Locked
unlock
mode
init
charge
BSU
Voltage_test
CCA_test
Alternator_test
settings
Getter
request: control
answer: control + data
request: control + status
Arguments
Possible values
Name(s) of the product(s) pre-
sent on the SMC network
Associated hardware version
Associated software version
Name(s) of the product(s) pre-
sent on the SMC network
Associated serial number
in V
Charger voltage
in A
Current charger
Charger's name
LOCK
Unlocked
interface buttons. In this confi-
guration, only the SUM can ma-
nage the charger.
Type of mode in use
EN
OR
Description
: Locking the charger