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:
Aleksander Morgado
2012-08-24 11:39:19 +02:00
parent d74336e96d
commit d9ea4a304c
8 changed files with 29 additions and 9 deletions

View File

@@ -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);