MTD2000 AT Command Guide R12
Confidential
DAVISCOMMS (S) PTE LTD
36 /105
2. If the user is trying to close the existing network connection while data dump is in
progress, the device will send out an unsolicited response to indicate network
disconnection not allowed.
3. If network connection is not successful due to GSM/GPRS network or remote server,
the device will send out an unsolicited response to indicate the respective error
status. If the network connection is successful, the online flag in the event table will
be set.
After connected to network,
•
The online flag will remain set if GSM network is down.
•
The online flag will be cleared if remote server is down.
Syntax
Command
Response
AT$NC=<Mode>,<Channel>,<Channel
Index>,<GPRS Profile>
Note: Write setting.
OK
AT$NC?
Note: Query setting.
OK
$NC: <Mode>,<Channel>,<Channel
Index>,<GPRS Profile>
Parameters
Mode
0 – Disconnect from network (the rest of the fields are not needed)
1 – Connect to network
Default is 0 (Disconnect)
Channel
0 – TCP channel
1 – UDP channel
Channel Index
Channel address index 1 to 10
GPRS Profile
GPRS profile 1 to 10
Example
Command
Response
AT$NT=1,”192.168.123.168”,1000
Note: Store a server address.
OK
AT$NG=1,”internet”,””,””
Note: Store a GPRS profile.
OK