<p><a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18535">View Change</a></p><p>2 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18535/1/src/osmo_gsm_tester/obj/ms_srs.py">File src/osmo_gsm_tester/obj/ms_srs.py:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18535/1/src/osmo_gsm_tester/obj/ms_srs.py@316">Patch Set #1, Line 316:</a> <code style="font-family:monospace,monospace">    def is_rrc_idle(self):</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">From follow-up commits, I talked about dropping this API. Simply use not self.is_rrc_connected() directly.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18535/1/src/osmo_gsm_tester/obj/ms_srs.py@319">Patch Set #1, Line 319:</a> <code style="font-family:monospace,monospace">    def is_emm_registered(self):</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">I think we can't compare the 2G(/3G) with the 4G/5G case here. The terms are simply different. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">So, I propose doing this:</p><ul><li>You can keep the is_rrc_connected() as it is, which is specific to ms_srs.py for now.</li><li>Drop is_rrc_idle()</li><li>Rename ms_ofono.py "is_connected" method to "is_registered" and in all tests under sysmocom/ and doc/examples.</li><li>Set this new "is_registered" method as abstract in ms.py</li><li>When you implement it here (rename is_emm_registered to is_registered), simply add a description explaining it means EMM registered.</li></ul><p style="white-space: pre-wrap; word-wrap: break-word;">What do you think?</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18535">change 18535</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18535"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-gsm-tester </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I6cd057e34b4df6a1a73695355dd6406d7e039546 </div>
<div style="display:none"> Gerrit-Change-Number: 18535 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: srs_andre <andre@softwareradiosystems.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: srs_andre <andre@softwareradiosystems.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 29 May 2020 13:43:12 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Comment-In-Reply-To: srs_andre <andre@softwareradiosystems.com> </div>
<div style="display:none"> Comment-In-Reply-To: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>