<div dir="ltr">I want to change it to report disconnected when not actively registered to a tower. I'd also like to find more ways to flag it as disconnected when you can't route out despite the bearer being setup and activated correctly, i.e. maybe you had a data connection and roamed onto a voice only tower. I was assuming that the Modem status was the connection of the bearer i.e. WAN is setup and the bearer-connected status would be if it is routing so I'd update the bearer-connected status based on routing?<br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 8, 2016 at 1:59 PM, Dan Williams <span dir="ltr"><<a href="mailto:dcbw@redhat.com" target="_blank">dcbw@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, 2016-09-08 at 11:27 -0600, matthew stanger wrote:<br>
> I'm trying to understand the difference of what these properties tell<br>
> the<br>
> user? I want to make sure I don't update the status of one in the<br>
> wrong way<br>
> because of my interpretation.<br>
<br>
</span>If there's at least one bearer that's connected, then the modem state<br>
should also be connected... but I think the core should handle this<br>
for you; I don't think there's any reason a plugin should have to<br>
update the modem state itself, either via mm_iface_modem_update_<wbr>state()<br>
or mm_iface_modem_update_<wbr>subsystem_state().<br>
<br>
In what cases does it seem a state update is needed?<br>
<span class="HOEnZb"><font color="#888888"><br>
Dan<br>
</font></span></blockquote></div><br></div>