2 Protocol Summary
2.1 General Format
GSx,IMEI,[T,S,]Field1,Field2,……,FieldN*Checksum!
Format Description Note
GSx ”GSS” :Write setting
”GSs” :Report setting
”GSG” :Write Geo-fence parameter
”GSg” :Report Geo-fence parameter
”GSC” :Action command
”GSr” :Position and status report (format 0)
”GSh” :Position and status report (format 1)
”GSd” :Cell ID and status report (format 2)
Command head
IMEI (The IMEI number) GSM device ID
T ‘0’ : Middle of message
‘1’ : Start of message
‘2’ : End of message
‘3’ : Start and End of message, i.e., only one packet
for message
Message packet
control
S ‘0’,’1’,’2’,’3’,…,’9’,’10’,’11’,…,’99’ Sequence number
Field Field 1 ~ Field N, separated by ‘,’, contain command
or/and configuration parameters
Refer to “TR-206
configure parameters”
for details
* * End of field
Checksum The checksum value is derived by the same
method of NMEA standard. It is calculated by
‘exclusive OR’ the 8 data bits of each character
before “*” in the sentence, but excluding “*”. The
hexadecimal value of the most significant and least
significant 4 bits of the result are converted to two
ASCII characters (0-9, A-F) for transmission. The
most significant character is transmitted first.
! ! Message delimiter