class ConfigurationManagerDelegateImpl

Defined at line 29 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.h

A concrete implementation of the delegate used by ConfigurationManagerImpl to

make the required platform calls needed to serve configuration data to Weave.

Public Methods

void ConfigurationManagerDelegateImpl ()

Defined at line 81 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

WEAVE_ERROR Init ()

ConfigurationManagerImpl::Delegate APIs

Defined at line 84 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

WEAVE_ERROR GetDeviceId (uint64_t & device_id)

Defined at line 151 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

WEAVE_ERROR GetFirmwareRevision (char * buf, size_t buf_size, size_t & out_len)

Defined at line 263 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

WEAVE_ERROR GetManufacturerDeviceCertificate (uint8_t * buf, size_t buf_size, size_t & out_len)

Defined at line 184 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

WEAVE_ERROR GetProductId (uint16_t & product_id)

Defined at line 253 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

WEAVE_ERROR GetProductIdDescription (char * buf, size_t buf_size, size_t & out_len)

Defined at line 257 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

WEAVE_ERROR GetVendorId (uint16_t & vendor_id)

Defined at line 243 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

WEAVE_ERROR GetVendorIdDescription (char * buf, size_t buf_size, size_t & out_len)

Defined at line 247 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

bool IsFullyProvisioned ()

Defined at line 202 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

bool IsPairedToAccount ()

Defined at line 208 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

bool IsMemberOfFabric ()

Defined at line 214 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

GroupKeyStoreBase * GetGroupKeyStore ()

Defined at line 220 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

bool CanFactoryReset ()

Defined at line 224 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

void InitiateFactoryReset ()

Defined at line 226 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

WEAVE_ERROR ReadPersistedStorageValue (Key key, uint32_t & value)

Defined at line 231 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

WEAVE_ERROR WritePersistedStorageValue (Key key, uint32_t value)

Defined at line 238 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

WEAVE_ERROR GetBleDeviceNamePrefix (char * device_name_prefix, size_t device_name_prefix_size, size_t * out_len)

Defined at line 278 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

bool IsThreadEnabled ()

Defined at line 285 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

bool IsIPv6ForwardingEnabled ()

Defined at line 291 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

bool IsWoBLEEnabled ()

Defined at line 297 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

bool IsWoBLEAdvertisementEnabled ()

Defined at line 303 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

WEAVE_ERROR GetDeviceDescriptorTLV (uint8_t * buf, size_t buf_size, size_t & encoded_len)

Defined at line 311 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

WEAVE_ERROR GetPrimaryWiFiMACAddress (uint8_t * mac_address)

Defined at line 574 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

zx_status_t GetPrivateKeyForSigning (std::vector<uint8_t> * signing_key)

Defined at line 458 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

zx_status_t GetAppletPathList (std::vector<std::string> & out)

Reads the list of applets from the config file and populates |out| with the same.

Defined at line 570 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

WEAVE_ERROR GetThreadJoinableDuration (uint32_t * duration)

Defined at line 585 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

WEAVE_ERROR GetFailSafeArmed (bool & fail_safe_armed)

Defined at line 589 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

WEAVE_ERROR SetFailSafeArmed (bool fail_safe_armed)

Defined at line 594 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

WEAVE_ERROR StoreFabricId (uint64_t fabric_id)

Defined at line 613 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

WEAVE_ERROR StoreServiceProvisioningData (uint64_t service_id, const uint8_t * service_config, size_t service_config_len, const char * account_id, size_t account_id_len)

Defined at line 629 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

WEAVE_ERROR StoreServiceConfig (const uint8_t * service_config, size_t service_config_len)

Defined at line 645 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

WEAVE_ERROR StorePairedAccountId (const char * account_id, size_t account_id_len)

Defined at line 658 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp

zx_status_t ReadFactoryFile (const char * path, char * buf, size_t buf_size, size_t * out_len)

Read up to |buf_size| bytes from the file |path| in the factory partition

into |buf|. If not NULL, the number of bytes read is stored in |out_len|.

Defined at line 482 of file ../../src/connectivity/weave/adaptation/configuration_manager_delegate_impl.cpp