Westermo GD-01 User Manual
Page 178
178
6196-2220
Examples
AT command and its answer
When there is no encapsulation the AT command transmitted on the serial link is like
this (in ASCII and hexadecimal):
Command/Response
Hex
Note
AT\r\n
0x41 0x54 0x0D 0x0A
The command
\r\nOK\r\n
0x0D 0x0A 0x4F 0x4B
and the answer
0x0D 0x0A
With the encapsulation in the serial link, the packet transmitted is
(in hexadecimal):
0xAA 0x04 0xE8 0x41 0x54 0x0D 0x0A 0x42
and the answer is like this:
0xAA 0x06 0xE8 0x0D 0x0A 0x4F 0x4B 0x0D 0x0A 0x60
Initialisation and Data packet
When the Multiplexing Mode is activated (+WMUX=1), the product sends 2 Data
packets after the establishment of a DATA call (after the CONNECT xxxx message):
1 READY Packet and 1 STATUS Packet.To set the different signals to the right value,
it is necessary to send a STATUS packet to the product.
Here are some examples of STATUS packets:
Command/response
Hex
Note
–
0xDD 0x01 0x08 0x40
bit RTS is on
0x26
to start a data call, all the
bits should be on:
–
0xDD 0x01 0x08 0xC0 0xA6 bits DTR and RTS are on
Restriction
The autobauding mode is not available when the Multiplexing Mode is activated: the serial
link speed must be set to a fixed rate.
B A C K