at-serial-port: allow sending 'raw' commands
Commands treated as 'raw' won't get the 'AT' prefix and will also not get the trailing carriage return.
This commit is contained in:
@@ -201,6 +201,7 @@ at_sequence_parse_response (MMAtSerialPort *port,
|
||||
ctx->port,
|
||||
ctx->current->command,
|
||||
ctx->current->timeout,
|
||||
FALSE,
|
||||
ctx->cancellable,
|
||||
(MMAtSerialResponseFn)at_sequence_parse_response,
|
||||
ctx);
|
||||
@@ -209,6 +210,7 @@ at_sequence_parse_response (MMAtSerialPort *port,
|
||||
ctx->port,
|
||||
ctx->current->command,
|
||||
ctx->current->timeout,
|
||||
FALSE,
|
||||
ctx->cancellable,
|
||||
(MMAtSerialResponseFn)at_sequence_parse_response,
|
||||
ctx);
|
||||
@@ -288,6 +290,7 @@ mm_base_modem_at_sequence_full (MMBaseModem *self,
|
||||
ctx->port,
|
||||
ctx->current->command,
|
||||
ctx->current->timeout,
|
||||
FALSE,
|
||||
ctx->cancellable,
|
||||
(MMAtSerialResponseFn)at_sequence_parse_response,
|
||||
ctx);
|
||||
@@ -535,6 +538,7 @@ mm_base_modem_at_command_full (MMBaseModem *self,
|
||||
port,
|
||||
command,
|
||||
timeout,
|
||||
FALSE,
|
||||
ctx->cancellable,
|
||||
(MMAtSerialResponseFn)at_command_parse_response,
|
||||
ctx);
|
||||
@@ -543,6 +547,7 @@ mm_base_modem_at_command_full (MMBaseModem *self,
|
||||
port,
|
||||
command,
|
||||
timeout,
|
||||
FALSE,
|
||||
ctx->cancellable,
|
||||
(MMAtSerialResponseFn)at_command_parse_response,
|
||||
ctx);
|
||||
|
Reference in New Issue
Block a user