aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem.h
diff options
context:
space:
mode:
authorNathan Williams <njw@chromium.org>2012-01-23 11:04:49 -0500
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:15:06 +0100
commit3c41ce5d8b238e6a3a2cf101885e3a2df8efae0e (patch)
tree00a8151142494e9ca310e3d8b72093781650aea9 /src/mm-iface-modem.h
parent54c2daf937e3bc6062d5b867c1b0490381de711e (diff)
api,dbus: new `Command' method in the API to send arbitrary AT commands
BUG=chromium-os:25348 TEST="mmcli -m 0 --command='E0'" Change-Id: I320587560fde5780f9d5a4998e32364d36a71ed7
Diffstat (limited to 'src/mm-iface-modem.h')
-rw-r--r--src/mm-iface-modem.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mm-iface-modem.h b/src/mm-iface-modem.h
index de2564ec..f5a16252 100644
--- a/src/mm-iface-modem.h
+++ b/src/mm-iface-modem.h
@@ -163,6 +163,16 @@ struct _MMIfaceModem {
GAsyncResult *res,
GError **error);
+ /* Asynchronous command operation */
+ void (*command) (MMIfaceModem *self,
+ const gchar *cmd,
+ guint timeout,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+ const gchar * (*command_finish) (MMIfaceModem *self,
+ GAsyncResult *res,
+ GError **error);
+
/* Asynchronous allowed band setting operation */
void (*set_allowed_bands) (MMIfaceModem *self,
GArray *bands_array,