Org openmoko PhoneKit. org openmoko PhoneKit Network

From Openmoko

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

Jump to: navigation, search

Overview

Bus name: org.openmoko.PhoneKit
Object name: /org/openmoko/PhoneKit/Network
  interface org.freedesktop.DBus.Introspectable
    (data:s) Introspect()
  interface org.freedesktop.DBus.Properties
    (value:v) Get(interface:s,propname:s)
    () Set(interface:s,propname:s,value:v)
  interface org.openmoko.PhoneKit.Network
    (dial_code:s) GetHomeCountryCode()
    (dial_code:s) GetCountryCode()
    (number:s) GetSubscriberNumber()
    (name:s) GetProviderName()
    StatusChanged(arg1:i)
    ProviderChanged(arg1:s)
    SubscriberNumberChanged(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>
  <interface name="org.freedesktop.DBus.Introspectable">
    <method name="Introspect">
      <arg name="data" direction="out" type="s"/>
    </method>
  </interface>
  <interface name="org.freedesktop.DBus.Properties">
    <method name="Get">
      <arg name="interface" direction="in" type="s"/>
      <arg name="propname" direction="in" type="s"/>
      <arg name="value" direction="out" type="v"/>
    </method>
    <method name="Set">
      <arg name="interface" direction="in" type="s"/>
      <arg name="propname" direction="in" type="s"/>
      <arg name="value" direction="in" type="v"/>
    </method>
  </interface>
  <interface name="org.openmoko.PhoneKit.Network">
    <method name="GetHomeCountryCode">
      <arg name="dial_code" type="s" direction="out"/>
    </method>
    <method name="GetCountryCode">
      <arg name="dial_code" type="s" direction="out"/>
    </method>
    <method name="GetSubscriberNumber">
      <arg name="number" type="s" direction="out"/>
    </method>
    <method name="GetProviderName">
      <arg name="name" type="s" direction="out"/>
    </method>
    <signal name="StatusChanged">
      <arg type="i"/>
    </signal>
    <signal name="ProviderChanged">
      <arg type="s"/>
    </signal>
    <signal name="SubscriberNumberChanged">
      <arg type="s"/>
    </signal>
    <property name="Status" type="i" access="read"/>
    </property>
  </interface>
</node>

Personal tools

Overview

Bus name: org.openmoko.PhoneKit
Object name: /org/openmoko/PhoneKit/Network
  interface org.freedesktop.DBus.Introspectable
    (data:s) Introspect()
  interface org.freedesktop.DBus.Properties
    (value:v) Get(interface:s,propname:s)
    () Set(interface:s,propname:s,value:v)
  interface org.openmoko.PhoneKit.Network
    (dial_code:s) GetHomeCountryCode()
    (dial_code:s) GetCountryCode()
    (number:s) GetSubscriberNumber()
    (name:s) GetProviderName()
    StatusChanged(arg1:i)
    ProviderChanged(arg1:s)
    SubscriberNumberChanged(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>
  <interface name="org.freedesktop.DBus.Introspectable">
    <method name="Introspect">
      <arg name="data" direction="out" type="s"/>
    </method>
  </interface>
  <interface name="org.freedesktop.DBus.Properties">
    <method name="Get">
      <arg name="interface" direction="in" type="s"/>
      <arg name="propname" direction="in" type="s"/>
      <arg name="value" direction="out" type="v"/>
    </method>
    <method name="Set">
      <arg name="interface" direction="in" type="s"/>
      <arg name="propname" direction="in" type="s"/>
      <arg name="value" direction="in" type="v"/>
    </method>
  </interface>
  <interface name="org.openmoko.PhoneKit.Network">
    <method name="GetHomeCountryCode">
      <arg name="dial_code" type="s" direction="out"/>
    </method>
    <method name="GetCountryCode">
      <arg name="dial_code" type="s" direction="out"/>
    </method>
    <method name="GetSubscriberNumber">
      <arg name="number" type="s" direction="out"/>
    </method>
    <method name="GetProviderName">
      <arg name="name" type="s" direction="out"/>
    </method>
    <signal name="StatusChanged">
      <arg type="i"/>
    </signal>
    <signal name="ProviderChanged">
      <arg type="s"/>
    </signal>
    <signal name="SubscriberNumberChanged">
      <arg type="s"/>
    </signal>
    <property name="Status" type="i" access="read"/>
    </property>
  </interface>
</node>