<?xml version="1.0" encoding="UTF-8" ?>

<node name="/org/openmoko/Diversity/Ap" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
  <interface name="org.openmoko.Diversity.Ap">

    <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="control_ap"/>

    <method name="GetStrengthGrid">
      <tp:docstring>
        Get the strength grid of an AP.  The strengh grid describes the signal strength coverage of an AP within its geometry.  It is sampled equally within the geometry.
      </tp:docstring>

      <arg type="ay" name="grid" direction="out">
        <tp:docstring>
          An array of 8x8 sample points.
        </tp:docstring>
      </arg>
    </method> 

    <property name="InService" type="b" access="read">
      <tp:docstring>
        Indicate wheather an AP is in service.  That is, whether the wlan card can see it.
      </tp:docstring>
    </property>
    <property name="Flags" type="u" access="read">
      <tp:docstring>
        The first bit indicates whether an AP is encrypted.
      </tp:docstring>
    </property>
    <property name="WpaFlags" type="u" access="read">
      <tp:docstring>
        UNUSED.
      </tp:docstring>
    </property>
    <property name="RsnFlags" type="u" access="read">
      <tp:docstring>
        UNUSED.
      </tp:docstring>
    </property>
    <property name="Ssid" type="s" access="read">
      <tp:docstring>
        The ESSID of an AP.
      </tp:docstring>
    </property>
    <property name="Frequency" type="u" access="read">
      <tp:docstring>
        The frequency of an AP.
      </tp:docstring>
    </property>
    <property name="HwAddress" type="s" access="read">
      <tp:docstring>
        The BSSID of an AP.
      </tp:docstring>
    </property>
    <property name="Mode" type="i" access="read">
      <tp:docstring>
        The mode of an AP.
      </tp:docstring>
    </property>
    <property name="Rate" type="u" access="read">
      <tp:docstring>
        The rate of an AP.
      </tp:docstring>
    </property>
    <property name="Strength" type="y" access="read">
      <tp:docstring>
        The strength of an AP.
      </tp:docstring>
    </property>

  </interface>
</node>
