class ConfigurationManagerImpl
Defined at line 34 of file ../../src/connectivity/weave/adaptation/configuration_manager_impl.h
Defines the ConfigurationManager singleton object for OpenWeave. This class
internally proxies calls on ConfigurationMgr to either the delegate that
contains the platform-specific implementation, or default implementations
provided by GenericConfigurationManagerImpl.
This class and its name scheme is enforced by the adaptation layer.
Public Methods
void SetDelegate (std::unique_ptr<Delegate> delegate)
Sets the delegate containing the platform-specific implementation. It is
invalid to invoke the ConfigurationManager without setting a delegate
first. However, the OpenWeave surface requires a no-constructor
instantiation of this class, so it is up to the caller to enforce this.
Defined at line 97 of file ../../src/connectivity/weave/adaptation/configuration_manager_impl.cpp
Delegate * GetDelegate ()
Gets the delegate currently in use. This may return nullptr if no delegate
was set on this class.
Defined at line 106 of file ../../src/connectivity/weave/adaptation/configuration_manager_impl.cpp
WEAVE_ERROR GetBleDeviceNamePrefix (char * device_name_prefix, size_t device_name_prefix_size, size_t * out_len)
Reads the BLE device name prefix, see definition in delegate.
Defined at line 110 of file ../../src/connectivity/weave/adaptation/configuration_manager_impl.cpp
bool IsThreadEnabled ()
Returns whether Thread is enabled, see definition in delegate.
Defined at line 116 of file ../../src/connectivity/weave/adaptation/configuration_manager_impl.cpp
bool IsIPv6ForwardingEnabled ()
Returns whether IP forwarding is enabled, see definition in delegate.
Defined at line 118 of file ../../src/connectivity/weave/adaptation/configuration_manager_impl.cpp
bool IsWoBLEEnabled ()
Returns whether WoBLE is enabled, see definition in delegate.
Defined at line 122 of file ../../src/connectivity/weave/adaptation/configuration_manager_impl.cpp
bool IsWoBLEAdvertisementEnabled ()
Returns whether WoBLE advertisement is enabled on startup, see definition in delegate.
Defined at line 124 of file ../../src/connectivity/weave/adaptation/configuration_manager_impl.cpp
zx_status_t GetPrivateKeyForSigning (std::vector<uint8_t> * signing_key)
Retrieves test private key for signing test cert in |signing_key|,
returns ZX_OK on success.
Defined at line 128 of file ../../src/connectivity/weave/adaptation/configuration_manager_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 132 of file ../../src/connectivity/weave/adaptation/configuration_manager_impl.cpp
WEAVE_ERROR GetThreadJoinableDuration (uint32_t * duration)
Returns the Thread joinable duration, see definition in delegate.
Defined at line 136 of file ../../src/connectivity/weave/adaptation/configuration_manager_impl.cpp
WEAVE_ERROR GetFailSafeArmed (bool & fail_safe_armed)
Returns the fail safe armed state of the device.
Defined at line 140 of file ../../src/connectivity/weave/adaptation/configuration_manager_impl.cpp
Records
Friends
ConfigurationManagerImpl & ConfigurationManagerImpl ()
ConfigurationManager & ConfigurationManagerImpl ()
class GenericConfigurationManagerImpl
class ConfigurationManager