<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div class=""><div class="h5">
<br>
</div></div>Sounds fine to me, though how does the subscription state get read from<br>
the modem?<br><br></blockquote><div><br></div><div>It's likely modem / carrier specific. For instance, the Vendor PCO is one way to notify the subscription status (<a href="http://lists.freedesktop.org/archives/modemmanager-devel/2013-July/000021.html">http://lists.freedesktop.org/archives/modemmanager-devel/2013-July/000021.html</a>). Another scenario that we've seen is that, if +CEREG indicates the modem is not registered but reports a cell ID, we check if the last error is EPS_AND_NON_EPS_SERVICES_NOT_ALLOWED in order to determine (or estimate) the subscription status.</div>

<div><br></div></div></div></div>