Declaration
Visual C#:
string Command(string Command, string ExitString, int Timeout);
Visual C++:
CString Command(CString Command, CString ExitString,long Timeout);
Visual Basic:
Private Sub Command(ByVal Command As String, ByVal ExitString As String, ByVal Timeout As Long) As String
Delphi:
function Command(Command:string; ExitString:string; Timeout:Longint): string;
Parameters
Command
Command string sent to mobile phones.
ExitString
String that can cause this method to return before the command is timeout.
Timeout
Command timeout time, in unit of millisecond.
Return Value
Return the command result string, otherwise return empty.
Remarks
To send the user's instruction to mobile phones. This method is used for the extra initiation and extensive features of the control.
See Also Connect, Disconnect