Add script handling on modem detection

Florian Eckert fe at dev.tdt.de
Mon Jul 10 05:58:19 UTC 2023


Hello Dylan

On 2023-07-08 12:30, Dylan Van Assche wrote:
> Hello,
> 
> On 5/07/2023 15:22, Florian Eckert wrote:
>> Hello,
>> 
>> I am using the modemmanager on openwrt (master).
>> While playing around, I noticed that it might be useful to trigger
>> an event after the modemmanager has detected a modem.
>> We already use '/usr/lib/ModemManager/connection.d' one a successful 
>> connection.
> 
> 
> There's already such interface, but it is not one provided by
> ModemManager, but ModemManager re-uses one from Freedesktop. You can
> watch for new modems by using the Freedesktop ObjectManager:
> 
> https://www.freedesktop.org/software/ModemManager/api/latest/ref-dbus-standard-interfaces-objectmanager.html
> 


Thanks for the hint. I'll have a look at it right away.

Best regards

Florian


More information about the ModemManager-devel mailing list