template <class>
class GenericConfigurationManagerImpl
Defined at line 48 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.h
Provides a generic implementation of ConfigurationManager features that works on multiple platforms.
This template contains implementations of select features from the ConfigurationManager abstract
interface that are suitable for use on all platforms. It is intended to be inherited (directly
or indirectly) by the ConfigurationManagerImpl class, which also appears as the template's ImplClass
parameter.
Protected Members
uint8_t mFlags
Public Methods
WEAVE_ERROR _Init ()
===== Methods that implement the ConfigurationManager abstract interface.
Defined at line 46 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _ConfigureWeaveStack ()
Defined at line 61 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _GetVendorId (uint16_t & vendorId)
Defined at line 151 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.h
WEAVE_ERROR _GetVendorIdDescription (char * buf, size_t bufSize, size_t & vendorIdDescriptionLen)
Defined at line 158 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.h
WEAVE_ERROR _GetProductId (uint16_t & productId)
Defined at line 168 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.h
WEAVE_ERROR _GetProductIdDescription (char * buf, size_t bufSize, size_t & productIdDescriptionLen)
Defined at line 175 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.h
WEAVE_ERROR _GetProductRevision (uint16_t & productRev)
Defined at line 248 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _StoreProductRevision (uint16_t productRev)
Defined at line 268 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _GetFirmwareRevision (char * buf, size_t bufSize, size_t & outLen)
Defined at line 122 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _GetFirmwareBuildTime (uint16_t & year, uint8_t & month, uint8_t & dayOfMonth, uint8_t & hour, uint8_t & minute, uint8_t & second)
Defined at line 140 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _GetSerialNumber (char * buf, size_t bufSize, size_t & serialNumLen)
Defined at line 192 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _StoreSerialNumber (const char * serialNum, size_t serialNumLen)
Defined at line 214 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _GetPrimaryWiFiMACAddress (uint8_t * buf)
Defined at line 220 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _StorePrimaryWiFiMACAddress (const uint8_t * buf)
Defined at line 226 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _GetPrimary802154MACAddress (uint8_t * buf)
Defined at line 232 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _StorePrimary802154MACAddress (const uint8_t * buf)
Defined at line 242 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _GetManufacturingDate (uint16_t & year, uint8_t & month, uint8_t & dayOfMonth)
Defined at line 274 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _StoreManufacturingDate (const char * mfgDate, size_t mfgDateLen)
Defined at line 307 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _GetDeviceId (uint64_t & deviceId)
Defined at line 412 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _GetDeviceCertificate (uint8_t * buf, size_t bufSize, size_t & certLen)
Defined at line 431 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _GetDeviceIntermediateCACerts (uint8_t * buf, size_t bufSize, size_t & certsLen)
Defined at line 450 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _GetDevicePrivateKey (uint8_t * buf, size_t bufSize, size_t & keyLen)
Defined at line 469 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _GetManufacturerDeviceId (uint64_t & deviceId)
Defined at line 168 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _StoreManufacturerDeviceId (uint64_t deviceId)
Defined at line 186 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _GetManufacturerDeviceCertificate (uint8_t * buf, size_t bufSize, size_t & certLen)
Defined at line 313 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _StoreManufacturerDeviceCertificate (const uint8_t * cert, size_t certLen)
Defined at line 340 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _GetManufacturerDeviceIntermediateCACerts (uint8_t * buf, size_t bufSize, size_t & certsLen)
Defined at line 346 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _StoreManufacturerDeviceIntermediateCACerts (const uint8_t * certs, size_t certsLen)
Defined at line 373 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _GetManufacturerDevicePrivateKey (uint8_t * buf, size_t bufSize, size_t & keyLen)
Defined at line 379 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _StoreManufacturerDevicePrivateKey (const uint8_t * key, size_t keyLen)
Defined at line 406 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _GetPairingCode (char * buf, size_t bufSize, size_t & pairingCodeLen)
Defined at line 547 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _StorePairingCode (const char * pairingCode, size_t pairingCodeLen)
Defined at line 569 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _GetFabricId (uint64_t & fabricId)
Defined at line 575 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _StoreFabricId (uint64_t fabricId)
Defined at line 581 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _GetServiceId (uint64_t & serviceId)
Defined at line 603 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _GetServiceConfig (uint8_t * buf, size_t bufSize, size_t & serviceConfigLen)
Defined at line 609 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _StoreServiceConfig (const uint8_t * serviceConfig, size_t serviceConfigLen)
Defined at line 615 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _GetPairedAccountId (char * buf, size_t bufSize, size_t & accountIdLen)
Defined at line 621 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _StorePairedAccountId (const char * accountId, size_t accountIdLen)
Defined at line 627 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _StoreServiceProvisioningData (uint64_t serviceId, const uint8_t * serviceConfig, size_t serviceConfigLen, const char * accountId, size_t accountIdLen)
Defined at line 641 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _ClearServiceProvisioningData ()
Defined at line 672 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _GetFailSafeArmed (bool & val)
Defined at line 708 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _SetFailSafeArmed (bool val)
Defined at line 714 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _GetDeviceDescriptor (::nl::Weave::Profiles::DeviceDescription::WeaveDeviceDescriptor & deviceDesc)
Defined at line 720 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _GetDeviceDescriptorTLV (uint8_t * buf, size_t bufSize, size_t & encodedLen)
Defined at line 787 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _GetQRCodeString (char * buf, size_t bufSize)
Defined at line 807 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _GetWiFiAPSSID (char * buf, size_t bufSize)
Defined at line 827 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _GetBLEDeviceIdentificationInfo (Ble::WeaveBLEDeviceIdentificationInfo & deviceIdInfo)
Defined at line 854 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
bool _IsServiceProvisioned ()
Defined at line 880 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
bool _IsMemberOfFabric ()
Defined at line 886 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
bool _IsPairedToAccount ()
Defined at line 892 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
bool _IsFullyProvisioned ()
Defined at line 898 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR _ComputeProvisioningHash (uint8_t * hashBuf, size_t hashBufSize)
Defined at line 917 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
Protected Methods
void LogDeviceConfig ()
Defined at line 1091 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.ipp
WEAVE_ERROR PersistProvisioningData (ProvisioningDataSet & provData)
Enumerations
enum
| Name | Value |
|---|---|
| kFlag_IsServiceProvisioned | 0x01 |
| kFlag_IsMemberOfFabric | 0x02 |
| kFlag_IsPairedToAccount | 0x04 |
| kFlag_OperationalDeviceCredentialsProvisioned | 0x08 |
| kFlag_UseManufacturerCredentialsAsOperational | 0x10 |
Defined at line 123 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.h