arduino uno - ESP8266 WiFi signal strength -


how use at+cwlap in esp8266 wifi signal strength? want signal strength displayed on serial monitor , use in code in arduino ide!

after sending at+cwlap command, esp8266 answer list of available ap's detected.

the format of response like:

+cwlap:<ecn>,<ssid>,<rssi>,<mac>,<freq offset,<freq calibration>

where:

<ecn>: indicates security level, 0 (open) 4 (maximum security level)

<ssid>: it's ssid of ap

<rssi>: it's signal strength, indicated in decibel format (e.g. -70)

<mac>: it's mac address

<ch>: channel

<freq offset>: ut's frequency offset of ap,unit:khz.

<freq calibration>: it's calibration frequency offset

so, <rssi> parameter interested in.

maybe, depending on firmware version of esp8266, it's possible at+cwlap command returns different number of parameters, omitting, example, last four.


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -