Index: sources/device/DeviceModels.h =================================================================== diff -u -ra5760947d3ed0d2748ba023a1c25e3c6aa0b1de1 -rf0a80523d37c862fd24064522216b0bd53a2cc33 --- sources/device/DeviceModels.h (.../DeviceModels.h) (revision a5760947d3ed0d2748ba023a1c25e3c6aa0b1de1) +++ sources/device/DeviceModels.h (.../DeviceModels.h) (revision f0a80523d37c862fd24064522216b0bd53a2cc33) @@ -373,7 +373,7 @@ // ================================================= MDeviceWifiList /*! * \brief The MDeviceMDeviceWifiListRequest class - * \details The model for the Wifi Lsit script call. + * \details The model for the Wifi List script call. */ class MDeviceWifiListRequest : public MDeviceRequestBase { public: @@ -401,6 +401,39 @@ Data data ( ) const { return _data; } bool fromByteArray(const QByteArray &vByteArray, int *vExitCode = nullptr) override; }; + +// ================================================= MDeviceWifiInfo +/*! + * \brief The MDeviceWifiInfoRequest class + * \details The model for the Wifi Info script call. + */ +class MDeviceWifiInfoRequest : public MDeviceRequestBase { +public: + struct Data { + } _data; + + QString toString() { + return MDeviceRequestBase::toString("WifiInfo", {}); + } + + QByteArray toByteArray(Device::DeviceError::Scripts_Error_Enum * = nullptr) override { return ""; } +}; + +/*! + * \brief The MDeviceWifiInfoResponse class + * \details The model for the Wifi Info script call returned value / response. + */ +class MDeviceWifiInfoResponse : public MDeviceResponseBase { +public: + struct Data : MDeviceResponseBase::Data { + QString mWifiInfo = ""; + } _data; + QVariantList parameters ( ) const override { return { }; } + QString infoText ( ) const override { return QString("WifiInfo"); } + Data data ( ) const { return _data; } + bool fromByteArray(const QByteArray &vByteArray, int *vExitCode = nullptr) override; +}; + } typedef Model::MDeviceResponseBase ::Data DeviceResponseBaseData; @@ -432,3 +465,6 @@ typedef Model::MDeviceWifiListRequest ::Data DeviceWifiListRequestData ; typedef Model::MDeviceWifiListResponse ::Data DeviceWifiListResponseData; +typedef Model::MDeviceWifiInfoRequest ::Data DeviceWifiInfoRequestData ; +typedef Model::MDeviceWifiInfoResponse ::Data DeviceWifiInfoResponseData; +