Reference.WiFiRSSI History

Hide minor edits - Show changes to output

June 05, 2013, at 11:05 AM by Alberto Cicchi -
Changed line 37 from:
if ( status != WL_CONNECTED) {
to:
if (WiFi.status() != WL_CONNECTED) {
May 18, 2012, at 06:41 PM by Scott Fitzgerald -
Changed lines 12-13 from:
WiFi.RSSI(networkItem);\\
to:
WiFi.RSSI(wifiAccessPoint);\\
Changed lines 16-17 from:
networkItem: specifies from which network to get the information
to:
wifiAccessPoint: specifies from which network to get the information
May 18, 2012, at 06:34 PM by Scott Fitzgerald -
Changed lines 12-13 from:
to:
WiFi.RSSI(networkItem);\\
Changed lines 16-17 from:
none
to:
networkItem: specifies from which network to get the information
Changed line 51 from:
(:sourceend:)
to:
(:sourceend:)
November 22, 2011, at 08:38 AM by Scott Fitzgerald -
Changed lines 19-20 from:
long :
to:
long : the current RSSI /Received Signal Strength in dBm
November 22, 2011, at 08:35 AM by Scott Fitzgerald -
Changed lines 19-20 from:
long
to:
long :
Added line 24:
#include <SPI.h>
November 22, 2011, at 08:34 AM by Scott Fitzgerald -
Changed lines 7-8 from:
Gets the signal strength of the router
to:
Gets the signal strength of the connection to the router
Changed line 49 from:
(:soureceend:)
to:
(:sourceend:)
November 22, 2011, at 08:33 AM by Scott Fitzgerald -
Changed line 23 from:
[@
to:
(:source lang=arduino:)
Changed line 49 from:
@]
to:
(:soureceend:)
November 22, 2011, at 03:52 AM by Scott Fitzgerald -
Added lines 1-49:
[[WiFi]]

!!WiFi.RSSI()

!!!!Description

Gets the signal strength of the router

!!!!Syntax

WiFi.RSSI(); \\

!!!!Parameters

none

!!!!Returns

long

!!!!Example

[@
#include <WiFi.h>

//SSID of your network
char ssid[] = "yourNetwork";
//password of your WPA Network
char pass[] = "secretPassword";

void setup()
{
WiFi.begin(ssid, pass);

if ( status != WL_CONNECTED) {
Serial.println("Couldn't get a wifi connection");
while(true);
}
// if you are connected, print out info about the connection:
else {
// print the received signal strength:
long rssi = WiFi.RSSI();
Serial.print("RSSI:");
Serial.println(rssi);
}
}

void loop () {}
@]

Share