Echo mode command - MD30

MD30 Interface Client

Document code
M212384EN
Revision
D
Language
English
Product
MD30
Document type
Technical description

The echo command enables the hexadecimal presentation of the command byte data that is sent and received by the interface client. Parameters on and 1 enable printing the byte data, and off and 0 disable it.

The sent data is printed between ==> and <==.

Example

/> echo on
/> getunitid
==>
0xab 0x00 0x01 0x10 0x00 0x00 0x00 0xe6 0xbf
<==
/> 0xab 0x01 0x00 0x10 0x00 0x0a 0x00 0x44 0x00 0x52 0x32 0x37 0x33 0x30 0x30 0x31 0x31 0x73 0x47
Unit ID: 1, Client ID: 0, ID: 0x10, Nb: 0, Len: 10, icd_version: D, Err: 0
Serial number: R2730011

/> echo off
/> getunitid
/> Unit ID: 1, Client ID: 0, ID: 0x10, Nb: 1, Len: 10, icd_version: D, Err: 0
Serial number: R2730011

/> echo 1
/> getunitid
==>
0xab 0x00 0x01 0x10 0x02 0x00 0x00 0x86 0xd1
<==
/> 0xab 0x01 0x00 0x10 0x02 0x0a 0x00 0x44 0x00 0x52 0x32 0x37 0x33 0x30 0x30 0x31 0x31 0xb5 0xcd
Unit ID: 1, Client ID: 0, ID: 0x10, Nb: 2, Len: 10, icd_version: D, Err: 0
Serial number: R2730011

/> echo 0
/> getunitid
/> Unit ID: 1, Client ID: 0, ID: 0x10, Nb: 3, Len: 10, icd_version: D, Err: 0
Serial number: R2730011