Hi!
On Sun, 8 Sep 2019, Aleksander Morgado wrote:
Absolutely no idea, because I don't know how netifd expects that to be
reported or how it does connection monitoring. Any info on how that
works would be appreciated.

I admit I didn't follow the entire discussion from the beginning, so sorry for 
the noise in case what I am telling is useless.
From my unerstanding, anyone please correct me if I am wrong, lots of relevant 
code is in OpenWRt's netifd-proto.sh.
From my understanding, netifd expects to be informed by protocol handlers about 
when things change, especially because in this case the network interface 
wouldn't change it's state apparently.
So, as righly pointed out by you, MM may directly emit ubus events simulating 
what a protocol handler does, or it may invoke a shell script carrying out that 
task, keeping the state consistent.
This is what I did in AGH - I am not saying it's the best solution, but that's 
the route I choose.


Enrico
_______________________________________________
ModemManager-devel mailing list
ModemManager-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Reply via email to