michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "nsISupports.idl" michael@0: michael@0: [scriptable, uuid(E28E614F-8F86-44FF-BCF5-5F18225834A0)] michael@0: interface nsIWifiAccessPoint : nsISupports michael@0: { michael@0: michael@0: /* michael@0: * The mac address of the WiFi node. The format of this string is: michael@0: * XX-XX-XX-XX-XX-XX michael@0: */ michael@0: michael@0: readonly attribute ACString mac; michael@0: michael@0: /* michael@0: * Public name of a wireless network. The charset of this string is ASCII. michael@0: * This string will be null if not available. michael@0: * michael@0: * Note that this is a conversion of the SSID which makes it "displayable". michael@0: * for any comparisons, you want to use the Raw SSID. michael@0: */ michael@0: michael@0: readonly attribute AString ssid; michael@0: michael@0: /* michael@0: * Public name of a wireless network. These are the bytes that are read off michael@0: * of the network, may contain nulls, and generally shouldn't be displayed to michael@0: * the user. michael@0: * michael@0: */ michael@0: michael@0: readonly attribute ACString rawSSID; michael@0: michael@0: /* michael@0: * Current signal strength measured in dBm. michael@0: */ michael@0: readonly attribute long signal; michael@0: };