Org bluez. org bluez service input

From Openmoko

(Difference between revisions)
Jump to: navigation, search
 
Line 78: Line 78:
 
</pre>
 
</pre>
  
[[Category:Application Developer]]
+
[[Category:D-Bus]]

Latest revision as of 23:30, 31 July 2008

[edit] Overview

Bus name: org.bluez
Object name: /org/bluez/service_input
  interface org.bluez.Service
    (arg1:a{sv}) GetInfo()
    (arg1:s) GetIdentifier()
    (arg1:s) GetName()
    (arg1:s) GetDescription()
    (arg1:s) GetBusName()
    () Start()
    () Stop()
    (arg1:b) IsRunning()
    (arg1:b) IsExternal()
    () SetTrusted(arg1:s)
    (arg2:b) IsTrusted(arg1:s)
    () RemoveTrust(arg1:s)
    (arg1:as) ListTrusts()
    Started()
    Stopped()
    TrustAdded(arg1:s)
    TrustRemoved(arg1:s)

[edit] Introspect XML

<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node name="/org/bluez/service_input">
        <interface name="org.bluez.Service">
                <method name="GetInfo">
                        <arg type="a{sv}" direction="out"/>
                </method>
                <method name="GetIdentifier">
                        <arg type="s" direction="out"/>
                </method>
                <method name="GetName">
                        <arg type="s" direction="out"/>
                </method>
                <method name="GetDescription">
                        <arg type="s" direction="out"/>
                </method>
                <method name="GetBusName">
                        <arg type="s" direction="out"/>
                </method>
                <method name="Start"/>
                <method name="Stop"/>
                <method name="IsRunning">
                        <arg type="b" direction="out"/>
                </method>
                <method name="IsExternal">
                        <arg type="b" direction="out"/>
                </method>
                <method name="SetTrusted">
                        <arg type="s" direction="in"/>
                </method>
                <method name="IsTrusted">
                        <arg type="s" direction="in"/>
                        <arg type="b" direction="out"/>
                </method>
                <method name="RemoveTrust">
                        <arg type="s" direction="in"/>
                </method>
                <method name="ListTrusts">
                        <arg type="as" direction="out"/>
                </method>
                <signal name="Started"/>
                <signal name="Stopped"/>
                <signal name="TrustAdded">
                        <arg type="s"/>
                </signal>
                <signal name="TrustRemoved">
                        <arg type="s"/>
                </signal>
        </interface>
</node>

Personal tools

Overview

Bus name: org.bluez
Object name: /org/bluez/service_input
  interface org.bluez.Service
    (arg1:a{sv}) GetInfo()
    (arg1:s) GetIdentifier()
    (arg1:s) GetName()
    (arg1:s) GetDescription()
    (arg1:s) GetBusName()
    () Start()
    () Stop()
    (arg1:b) IsRunning()
    (arg1:b) IsExternal()
    () SetTrusted(arg1:s)
    (arg2:b) IsTrusted(arg1:s)
    () RemoveTrust(arg1:s)
    (arg1:as) ListTrusts()
    Started()
    Stopped()
    TrustAdded(arg1:s)
    TrustRemoved(arg1:s)

Introspect XML

<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node name="/org/bluez/service_input">
        <interface name="org.bluez.Service">
                <method name="GetInfo">
                        <arg type="a{sv}" direction="out"/>
                </method>
                <method name="GetIdentifier">
                        <arg type="s" direction="out"/>
                </method>
                <method name="GetName">
                        <arg type="s" direction="out"/>
                </method>
                <method name="GetDescription">
                        <arg type="s" direction="out"/>
                </method>
                <method name="GetBusName">
                        <arg type="s" direction="out"/>
                </method>
                <method name="Start"/>
                <method name="Stop"/>
                <method name="IsRunning">
                        <arg type="b" direction="out"/>
                </method>
                <method name="IsExternal">
                        <arg type="b" direction="out"/>
                </method>
                <method name="SetTrusted">
                        <arg type="s" direction="in"/>
                </method>
                <method name="IsTrusted">
                        <arg type="s" direction="in"/>
                        <arg type="b" direction="out"/>
                </method>
                <method name="RemoveTrust">
                        <arg type="s" direction="in"/>
                </method>
                <method name="ListTrusts">
                        <arg type="as" direction="out"/>
                </method>
                <signal name="Started"/>
                <signal name="Stopped"/>
                <signal name="TrustAdded">
                        <arg type="s"/>
                </signal>
                <signal name="TrustRemoved">
                        <arg type="s"/>
                </signal>
        </interface>
</node>