This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Review at https://gerrit.osmocom.org/2471
ofono_client: Sort events more logically
Change-Id: I515203a14cf629e789a7f7659d43126898ab4534
---
M src/osmo_gsm_tester/ofono_client.py
1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/71/2471/1
diff --git a/src/osmo_gsm_tester/ofono_client.py b/src/osmo_gsm_tester/ofono_client.py
index 6dc9616..5f40868 100644
--- a/src/osmo_gsm_tester/ofono_client.py
+++ b/src/osmo_gsm_tester/ofono_client.py
@@ -64,6 +64,8 @@
self.sms_received_list = []
self.netreg_status = None
self.nitb = None
+ # init interfaces and connect to signals:
+ self.dbus_obj()
test.poll()
def set_msisdn(self, msisdn):
@@ -195,9 +197,9 @@
def connect(self, nitb):
'set the modem up to connect to MCC+MNC from NITB config'
self.log('connect to', nitb)
+ self.set_online(False)
self.set_powered(False)
self.set_powered()
- self.set_online(False)
self.set_online()
self.nitb = nitb
if self.has_interface(I_NETREG):
--
To view, visit https://gerrit.osmocom.org/2471
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I515203a14cf629e789a7f7659d43126898ab4534
Gerrit-PatchSet: 1
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>