at-serial-port: allow cancelling the response timeout

This commit is contained in:
Aleksander Morgado
2012-03-07 13:08:43 +01:00
parent 5a485d74a2
commit ef2b1cf030
4 changed files with 12 additions and 2 deletions

View File

@@ -172,6 +172,7 @@ at_sequence_parse_response (MMAtSerialPort *port,
ctx->port,
ctx->current->command,
ctx->current->timeout,
ctx->cancellable,
(MMAtSerialResponseFn)at_sequence_parse_response,
ctx);
else
@@ -179,6 +180,7 @@ at_sequence_parse_response (MMAtSerialPort *port,
ctx->port,
ctx->current->command,
ctx->current->timeout,
ctx->cancellable,
(MMAtSerialResponseFn)at_sequence_parse_response,
ctx);
return;
@@ -244,6 +246,7 @@ mm_base_modem_at_sequence_in_port (MMBaseModem *self,
ctx->port,
ctx->current->command,
ctx->current->timeout,
ctx->cancellable,
(MMAtSerialResponseFn)at_sequence_parse_response,
ctx);
}
@@ -450,6 +453,7 @@ mm_base_modem_at_command_in_port (MMBaseModem *self,
port,
command,
timeout,
ctx->cancellable,
(MMAtSerialResponseFn)at_command_parse_response,
ctx);
else
@@ -457,6 +461,7 @@ mm_base_modem_at_command_in_port (MMBaseModem *self,
port,
command,
timeout,
ctx->cancellable,
(MMAtSerialResponseFn)at_command_parse_response,
ctx);
}