Whisperstream Research Group - SerialComm GSM SDK Documentation

SerialIO.SendCommand Method (String)

sends a command synchronously to the serial port and waits for one of the responses contained in the default endTokens. If no matching response is found before the default commandTimeout milliseconds elapse a CommandTimeoutException is thrown

public string SendCommand(
   string data
);

Parameters

data
the data to send

Return Value

the response including the matched endtoken

Implements

ISerialIO.SendCommand

See Also

SerialIO Class | Whisperstream.SerialComm.IO Namespace | SerialIO.SendCommand Overload List