Reading and writing sms commands – MIDLAND Geopoint Box SMS User Manual
Page 46

45
Reading and Writing SMS Commands
Command
Meaning and Values
Example
wgprs
Set the GPRS parameters and start the continuous
GPRS connection.
[setup: 0=set the GPRS parameters without starting
the connection,
1=connect with the new parameters (IP, PORT),
2=connect with the parameters previously preset]
[parameters: IP=host IP address, PORT=TCP port]
NOTE: the IP and PORT parameters should be
written between commas.
NOTE: if there is no GPRS connection, the tracker
sends an error SMS containing “GPRS ERROR”.
Case A
Command:
wgprs=0,”213.86.89.11”,”9500”
Reply:
wgprs=0,”213.86.89.11”,”9500” OK
Description:
0=set GPRS parameters without
starting the connection
213.86.89.11=host IP address (example)
9500=TCP port
Case B
Command:
wgprs=1,”213.86.89.11”,”9500”
Reply:
wgprs=1,”213.86.89.11”,”9500” OK
Description:
1=GPRS connection with new parameters
213.86.89.11=host IP address (example)
9500=TCP port
Case C
Command:
wgprs=2
Reply:
wgprs=2 OK
Case D
Reply:
NO GPRS COVERAGE
Description:
NO GPRS COVERAGE=if GPRS signal
is missing