GsmModemExecuteATCommand(String, ListString, Int32, Char) Method |
Execute AT command.
Namespace: ZylSoft.GsmAssembly: ZylGsm (in ZylGsm.dll) Version: 1.2.0.21451
XMLNS for XAML: Not mapped to an xmlns.
Syntaxpublic int ExecuteATCommand(
string strAT,
List<string> resultList,
int timeOutSeconds = 15,
char commandTerminator = ''
)
Public Function ExecuteATCommand (
strAT As String,
resultList As List(Of String),
Optional timeOutSeconds As Integer = 15,
Optional commandTerminator As Char = ""C
) As Integer
Dim instance As GsmModem
Dim strAT As String
Dim resultList As List(Of String)
Dim timeOutSeconds As Integer
Dim commandTerminator As Char
Dim returnValue As Integer
returnValue = instance.ExecuteATCommand(strAT,
resultList, timeOutSeconds, commandTerminator)
public:
int ExecuteATCommand(
String^ strAT,
List<String^>^ resultList,
int timeOutSeconds = 15,
wchar_t commandTerminator = L''
)
member ExecuteATCommand :
strAT : string *
resultList : List<string> *
?timeOutSeconds : int *
?commandTerminator : char
(* Defaults:
let _timeOutSeconds = defaultArg timeOutSeconds 15
let _commandTerminator = defaultArg commandTerminator ''
*)
-> int Parameters
- strAT String
- AT command.
- resultList ListString
- Result codes in a string list.
- timeOutSeconds Int32 (Optional)
- Timeout in seconds.
- commandTerminator Char (Optional)
- Command terminator.
Return Value
Int32Result list count.
See Also