We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f6051f commit ff09b2dCopy full SHA for ff09b2d
libraries/WiFi/src/WiFi.cpp
@@ -1,3 +1,11 @@
1
#include "WiFi.h"
2
3
WiFiClass WiFi;
4
+
5
+String WiFiClass::firmwareVersion() {
6
+#if defined(ARDUINO_PORTENTA_C33)
7
+ return "v1.5.0";
8
+#else
9
+ return "v0.0.0";
10
+#endif
11
+}
libraries/WiFi/src/WiFi.h
@@ -113,6 +113,8 @@ class WiFiClass : public NetworkInterface {
113
return 0;
114
}
115
116
+ String firmwareVersion();
117
118
private:
119
struct net_if *sta_iface = nullptr;
120
struct net_if *ap_iface = nullptr;
0 commit comments