KylixSMS .NET Component 6.3  Developer's Guide

KylixSMS.Device Class


Namespace: KylixComponent
Assembly: KylixSMS.Device (in KylixSMS.dll)

 

Methods:

enumError Connect()

Connect to the device.

enumError Disconnect()

Close the connection.

enumError SearchComPort(int Index, out string ComPort, out string PortDesc, bool UseFilter)

Search serial ports on computer.

enumError DetectDevice(string Port, out string Model, out string IMEI,
out string OwnNumber, out int Protocol, enumSearchLevel SearchLevel)

Detect information of device connected on specified Port.

enumError Command(string Command, out string Result, int Timeout)

Send the user instruction to the device.

enumError GetNetworkInfo(out string NetworkInfo)

Get network name.

enumError GetBatteryLevel(out int Battery)

Get power supply status.

enumError GetSignalLevel(out int Signal)

Get signal quality of the network.

enumError SyncTimeWithPC()

synchronize device time with PC.

enumError GetTime(out DateTime DevTime)

Get current time of the device.

enumError SetTime(DateTime DevTime)

Set current time of the device.

enumError GetSIMSent(out int SIMSent, out DateTime ResetTime)

Get SMS counter status.

enumError ResetSIMSend(int SIMSent, DateTime ResetTime)

Reset SMS counter.

enumError GetSMSCNumber(out string Number)

Get address number of the SMS center.

enumError SetSMSCNumber(string Number)

Set address number of the SMS center.

enumError GetOwnNumber(out string Number)

Get own number of SIM card in use.

enumError SetOwnNumber(string Number)

Set own number of SIM card in use.

enumDevStatus GetDevStatus()

Get connection status.

 

Properties:

string Manufacturer

Manufacturer of the device.

string Model

Model of the device.

string IMEI

IMEI of the device.

string IMSI

IMSI of the device.

string Firmware

Firmware version of the device.

   

 

Enums: