How bout dat RSSI
Posted: Thu May 03, 2018 1:05 am
Just curious how people have experienced connectivity problems and associated RSSI readings.
I'm been wanting to diagnose error conditions under congested wifi and found that moving the router far enough away and reducing signal strength can generate lots of delayed transmissions and slow or fails data transfers. Good enough to check my error returns and make decisions about timeouts.
At the current location I am reading -85 on the RSSI for that AP and identical posts to the cloud of small data varies between 1 - 20 sec to complete. OTA updates fail from 50K to 1.2M before giving up the ghost. Uploads of sound files don't complete. MQTT disconnects and reconnects. Before I move my AP I was reading -56 and everything was snappy. Plan to move the AP around and see where the reliability starts to fail.
Be cool if other people checked their RSSI and related performance experience. This is all you need to do....
I'm been wanting to diagnose error conditions under congested wifi and found that moving the router far enough away and reducing signal strength can generate lots of delayed transmissions and slow or fails data transfers. Good enough to check my error returns and make decisions about timeouts.
At the current location I am reading -85 on the RSSI for that AP and identical posts to the cloud of small data varies between 1 - 20 sec to complete. OTA updates fail from 50K to 1.2M before giving up the ghost. Uploads of sound files don't complete. MQTT disconnects and reconnects. Before I move my AP I was reading -56 and everything was snappy. Plan to move the AP around and see where the reliability starts to fail.
Be cool if other people checked their RSSI and related performance experience. This is all you need to do....
Code: Select all
wifi_ap_record_t wifidata;
if (esp_wifi_sta_get_ap_info(&wifidata)==0)
printf("rssi:%d\r\n", wifidata.rssi);