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:
+3
-2
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user