#ifndef INCLUDE_DI_RPC_CLASS_DNCM_H_ #define INCLUDE_DI_RPC_CLASS_DNCM_H_ #include #include namespace Di { namespace Rpc { class DNCM : public Msg { public: struct Info { unsigned int revision; std::string main_version; std::string monitor_version; }; struct Modem { std::string imei; std::string iccid; std::string revision; std::string connection; std::string coperator; }; Info info; Modem modem; explicit DNCM(std::shared_ptr msg); private: void _decodeMethodInfo(std::shared_ptr message); void _decodeMethodModem(std::shared_ptr message); }; } // namespace Rpc } // namespace Di #endif // INCLUDE_DI_RPC_CLASS_DNCM_H_