WiFiNINA - WiFi.firmwareVersion()

Description

Returns the firmware version running on the module as a string.

Syntax

WiFi.firmwareVersion()

Parameters

  • None

Returns

  • The firmware version running on the module as a string

Example

…
String fv = WiFi.firmwareVersion();
if (fv < "1.0.0") {
  Serial.println("Please upgrade the firmware");
}
…