B2G OS

MozWifiP2pGroupOwner

This API is available on Firefox OS for internal applications only.

The MozWifiP2pGroupOwner is an interface that represents the group owner of WiFi Direct connection.

Properties

This interface doesn't inherits any property.

MozWifiP2pGroupOwner.groupName Read only
Returns a DOMString giving the name of the group this is the owner.
MozWifiP2pGroupOwner.macAddress Read only
Returns a DOMString with the MAC address of the owner.
MozWifiP2pGroupOwner.ipAddress Read only
Returns a DOMString with the IP address of the owner.
MozWifiP2pGroupOwner.passphrase Read only
Returns a DOMString with the passphrase to access the group.
MozWifiP2pGroupOwner.ssid Read only
Returns a DOMString with the SSID of the group.
MozWifiP2pGroupOwner.wpsCapabilities Read only
Returns an Array of DOMString indicating the method of configuration of the wirelesse connection. Valid values are:
  • "pbc" (push-button connection), the connection can be activated by a negotiation between both devices, without the user interacting.
  • "display", the device display a PIN on its display and expect it to be entered by the peer before activating the connection.
  • "keypad", the connection is activated by entering a PIN code on the keypad. It is the symmetric of "display".
MozWifiP2pGroupOwner.freq Read only
Returns an unsigned long with the frequency used by this group.
MozWifiP2pGroupOwner.isLocal Read only
Returns a Boolean telling if the group is only on the local network or not.

Methods

This interface doesn't implement, nor inherit, any method.

Specifications

This is a non-standard API, not on an any standard track.

Browser compatibility

Supported in Firefox OS 1.4.

See also

Document Tags and Contributors

Contributors to this page: fscholz, chrisdavidmills, teoli
Last updated by: fscholz,