|
|
KylixSMS.Device.Connect Method |
||
Visual C#: public enumError Connect(); Visual Basic: Public Function Connect() As enumError Description The Connect method opens the serial communication port specified in the Port property, then try to connect to device. Return Value Return enumError.ERR_NONE if the operation was successful; otherwise return enumError. Remarks Before calling this method, you need to set KylixSMS.Protocol, KylixSMS.Port and KylixSMS.Baudrate properties. If the connection fails, call GetErrInfo(ErrorCode) function to identify the failure reasons. See Also Disconnect, GetDevStatus, KylixSMS.Port, KylixSMS.Protocol, KylixSMS.Baudrate |