File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,11 @@ ArduinoCloudDevice::State ArduinoCloudDevice::handleSendCapabilities() {
117117 deliver (reinterpret_cast <Message*>(&deviceNetConfig));
118118 }
119119
120+ #if defined(BOARD_HAS_WIFI) && not defined(BOARD_ESP)
121+ String WiFiFWVersion = WiFi.firmwareVersion ();
122+ VersionMessage versionMessage = { WiFiFWVersionMessageId, WiFiFWVersion.c_str () };
123+ deliver (reinterpret_cast <Message*>(&versionMessage));
124+ #endif
120125 /* Subscribe to device topic to request */
121126 ThingBeginCmd thingBegin = { ThingBeginCmdId };
122127 deliver (reinterpret_cast <Message*>(&thingBegin));
Original file line number Diff line number Diff line change 1717#include <stdint.h>
1818#include <stddef.h>
1919#include <interfaces/message.h>
20+ #include <cbor/standards/StandardMessages.h>
2021#include <connectionHandlerModels/settings.h>
2122
2223/******************************************************************************
You can’t perform that action at this time.
0 commit comments