class ConfigurationManager

Defined at line 54 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

Provides access to runtime and build-time configuration information for a Weave device.

Public Methods

WEAVE_ERROR GetVendorId (uint16_t & vendorId)

Id of the vendor that produced the device.

Defined at line 216 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR GetVendorIdDescription (char * buf, size_t bufSize, size_t & vendorIdDescriptionLen)

Description of the vendor that produced the device.

Defined at line 224 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR GetProductId (uint16_t & productId)

Device product id assigned by the vendor.

Defined at line 232 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR GetProductIdDescription (char * buf, size_t bufSize, size_t & productIdDescriptionLen)

Description of the product created by the vendor.

Defined at line 240 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR GetProductRevision (uint16_t & productRev)

Product revision number assigned by the vendor.

Defined at line 248 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR GetSerialNumber (char * buf, size_t bufSize, size_t & serialNumLen)

Defined at line 253 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR GetPrimaryWiFiMACAddress (uint8_t * buf)

Defined at line 258 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR GetPrimary802154MACAddress (uint8_t * buf)

Defined at line 263 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR GetManufacturingDate (uint16_t & year, uint8_t & month, uint8_t & dayOfMonth)

Defined at line 268 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR GetFirmwareRevision (char * buf, size_t bufSize, size_t & outLen)

Defined at line 273 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR GetFirmwareBuildTime (uint16_t & year, uint8_t & month, uint8_t & dayOfMonth, uint8_t & hour, uint8_t & minute, uint8_t & second)

Defined at line 278 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR GetDeviceId (uint64_t & deviceId)

Defined at line 284 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR GetDeviceCertificate (uint8_t * buf, size_t bufSize, size_t & certLen)

Defined at line 289 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR GetDeviceIntermediateCACerts (uint8_t * buf, size_t bufSize, size_t & certsLen)

Defined at line 294 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR GetDevicePrivateKey (uint8_t * buf, size_t bufSize, size_t & keyLen)

Defined at line 299 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR GetManufacturerDeviceId (uint64_t & deviceId)

Defined at line 304 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR GetManufacturerDeviceCertificate (uint8_t * buf, size_t bufSize, size_t & certLen)

Defined at line 309 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR GetManufacturerDeviceIntermediateCACerts (uint8_t * buf, size_t bufSize, size_t & certsLen)

Defined at line 314 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR GetManufacturerDevicePrivateKey (uint8_t * buf, size_t bufSize, size_t & keyLen)

Defined at line 319 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR GetPairingCode (char * buf, size_t bufSize, size_t & pairingCodeLen)

Defined at line 324 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR GetServiceId (uint64_t & serviceId)

Defined at line 329 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR GetFabricId (uint64_t & fabricId)

Defined at line 334 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR GetServiceConfig (uint8_t * buf, size_t bufSize, size_t & serviceConfigLen)

Defined at line 339 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR GetPairedAccountId (char * buf, size_t bufSize, size_t & accountIdLen)

Defined at line 344 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR StoreSerialNumber (const char * serialNum, size_t serialNumLen)

Defined at line 349 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR StorePrimaryWiFiMACAddress (const uint8_t * buf)

Defined at line 354 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR StorePrimary802154MACAddress (const uint8_t * buf)

Defined at line 359 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR StoreManufacturingDate (const char * mfgDate, size_t mfgDateLen)

Defined at line 364 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR StoreProductRevision (uint16_t productRev)

Defined at line 369 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR StoreFabricId (uint64_t fabricId)

Defined at line 374 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR StoreManufacturerDeviceId (uint64_t deviceId)

Defined at line 403 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR StoreManufacturerDeviceCertificate (const uint8_t * cert, size_t certLen)

Defined at line 408 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR StoreManufacturerDeviceIntermediateCACerts (const uint8_t * certs, size_t certsLen)

Defined at line 413 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR StoreManufacturerDevicePrivateKey (const uint8_t * key, size_t keyLen)

Defined at line 418 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR StorePairingCode (const char * pairingCode, size_t pairingCodeLen)

Defined at line 423 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR StoreServiceProvisioningData (uint64_t serviceId, const uint8_t * serviceConfig, size_t serviceConfigLen, const char * accountId, size_t accountIdLen)

Defined at line 428 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR ClearServiceProvisioningData ()

Defined at line 433 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR StoreServiceConfig (const uint8_t * serviceConfig, size_t serviceConfigLen)

Defined at line 438 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR StorePairedAccountId (const char * accountId, size_t accountIdLen)

Defined at line 443 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR GetDeviceDescriptor (WeaveDeviceDescriptor & deviceDesc)

Defined at line 458 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR GetDeviceDescriptorTLV (uint8_t * buf, size_t bufSize, size_t & encodedLen)

Defined at line 463 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR GetQRCodeString (char * buf, size_t bufSize)

Defined at line 468 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR GetWiFiAPSSID (char * buf, size_t bufSize)

Defined at line 473 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR GetBLEDeviceIdentificationInfo (Ble::WeaveBLEDeviceIdentificationInfo & deviceIdInfo)

Defined at line 478 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

bool IsServiceProvisioned ()

Defined at line 483 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

bool IsPairedToAccount ()

Defined at line 488 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

bool IsMemberOfFabric ()

Defined at line 493 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

bool IsFullyProvisioned ()

Defined at line 498 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

void InitiateFactoryReset ()

Defined at line 503 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

WEAVE_ERROR ComputeProvisioningHash (uint8_t * hashBuf, size_t hashBufSize)

Defined at line 508 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

Protected Methods

void ConfigurationManager ()

Construction/destruction limited to subclasses.

Defined at line 170 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

void ~ConfigurationManager ()

Defined at line 171 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

void ConfigurationManager (const ConfigurationManager & )

No copy, move or assignment.

Defined at line 174 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

void ConfigurationManager (const ConfigurationManager && )

Defined at line 175 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

ConfigurationManager & operator= (const ConfigurationManager & )

Defined at line 176 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

Enumerations

enum 
Name Value
kMaxPairingCodeLength 15
kMaxSerialNumberLength WeaveDeviceDescriptor::kMaxSerialNumberLength
kMaxFirmwareRevisionLength WeaveDeviceDescriptor::kMaxSoftwareVersionLength
kMaxProductIdDescriptionLength 256
kMaxVendorIdDescriptionLength 256

===== Members that define the public interface of the ConfigurationManager

Defined at line 62 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/ConfigurationManager.h

Friends

WEAVE_ERROR ConfigurationManager (::nl::Weave::Platform::PersistedStorage::Key key, uint32_t value)
WEAVE_ERROR ConfigurationManager (::nl::Weave::Platform::PersistedStorage::Key key, uint32_t & value)
class DeviceControlServer
class TraitManager
template <class>
class GenericPlatformManagerImpl_Fuchsia
template <class>
class GenericPlatformManagerImpl
class PlatformManagerImpl