base-modem: implement new modem-wide cancellable, and rework AT commands
Instead of the `_in_port()' variants, we'll provide more generic `_full()' methods. These should be used either if we want to send commands to a specific port, or if we want to use a specific user-provided GCancellable. In addition to this user-provided GCancellable, we keep the internal modem-wide one.
This commit is contained in:
@@ -306,7 +306,6 @@ load_access_technologies_step (AccessTechnologiesContext *ctx)
|
||||
"_OSSYS?",
|
||||
3,
|
||||
FALSE,
|
||||
NULL, /* cancellable */
|
||||
(GAsyncReadyCallback)ossys_query_ready,
|
||||
ctx);
|
||||
break;
|
||||
@@ -317,7 +316,6 @@ load_access_technologies_step (AccessTechnologiesContext *ctx)
|
||||
"_OCTI?",
|
||||
3,
|
||||
FALSE,
|
||||
NULL, /* cancellable */
|
||||
(GAsyncReadyCallback)octi_query_ready,
|
||||
ctx);
|
||||
return;
|
||||
@@ -331,7 +329,6 @@ load_access_technologies_step (AccessTechnologiesContext *ctx)
|
||||
"_OWCTI?",
|
||||
3,
|
||||
FALSE,
|
||||
NULL, /* cancellable */
|
||||
(GAsyncReadyCallback)owcti_query_ready,
|
||||
ctx);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user