Org bluez. org bluez

From Openmoko

Revision as of 06:09, 8 July 2008 by Glenn (Talk | contribs)

Jump to: navigation, search

Overview

Bus name: org.bluez
Object name: /org/bluez
  interface org.bluez.Manager
    (arg1:u) InterfaceVersion()
    (arg1:s) DefaultAdapter()
    (arg2:s) FindAdapter(arg1:s)
    (arg1:as) ListAdapters()
    (arg2:s) FindService(arg1:s)
    (arg1:as) ListServices()
    (arg2:s) ActivateService(arg1:s)
    AdapterAdded(arg1:s)
    AdapterRemoved(arg1:s)
    DefaultAdapterChanged(arg1:s)
    ServiceAdded(arg1:s)
    ServiceRemoved(arg1:s)
  interface org.bluez.Database
    (arg2:u) AddServiceRecord(arg1:ay)
    (arg2:u) AddServiceRecordFromXML(arg1:s)
    () UpdateServiceRecord(arg1:u,arg2:ay)
    () UpdateServiceRecordFromXML(arg1:u,arg2:s)
    () RemoveServiceRecord(arg1:u)
    () RegisterService(arg1:s,arg2:s,arg3:s)
    () UnregisterService(arg1:s)
    () RequestAuthorization(arg1:s,arg2:s)
    () CancelAuthorizationRequest(arg1:s,arg2:s)
  interface org.bluez.Security
    () RegisterDefaultPasskeyAgent(arg1:s)
    () UnregisterDefaultPasskeyAgent(arg1:s)
    () RegisterPasskeyAgent(arg1:s,arg2:s)
    () UnregisterPasskeyAgent(arg1:s,arg2:s)
    () RegisterDefaultAuthorizationAgent(arg1:s)
    () UnregisterDefaultAuthorizationAgent(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">
        <interface name="org.bluez.Manager">
                <method name="InterfaceVersion">
                        <arg type="u" direction="out"/>
                </method>
                <method name="DefaultAdapter">
                        <arg type="s" direction="out"/>
                </method>
                <method name="FindAdapter">
                        <arg type="s" direction="in"/>
                        <arg type="s" direction="out"/>
                </method>
                <method name="ListAdapters">
                        <arg type="as" direction="out"/>
                </method>
                <method name="FindService">
                        <arg type="s" direction="in"/>
                        <arg type="s" direction="out"/>
                </method>
                <method name="ListServices">
                        <arg type="as" direction="out"/>
                </method>
                <method name="ActivateService">
                        <arg type="s" direction="in"/>
                        <arg type="s" direction="out"/>
                </method>
                <signal name="AdapterAdded">
                        <arg type="s"/>
                </signal>
                <signal name="AdapterRemoved">
                        <arg type="s"/>
                </signal>
                <signal name="DefaultAdapterChanged">
                        <arg type="s"/>
                </signal>
                <signal name="ServiceAdded">
                        <arg type="s"/>
                </signal>
                <signal name="ServiceRemoved">
                        <arg type="s"/>
                </signal>
        </interface>
        <interface name="org.bluez.Database">
                <method name="AddServiceRecord">
                        <arg type="ay" direction="in"/>
                        <arg type="u" direction="out"/>
                </method>
                <method name="AddServiceRecordFromXML">
                        <arg type="s" direction="in"/>
                        <arg type="u" direction="out"/>
                </method>
                <method name="UpdateServiceRecord">
                        <arg type="u" direction="in"/>
                        <arg type="ay" direction="in"/>
                </method>
                <method name="UpdateServiceRecordFromXML">
                        <arg type="u" direction="in"/>
                        <arg type="s" direction="in"/>
                </method>
                <method name="RemoveServiceRecord">
                        <arg type="u" direction="in"/>
                </method>
                <method name="RegisterService">
                        <arg type="s" direction="in"/>
                        <arg type="s" direction="in"/>
                        <arg type="s" direction="in"/>
                </method>
                <method name="UnregisterService">
                        <arg type="s" direction="in"/>
                </method>
                <method name="RequestAuthorization">
                        <arg type="s" direction="in"/>
                        <arg type="s" direction="in"/>
                </method>
                <method name="CancelAuthorizationRequest">
                        <arg type="s" direction="in"/>
                        <arg type="s" direction="in"/>
                </method>
        </interface>
        <interface name="org.bluez.Security">
                <method name="RegisterDefaultPasskeyAgent">
                        <arg type="s" direction="in"/>
                </method>
                <method name="UnregisterDefaultPasskeyAgent">
                        <arg type="s" direction="in"/>
                </method>
                <method name="RegisterPasskeyAgent">
                        <arg type="s" direction="in"/>
                        <arg type="s" direction="in"/>
                </method>
                <method name="UnregisterPasskeyAgent">
                        <arg type="s" direction="in"/>
                        <arg type="s" direction="in"/>
                </method>
                <method name="RegisterDefaultAuthorizationAgent">
                        <arg type="s" direction="in"/>
                </method>
                <method name="UnregisterDefaultAuthorizationAgent">
                        <arg type="s" direction="in"/>
                </method>
        </interface>
        <node name="hci0"/>
        <node name="service_audio"/>
        <node name="service_echo"/>
        <node name="service_input"/>
        <node name="service_network"/>
        <node name="service_serial"/>
</node>

Personal tools

Overview

Bus name: org.bluez
Object name: /org/bluez
  interface org.bluez.Manager
    (arg1:u) InterfaceVersion()
    (arg1:s) DefaultAdapter()
    (arg2:s) FindAdapter(arg1:s)
    (arg1:as) ListAdapters()
    (arg2:s) FindService(arg1:s)
    (arg1:as) ListServices()
    (arg2:s) ActivateService(arg1:s)
    AdapterAdded(arg1:s)
    AdapterRemoved(arg1:s)
    DefaultAdapterChanged(arg1:s)
    ServiceAdded(arg1:s)
    ServiceRemoved(arg1:s)
  interface org.bluez.Database
    (arg2:u) AddServiceRecord(arg1:ay)
    (arg2:u) AddServiceRecordFromXML(arg1:s)
    () UpdateServiceRecord(arg1:u,arg2:ay)
    () UpdateServiceRecordFromXML(arg1:u,arg2:s)
    () RemoveServiceRecord(arg1:u)
    () RegisterService(arg1:s,arg2:s,arg3:s)
    () UnregisterService(arg1:s)
    () RequestAuthorization(arg1:s,arg2:s)
    () CancelAuthorizationRequest(arg1:s,arg2:s)
  interface org.bluez.Security
    () RegisterDefaultPasskeyAgent(arg1:s)
    () UnregisterDefaultPasskeyAgent(arg1:s)
    () RegisterPasskeyAgent(arg1:s,arg2:s)
    () UnregisterPasskeyAgent(arg1:s,arg2:s)
    () RegisterDefaultAuthorizationAgent(arg1:s)
    () UnregisterDefaultAuthorizationAgent(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">
        <interface name="org.bluez.Manager">
                <method name="InterfaceVersion">
                        <arg type="u" direction="out"/>
                </method>
                <method name="DefaultAdapter">
                        <arg type="s" direction="out"/>
                </method>
                <method name="FindAdapter">
                        <arg type="s" direction="in"/>
                        <arg type="s" direction="out"/>
                </method>
                <method name="ListAdapters">
                        <arg type="as" direction="out"/>
                </method>
                <method name="FindService">
                        <arg type="s" direction="in"/>
                        <arg type="s" direction="out"/>
                </method>
                <method name="ListServices">
                        <arg type="as" direction="out"/>
                </method>
                <method name="ActivateService">
                        <arg type="s" direction="in"/>
                        <arg type="s" direction="out"/>
                </method>
                <signal name="AdapterAdded">
                        <arg type="s"/>
                </signal>
                <signal name="AdapterRemoved">
                        <arg type="s"/>
                </signal>
                <signal name="DefaultAdapterChanged">
                        <arg type="s"/>
                </signal>
                <signal name="ServiceAdded">
                        <arg type="s"/>
                </signal>
                <signal name="ServiceRemoved">
                        <arg type="s"/>
                </signal>
        </interface>
        <interface name="org.bluez.Database">
                <method name="AddServiceRecord">
                        <arg type="ay" direction="in"/>
                        <arg type="u" direction="out"/>
                </method>
                <method name="AddServiceRecordFromXML">
                        <arg type="s" direction="in"/>
                        <arg type="u" direction="out"/>
                </method>
                <method name="UpdateServiceRecord">
                        <arg type="u" direction="in"/>
                        <arg type="ay" direction="in"/>
                </method>
                <method name="UpdateServiceRecordFromXML">
                        <arg type="u" direction="in"/>
                        <arg type="s" direction="in"/>
                </method>
                <method name="RemoveServiceRecord">
                        <arg type="u" direction="in"/>
                </method>
                <method name="RegisterService">
                        <arg type="s" direction="in"/>
                        <arg type="s" direction="in"/>
                        <arg type="s" direction="in"/>
                </method>
                <method name="UnregisterService">
                        <arg type="s" direction="in"/>
                </method>
                <method name="RequestAuthorization">
                        <arg type="s" direction="in"/>
                        <arg type="s" direction="in"/>
                </method>
                <method name="CancelAuthorizationRequest">
                        <arg type="s" direction="in"/>
                        <arg type="s" direction="in"/>
                </method>
        </interface>
        <interface name="org.bluez.Security">
                <method name="RegisterDefaultPasskeyAgent">
                        <arg type="s" direction="in"/>
                </method>
                <method name="UnregisterDefaultPasskeyAgent">
                        <arg type="s" direction="in"/>
                </method>
                <method name="RegisterPasskeyAgent">
                        <arg type="s" direction="in"/>
                        <arg type="s" direction="in"/>
                </method>
                <method name="UnregisterPasskeyAgent">
                        <arg type="s" direction="in"/>
                        <arg type="s" direction="in"/>
                </method>
                <method name="RegisterDefaultAuthorizationAgent">
                        <arg type="s" direction="in"/>
                </method>
                <method name="UnregisterDefaultAuthorizationAgent">
                        <arg type="s" direction="in"/>
                </method>
        </interface>
        <node name="hci0"/>
        <node name="service_audio"/>
        <node name="service_echo"/>
        <node name="service_input"/>
        <node name="service_network"/>
        <node name="service_serial"/>
</node>