+ QoS(QoS_),
+ ps(ps_),
+ psEnc(psEnc_),
+ psRescue(psRescue_),
+ key(key_)
+
+ {}
+
+ PlatformConfig(const ServiceType serviceType_,
+ const ModeType mode_,
+ const std::string& ipAddress_,
+ const uint16_t port_,
+ const OCTransportAdapter transportType_,
+ const QualityOfService QoS_,
+ unsigned char *key_,
+ OCPersistentStorage *ps_ = nullptr,
+ OCPersistentStorage *psEnc_ = nullptr,
+ OCPersistentStorage *psRescue_ = nullptr)
+ : serviceType(serviceType_),
+ mode(mode_),
+ transportType(transportType_),
+ ipAddress(ipAddress_),
+ port(port_),
+ QoS(QoS_),
+ ps(ps_),
+ psEnc(psEnc_),
+ psRescue(psRescue_),
+ key(key_)
+ {}
+
+ PlatformConfig(const ServiceType serviceType_,
+ const ModeType mode_,
+ OCTransportAdapter transportType_,
+ const QualityOfService QoS_,
+ OCPersistentStorage *ps_ = nullptr,
+ OCPersistentStorage *psEnc_ = nullptr,
+ OCPersistentStorage *psRescue_ = nullptr,
+ unsigned char *key_ = nullptr)
+ : serviceType(serviceType_),
+ mode(mode_),
+ serverConnectivity(CT_DEFAULT),
+ clientConnectivity(CT_DEFAULT),
+ transportType(transportType_),
+ ipAddress(""),
+ port(0),