cdma: split 1x and EVDO registration states

Like UMTS vs. GSM, EVDO and 1x are separate networks and technologies
and have separate registration state.  You can even be roaming on
EVDO while in your home 1x network.  Handle that.
This commit is contained in:
Dan Williams
2009-10-12 10:06:53 -07:00
parent 3f51cf421e
commit 958b9048a3
16 changed files with 356 additions and 73 deletions
+3 -2
View File
@@ -59,8 +59,9 @@ def inspect_cdma(proxy, dump_private):
print "ESN: %s" % esn
try:
state = cdma.GetRegistrationState()
print "Registration: %s" % get_reg_state (state)
(cdma_1x_state, evdo_state) = cdma.GetRegistrationState()
print "1x State: %s" % get_reg_state (cdma_1x_state)
print "EVDO State: %s" % get_reg_state (evdo_state)
except dbus.exceptions.DBusException, e:
print "Error reading registration state: %s" % e