GXDN: Gurux Developer Network
GXSMS Class
NamespacesGurux.SMSGXSMS
The GXSMS component determines methods that make the communication possible using SMS (short message service).
Members
All Members Constructors Methods Properties Events



Icon Member Description
GXSMS()()()
Initializes a new instance of the GXSMS class

AboutBox()()()
Displays the copyright of the control, user license, and version information, in a dialog box.

AutoDelete
Determines if unread SMS messages are deleted automatically, after reading.

BitRate
Determines the bit rate.

CallIdentificationEnabled
Determines if Caller Identification is enabled.

CanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
Close()()()
Closes the active connection.

CodeType
Determines what code type is used to code SMS data.

Container
Gets the IContainer that contains the Component.
(Inherited from Component.)
CreateObjRef(Type)
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
DataBits
Determines the number of data bits.

DataTerminalReady
Determines the DTR (Data-Terminal-Ready) value.

Delete(Int32, Int32, Boolean)
Deletes SMS from the zero based index, given as a parameter.

DeleteMessagesOnConnect
Determines, if previous SMS messages are deleted, when connecting.

DesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Dispose()()()
Releases all resources used by the Component.
(Inherited from Component.)
Dispose(Boolean)
Releases the unmanaged resources used by the Component and optionally releases the managed resources.
(Inherited from Component.)
Disposed
Occurs when the component is disposed by a call to the Dispose()()() method.
(Inherited from Component.)
Equals(Object)
Determines whether two objects are equal.
(Overrides Object.Equals(Object).)
Events
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Finalize()()()
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
FlowControl
Determines the flow control value.

Functionality
Returns supported functionality of the modem.

GetAvailableLocaleIdentifiers()()()
Use GetAvailableLocaleIdentifiers method to get supported languages. To use the default language, set value to zero.

GetAvailablePorts()()()
Returns a collection of available serial ports.

GetBatteryCharge(Int32%, Int32%)
Retrieves battery charge level and average power consumption.

GetHashCode()()()
Serves as a hash function for a particular type.
(Overrides Object.GetHashCode()()().)
GetInfo()()()
Returns all available information from the modem.

GetLifetimeService()()()
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
GetMemoryCapacity(Int32%, Int32%)
Returns used and maximum SMS capacity.

GetNetworkStatus()()()
Retrieves the network status.

GetService(Type)
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
GetSettings()()()
Gets Media settings as a XML string.

GetSignalQuality(Int32%, Int32%)
Retrieves the signal strength indication of the received signal, and the bit error rate of the channel.

GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
InitializeCommands
Initializing AT commands, separated with a semicolon. The commands are sent to the modem when connecting, to set the modem to work in a required way.

InitializeLifetimeService()()()
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
IsOpen
Checks if the connection is open.

LocaleIdentifier
The localization identifier, which determines the used language. To use default language, set value to zero.

MemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Memory
Retrieves or sets the memory type, phone or SIM card.

MessagesReceived
The amount of received SMS messages.

MessagesSent
The amount of sent SMS messages.

OnError
Errors that occur after the connection is established, are sent through this method.

OnMediaStateChange
Media component sends notification, when its state changes.

OnReceived
GXSMS component sends received data through this method.

Open()()()
Opens the specified port and the connection.

Parity
Determines the parity of serial communication.

ParityCheck
Determines if the parity check of serial communication is performed.

PendingMessageCount
The amount of pending short messages.

PINCode
The PIN code to use.

PINCodeEnabled
Determines if PIN Code is enabled.

Port
The name of the serial port which is used for communication.

Properties(IWin32Window)
Shows the SMS properties dialog.

Read(Int32, Boolean)
Reads all messages of the selected memory, phone or SIM card.

ReceiverNumber
The phone number, to which the SMS message is sent.

RequestToSend
Determines whether the RTS (Request-To-Send) is enabled or disabled.

ResetMessageCounters()()()
Resets the counters of received and sent SMS messages.

Search(Int32, Boolean)
Retrieves a string array of COM ports, where modems, capable of sending or receiving SMS, are found.

Send(GXSMSMessage)
Sends SMS message.
No reply from the receiver, whether or not the operation was successful, is expected.

SendATCommand(String, Int32, String)
Sends an AT command, given as parameter, to the modem. Returns the result of the command, if available.

SendSync(GXSMSMessage, Int32, GXSMSMessage%)
Sends data synchronously.
A reply from the receiver, whether the send operation was successful, or if the data needs to be resent, is expected.

SetSettings(String)
Sets Media settings as a XML string.

Site
Gets or sets the ISite of the Component.
(Inherited from Component.)
SMSCheckInterval
Determines the interval, in seconds, in between new SMS messages, retreaved from the modem or the phone.

StopBits
Determines the stop bits.

ToString()()()
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)
Inheritance Hierarchy
See Also

Assembly: Gurux.SMS (Module: Gurux.SMS) Version: 5.0.0.1