WifiManager.connectionInformation

This article is in need of a technical review.

Non-standard
This feature is not on a current W3C standards track, but it is supported on the Firefox OS platform. Although implementations may change in the future and it is not supported widely across browsers, it is suitable for use in code dedicated to Firefox OS apps.

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

Summary

The connectionInformation property value provides extra information about the current connection.

The value of that property is updated each time the connectionInfoUpdate event is triggered.

Syntax

var info = navigator.mozWifiManager.connectionInformation

Value

Return an object with the following properties:

signalStrength Read only
A number indicating the absolute strength of the signal in dBm.
relSignalStrength Read only
A number in the range [0,100] indicating the relative strength of the signal.
linkSpeed Read only
A number representing link speed in Mb/s.
ipAddress Read only
A string representing the IP address of the device in the dotted quad format.

Specification

Not part of any specification.

See also

Document Tags and Contributors

Contributors to this page: kscarfone, Jeremie
Last updated by: kscarfone,