W406-CE User’s Manual
Application Development
Gets the signal strength of the GPRS modem,
Class Name:
GPRS
Method:
int GetSignalStrength()
Inputs:
none
Return Values:
1 to 99 on success, otherwise the function fails
Remark:
It is suggested to call this function periodically.
Establishes a GPRS connection to the ISP service provider.
Class Name:
GPRS
Method:
int
Connect()
int Connect(string user, string password)
Inputs:
<user> the user id string
<password> the password string
Return Values:
0 on success, otherwise, the function fails
Remark:
Aborts a GPRS connection.
Class Name:
GPRS
Method:
int Disconnect()
Inputs:
None
Return Values:
0 on success, otherwise, the function fails
Remark:
Checks the status of a GPRS connection.
Class Name:
GPRS
Method: ConnectionState
GetConnectionStatus()
Inputs:
none
Return Values:
0 indictes the connection is on. otherwise, it is disconnected
Remark:
public enum ConnectionState
{
Connected = 0,
Disconnected
}
B-12