• Skip to main content
  • Select language
  • Skip to search
mozilla
Mozilla Developer Network
  • Sign in
    • Persona
    • GitHub
  • Web Platform
    Technologies
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • APIs / DOM
    • Apps
    • MathML
    References & Guides
    • Learn the Web
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • ...more docs
  • Mozilla Docs
    • Add-ons
    • Firefox
    • Firefox Marketplace
    • Firefox OS
    • Persona
  • Developer Tools
  • Feedback
    • Get Firefox help
    • Get web development help
    • Join the MDN community
    • Report a content problem
    • Report a bug
  •  
B2G OS
    • No translations exist for this article.
    • Add a translation
  • Edit
  • Advanced
    • History
    • Print this article
  1. MDN
  2. Mozilla
  3. B2G OS
  4. Firefox OS APIs
  5. MozWifiP2pGroupOwner
Your Search Results

    MozWifiP2pGroupOwner

    In This Article
    1. Properties
    2. Methods
    3. Specifications
    4. Browser compatibility
    5. See also

    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

    • Desktop
    • Mobile
    Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
    Basic support No support No support No support No support No support
    Feature Android Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile Chrome for Android
    Basic support No support No support 1.4 No support No support No support No support

    See also

    • WiFi Direct API
    • MozWifiP2pManager
    Share:
    • Twitter
    • Facebook
    • Google+

    Document Tags and Contributors

    Tags: 
    • API
    • Firefox OS
    • Interface
    • Non-standard
    • WiFi
    • Wifi Direct
     Contributors to this page: chrisdavidmills, teoli, fscholz
     Last updated by: chrisdavidmills, Feb 11, 2016, 6:55:36 AM
    See also
    1. WiFi Information API
    2. MozWifiP2pGroupOwner
    3. Events
      1. statuschange
      2. connectioninfoupdate
    4. Related pages for WiFi Information API
      1. MozWifiCapabilities
      2. MozWifiConnection
      3. MozWifiConnectionInfo
      4. MozWifiConnectionInfoEvent
      5. MozWifiManager
      6. MozWifiNetwork
      7. MozWifiStationChangeEvent
      8. MozWifiStatusChangeEvent

    © 2005-2016 Mozilla Developer Network and individual contributors.

    Content is available under these licenses.

    • About MDN
    • Terms
    • Privacy
    • Cookies
    • Contribute to the code

    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy