diff options
author | Dan Williams <dcbw@redhat.com> | 2010-03-21 17:50:45 -0700 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-03-21 17:50:45 -0700 |
commit | 3b32e2a679f37b3913a12097581b065013d91f47 (patch) | |
tree | dc823b912463da51986d103fab47b4c9b930f7a7 /src/mm-modem-helpers.h | |
parent | 6598d2ef7f501feb799652db0ebaf25e4cba1a45 (diff) |
cdma: check for +SPSERVICE and $SPERI
Which are Sprint-specific commands which appear to be implemented by
various phones for getting access technology and roaming status.
Diffstat (limited to 'src/mm-modem-helpers.h')
-rw-r--r-- | src/mm-modem-helpers.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mm-modem-helpers.h b/src/mm-modem-helpers.h index f25c318a..3e398e59 100644 --- a/src/mm-modem-helpers.h +++ b/src/mm-modem-helpers.h @@ -17,6 +17,8 @@ #ifndef MM_MODEM_HELPERS_H #define MM_MODEM_HELPERS_H +#include "mm-modem-cdma.h" + #define MM_SCAN_TAG_STATUS "status" #define MM_SCAN_TAG_OPER_LONG "operator-long" #define MM_SCAN_TAG_OPER_SHORT "operator-short" @@ -41,5 +43,9 @@ gboolean mm_gsm_parse_creg_response (GMatchInfo *info, const char *mm_strip_tag (const char *str, const char *cmd); +gboolean mm_cdma_parse_spservice_response (const char *reply, + MMModemCdmaRegistrationState *out_cdma_1x_state, + MMModemCdmaRegistrationState *out_evdo_state); + #endif /* MM_MODEM_HELPERS_H */ |