Skip to main content

imp.getrssi()

Returns the current WiFi signal strength

Availability

Device
DEPRECATED METHOD — DO NOT USE IN NEW CODE

Returns

Integer — the WiFi signal strength in dBm

Description

This method is now deprecated. However, removing it altogether would cause users’ existing code to stop working, so we currently have no plans to do so. The recommended means of gaining the information this method returns is to call imp.net.info().

This method as an alias for the method imp.rssi(): it returns the same data. It is provided for developers who prefer that getter methods’ names a prefixed with ‘get’ to indicate their role, and to be consistent with the imp object’s other getter methods.

Note This method has been removed from versions of impOS running on the impC001.