GLOBALSAT TR-206 User Manual

Page 57

Advertising
background image

56

z

Left (west) longitude, Top (north) latitude

z

Right (east) longitude, Bottom (south) latitude

z

Type

z

Optional effective time window (start time, end time, weekday mask)

Message format for configuring Geo-fence area:

GS

G

,IMEI,T,S,1=(type,upper_left_Lon,upper_left_Lat,right_bottom_

Lon,right_bottom_Lat[,gxxx][,StartTime,EndTime,weekday]),2=(…),
3=(…),…*Checksum!

A complete geo-fence configuration message may be composed of several

packets in sequence. All the area IDs in the message must be in ascending

order.

‘T’ field in the message denotes the sequence control flag. Bit 0~2 represents

start of message, end of message & erase setting respectively. For example:

‘1’: Start of message

‘2’: End of message

‘3’ : Start and End of message, i.e., only one packet for message

‘5’ : Erase all of the previously set geo-fence areas + start of message (when

you need to set new geo-fence areas by more than 1 packet)

‘7’ : Erase all of the previously set geo-fence areas + start and end of message

(when you need to set new geo-fence areas by only 1 packet)

Longitude & latitude are in the unit of 0.000001 degree. East longitude & north

latitude are represented by positive numbers and the prefix ‘+’ can be omitted.

West longitude & south latitude are represented by negative numbers and the

prefix ‘-‘ should be added.

Effective time window is an optional field. It specifies the effective time in a

day and applicable day in a week. Start time & end time are in seconds

counted from 12:00:00AM. Weekday mask is expressed by 2 hex digits with bit

0~6 represent Sunday ~Saturday respectively.

Format

Value

Note

GSG

”GSG” : Write geo-fence parameter

command

Command head

IMEI

(The IMEI number)

GSM device ID

Advertising