|
Methods: |
|
|
int
Connect() |
Connect to the device. |
|
int
Disconnect() |
Close the connection. |
|
int
SearchComPorts(int Index,
out string
PortName, out string PortDesc,
enumSearchLevel SearchLevle) |
Sear serial ports on PC. |
|
int
Command(string Command,
out string strResult,
int Timetout) |
Send the user instruction to
the device. |
|
int
GetNetworkInfo(out string NetworkInfo) |
Get network name. |
|
int
GetBatteryLevel(out int Battery) |
Get power supply status. |
|
int
GetSignalLevel(out int Signal) |
Get signal quality of the network. |
|
int
SyncTimeWithPC() |
synchronize device time with
PC. |
|
int
GetTime(out DateTime DevTime) |
Get current time of the device. |
|
int
SetTime(DateTime DevTime) |
Set current time of the device. |
|
int
GetSIMSent(out int SIMSent,
out DateTime ResetTime) |
Get SMS counter status. |
|
int
ResetSIMSend(int SIMSent,
DateTime ResetTime) |
Reset SMS counter. |
|
int
GetSMSCNumber(out string Number) |
Get address number of the SMS center. |
|
int
SetSMSCNumber(string Number) |
Set address number of the SMS center. |
|
int
GetOwnNumber(out string Number) |
Get own number of SIM card
in use. |
|
int
SetOwnNumber(string Number) |
Set own number of SIM card
in use. |
|
enumState
CheckConnection() |
Check the connection status. |
|
Properties: |
|
|
enumProtocol
Protocol |
Nokia S40(non-smartphone) phones use
Nokia_Fbus otherwise use AT_Command. |
|
enumBaudrate
Baudrate |
Baud Rate of the serial port to which the
modem is connected. (9600 - 115200) |
|
enumState
State |
Device state such as Ready, Busy,
Sending_SMS, etc... |
|
string
Port |
Serial port or virtual serial port on
which the GSM modem or phone is connected. (COM1 to COM256) |
|
string
LicenseName |
80 characters encrypted license name. |
|
string
LicenseCode |
80 characters license code. |
|
string
Manufacturer |
Manufacturer of the device. |
|
string
Model |
Model of the device. |
|
string
Firmware |
Firmware version of the device |
|
string
IMEI |
IMEI of the device. |
|
string
IMSI |
IMSI of the device. |
|
string
VersionInfo |
Version of this component. |
|
string
PINCode |
PIN (Personal Identity Number) if the SIM
(Subscriber Identity Module) is protected. |
|
string
LogFileName |
Full name of the log file. |
|
bool
EnableLog |
Enable log file. |
|
bool
ShowDebugMsgBox; |
Show debug message box. |