GML (Google Maps Hyperlink Phone List)¶
The AT@GML command is used to configure the mobile phone list for receiving the Location SMS. Please note that this phone list is only used to receive Location SMS sent by the terminal and is not equivalent to a phone allowlist. The commands related to this Google Maps hyperlink phone list are AT@GEO etc.
Example:
AT@GML=gl601###,1,+8618888888888|+8612345678,012F$
+ACK:GML,123456789012345,C031,10,0,,012F,20210407101530,1234$
AT@GML?gl601###,,0C37$
+QRY:GML,123456789012345,C031,10,0,1,1,1,+8618888888888|+861234567,0C37,20210407101530,1234$
Parts |
Fields |
Length (Byte) |
Range/Format |
Default |
|---|---|---|---|---|
Head |
Header |
3 |
AT@ |
AT@ |
Command Word |
3 |
GML |
GML |
|
Leading Symbol |
1 |
= |
= |
|
Password |
8-16 |
gl601### |
||
Body |
Action |
1 |
0-2 |
|
Phone Number List |
N |
|||
Tail |
Sequence Number |
4 |
0000-FFFF (‘0’-‘9’, ‘A’-‘F’) |
|
Tail |
1 |
$ |
$ |
Action
0 - Append the phone numbers carried in the ‘Phone Number List’ field to the terminal.
1 - Replace the phone numbers in the terminal with the phone numbers carried by the ‘Phone Number List’ field.
2 - Clear the phone numbers carried in the ‘Phone Number List’ field from the terminal. If the phone numbers to be deleted is not specified (that is, the ‘Phone Number List’ parameter is empty), the terminal will clear all phone numbers.
In particular, it will be 1 when reading this field.
Phone Number List
Specify the phone number(s). The terminal supports setting up to 20 phone numbers. The characters ‘|’ are used to connect each phone number. If a phone number is an international number, remember to add “+” and the area code.
For example, “+8618888888888” means one phone number +8618888888888, and “+8618888888888|+8612345678” means two phone numbers, +8618888888888 and +8612345678.
Note: The length of each phone number should not exceed 20 bytes.