- 2 -
2. GPRS class
Constructor
There is no need to create an instance because all the members are static members
Methods
Method Name Description
PowerOn Turn ON GPRS module
PowerOff Turn OFF GPRS module
OpenCom Open GPRS COM port
CloseCom Close GPRS COM port
GetSIMPINStatus Get the SIM PIN authentication status
GetSIMPINPUKCounter Get the number of attempts still available for entering the
PIN/PUK code
SetSIMPIN Set the SIM PIN for GSM network registration
ChangeSIMPIN Change SIM PIN for GSM network registration
SetNecessarySIMPIN Select whether SIM PIN is necessary or not
SetSIMPUK Set the SIM PUK to unlock the PIN-lock issue and assign a
new PIN code for next registration
SetRadioBand Select radio frequency band
GetSignalStrength Get the RSSI
GetModuleVersion Get the firmware version of module
GetAllOperatorCnt Acquire the number of total operator
GetAllOperatorInfo Acquire all the operator name
GetOperatorListCnt Acquire the number of visible operator
GetOperatorListInfo Acquire all the visible operator name
GetOperatorInfo Get the operator name
SetSMSStorageDest Specify destination storing received short message
DeleteSMS Delete short message
ReadSMS Read short message
SendSMS Send short message
WriteSMSToMem Write short message into the memory
SendSMSFromMem Send short message stored in the memory
GetSMSListCnt Acquire the number of SMS stored in the memory or UIM
Enumeration
Enumeration Name Description
EN_SIMSTATUS SIM authentication state
EN_RADIOBAND Radio band
EN_STORAGESMS Storage area to save short message