mirror of
https://gitlab.com/mobian1/eg25-manager.git
synced 2025-08-31 16:22:16 +02:00
src: watch ofono service for new modem
If system is using ofono, use ofono dbus service to figure out the modem's USB id.
This commit is contained in:
13
src/libgdbofono/manager.xml
Normal file
13
src/libgdbofono/manager.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
|
||||
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
|
||||
<node>
|
||||
|
||||
<interface name="org.ofono.Manager"><method name="GetModems"><arg name="modems" type="a(oa{sv})" direction="out"/>
|
||||
</method><signal name="ModemAdded"><arg name="path" type="o"/>
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
<signal name="ModemRemoved"><arg name="path" type="o"/>
|
||||
</signal>
|
||||
</interface>
|
||||
|
||||
</node>
|
Reference in New Issue
Block a user