diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-01-11 13:43:12 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:49 +0100 |
commit | 0b8ad7025013d88a38c63a1adf5ca13aa0abb226 (patch) | |
tree | 64d410127ceab30406d446723e114637e68e2a4b /src/mm-iface-modem-cdma.h | |
parent | 165a4dcb943d2d81fc3ec371d19695afb4e3508a (diff) |
iface-modem-cdma: provide a method to register in the CDMA network
This will really not be like the 3GPP method. In 3GPP we can request to do
auto-registration, or request to lock to a specific Operator. Once that done,
we wait for unsolicited registration messages and also perform peridic
registration checks.
In the case of the CDMA network, the registration seems to be always automatic.
Therefore, this method to register in the CDMA network will just make sure that
we got registered, by waiting up to N seconds while doing periodic registration
checks.
Diffstat (limited to 'src/mm-iface-modem-cdma.h')
-rw-r--r-- | src/mm-iface-modem-cdma.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mm-iface-modem-cdma.h b/src/mm-iface-modem-cdma.h index 1a297ae5..00289c55 100644 --- a/src/mm-iface-modem-cdma.h +++ b/src/mm-iface-modem-cdma.h @@ -140,6 +140,14 @@ struct _MMIfaceModemCdma { MMModemCdmaRegistrationState *detailed_evdo_state, GError **error); + /* Try to register in the CDMA network */ + void (* register_in_network) (MMIfaceModemCdma *self, + GAsyncReadyCallback callback, + gpointer user_data); + gboolean (*register_in_network_finish) (MMIfaceModemCdma *self, + GAsyncResult *res, + GError **error); + /* New CDMA bearer */ void (* bearer_new) (MMIfaceModemCdma *self, MMCommonBearerProperties *properties, @@ -214,6 +222,14 @@ gboolean mm_iface_modem_cdma_run_all_registration_checks_finish (MMIfaceModemCdm GAsyncResult *res, GError **error); +/* Register in network */ +void mm_iface_modem_cdma_register_in_network (MMIfaceModemCdma *self, + GAsyncReadyCallback callback, + gpointer user_data); +gboolean mm_iface_modem_cdma_register_in_network_finish (MMIfaceModemCdma *self, + GAsyncResult *res, + GError **error); + /* Create new CDMA bearer */ void mm_iface_modem_cdma_create_bearer (MMIfaceModemCdma *self, MMCommonBearerProperties *properties, |