netwerk/wifi/nsIWifiAccessPoint.idl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/netwerk/wifi/nsIWifiAccessPoint.idl	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,41 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +#include "nsISupports.idl"
     1.9 +
    1.10 +[scriptable, uuid(E28E614F-8F86-44FF-BCF5-5F18225834A0)]
    1.11 +interface nsIWifiAccessPoint : nsISupports
    1.12 +{
    1.13 +
    1.14 +  /*
    1.15 +   * The mac address of the WiFi node.  The format of this string is:
    1.16 +   * XX-XX-XX-XX-XX-XX
    1.17 +   */
    1.18 +
    1.19 +  readonly attribute ACString mac;
    1.20 +
    1.21 +  /*
    1.22 +   * Public name of a wireless network.  The charset of this string is ASCII.
    1.23 +   * This string will be null if not available.
    1.24 +   *
    1.25 +   * Note that this is a conversion of the SSID which makes it "displayable".
    1.26 +   * for any comparisons, you want to use the Raw SSID.
    1.27 +   */
    1.28 +
    1.29 +  readonly attribute AString ssid;
    1.30 +
    1.31 +  /*
    1.32 +   * Public name of a wireless network.  These are the bytes that are read off
    1.33 +   * of the network, may contain nulls, and generally shouldn't be displayed to
    1.34 +   * the user.
    1.35 +   *
    1.36 +   */
    1.37 +
    1.38 +  readonly attribute ACString rawSSID;
    1.39 +
    1.40 +  /*
    1.41 +   * Current signal strength measured in dBm.
    1.42 +   */
    1.43 +  readonly attribute long signal;
    1.44 +};

mercurial