ESP32 RSSI value to string

Hi,

Venturing into my first project with an ESP32, I've already come across my first problem :(.

I'd like to use the RSSI value of the current connection and use WiFi.RSSI(). This works fine when I just print it to the serial port:

Serial.print(WiFI.RSSI());

But I would like to have the value as a String, and no matter which example I try to use, then I get an error. Any ideas to how I can convert the value to a String?

try

String s=String(WiFi.RSSI());

It worked. How simple. Thanks for your help :slight_smile: