• Skip to main content
  • Select language
  • Skip to search
MDN Web Docs
  • Technologies
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs / DOM
    • WebExtensions
    • MathML
  • References & Guides
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
B2G OS
  1. MDN
  2. Archive of obsolete content
  3. B2G OS
  4. B2G OS APIs
  5. MozWifiStatusChangeEvent
  6. MozWifiStatusChangeEvent.status

MozWifiStatusChangeEvent.status

In This Article
  1. Summary
  2. Syntax
  3. Value
  4. Specification
  5. See also

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

Summary

The status property value provides the current connection status.

Syntax

var status = instanceOfMozWifiStatusChangeEvent.status

Value

A string, one of the following:

  • connecting: the device enters the connection workflow.
  • associated: the device is connected to an access point but does not have an IP address yet.
  • connected: the device is fully connected via wifi and ready.
  • connectingfailed: the device was unable to connect itself to a network.
  • disconnected: the device was connected to a network but has disconnected for any reason.
  • wps-timedout: a WPS connection attempt has timed out.
  • wps-failed: a WPS connection attempt failed.
  • wps-overlapped: a WPS connection attempt overlapped another one (this happens when two networks in the same area allow a pbs connection at the same time).

Specification

Not part of any specification.

See also

  • MozWifiStatusChangeEvent
  • WifiManager.wps()
  • The WifI Information API

Document Tags and Contributors

Tags: 
  • API
  • B2G
  • Firefox OS
  • Non Standard
  • Property
  • Reference
  • Référence
  • WiFi
 Contributors to this page: chrisdavidmills, teoli, kscarfone, Jeremie
 Last updated by: chrisdavidmills, Feb 27, 2017, 2:08:47 AM
See also
  1. WiFi Information API
  2. Archive
  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
    9. WifiManager