发送反馈
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
nl:: Weave:: DeviceLayer:: Internal:: EFR32Config
摘要
继承
直接已知的子类:
nl::Weave::DeviceLayer::ConfigurationManagerImpl
nl::Weave::DeviceLayer::Internal::GroupKeyStoreImpl
公共静态属性
kConfigKey_FabricId = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x00)
constexpr Key
kConfigKey_FabricSecret = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x04)
constexpr Key
kConfigKey_FailSafeArmed = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x06)
constexpr Key
kConfigKey_GroupKey = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x07)
constexpr Key
kConfigKey_GroupKeyBase = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x0D)
constexpr Key
kConfigKey_GroupKeyMax =
EFR32ConfigKey(kWeaveConfig_KeyBase, 0x1C)
constexpr Key
kConfigKey_LastUsedEpochKeyId = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x05)
constexpr Key
kConfigKey_ManufacturingDate = EFR32ConfigKey(kWeaveFactory_KeyBase, 0x04)
constexpr Key
kConfigKey_MfrDeviceCert = EFR32ConfigKey(kWeaveFactory_KeyBase, 0x02)
constexpr Key
kConfigKey_MfrDeviceICACerts = EFR32ConfigKey(kWeaveFactory_KeyBase, 0x06)
constexpr Key
kConfigKey_MfrDeviceId = EFR32ConfigKey(kWeaveFactory_KeyBase, 0x01)
constexpr Key
kConfigKey_MfrDevicePrivateKey = EFR32ConfigKey(kWeaveFactory_KeyBase, 0x03)
constexpr Key
kConfigKey_OperationalDeviceCert = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x0A)
constexpr Key
kConfigKey_OperationalDeviceICACerts = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x0B)
constexpr Key
kConfigKey_OperationalDeviceId = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x09)
constexpr Key
kConfigKey_OperationalDevicePrivateKey = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x0C)
constexpr Key
kConfigKey_PairedAccountId = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x02)
constexpr Key
kConfigKey_PairingCode = EFR32ConfigKey(kWeaveFactory_KeyBase, 0x05)
constexpr Key
kConfigKey_ProductRevision = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x08)
constexpr Key
kConfigKey_SerialNum = EFR32ConfigKey(kWeaveFactory_KeyBase, 0x00)
constexpr Key
kConfigKey_ServiceConfig = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x01)
constexpr Key
kConfigKey_ServiceId = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x03)
constexpr Key
kMaxConfigKey_WeaveConfig = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x1C)
constexpr Key
kMaxConfigKey_WeaveCounter =
EFR32ConfigKey(kWeaveCounter_KeyBase, 0x1F)
constexpr Key
kMaxConfigKey_WeaveFactory = EFR32ConfigKey(kWeaveFactory_KeyBase, 0x06)
constexpr Key
kMinConfigKey_WeaveConfig = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x00)
constexpr Key
kMinConfigKey_WeaveCounter = EFR32ConfigKey(kWeaveCounter_KeyBase, 0x00)
constexpr Key
kMinConfigKey_WeaveFactory = EFR32ConfigKey(kWeaveFactory_KeyBase, 0x00)
constexpr Key
kWeaveConfig_KeyBase =
0xA3
constexpr uint8_t
kWeaveCounter_KeyBase =
0xA4
constexpr uint8_t
kWeaveFactory_KeyBase =
0xA2
constexpr uint8_t
公共静态函数
ClearConfigValue (Key key)
ConfigValueExists (Key key)
bool
FactoryResetConfig (void)
Init (void)
ReadConfigValue (Key key, bool & val)
ReadConfigValue (Key key, uint32_t & val)
ReadConfigValue (Key key, uint64_t & val)
ReadConfigValueBin (Key key, uint8_t *buf, size_t bufSize, size_t & outLen)
ReadConfigValueCounter (uint8_t counterIdx, uint32_t & val)
ReadConfigValueStr (Key key, char *buf, size_t bufSize, size_t & outLen)
RepackNvm3Flash (void)
void
RunConfigUnitTest (void)
void
ValidConfigKey (Key key)
bool
WriteConfigValue (Key key, bool val)
WriteConfigValue (Key key, uint32_t val)
WriteConfigValue (Key key, uint64_t val)
WriteConfigValueBin (Key key, const uint8_t *data, size_t dataLen)
WriteConfigValueCounter (uint8_t counterIdx, uint32_t val)
WriteConfigValueStr (Key key, const char *str)
WriteConfigValueStr (Key key, const char *str, size_t strLen)
受保护的静态函数
ForEachRecord (Key firstKey, Key lastKey, bool addNewRecord, ForEachRecordFunct funct)
公共类型
键
uint32_t Key
受保护的类型
ForEachRecordFunct
std::function< WEAVE_ERROR (const Key &nvm3Key, const size_t &length)> ForEachRecordFunct
公共静态属性
kConfigKey_FabricId
constexpr Key kConfigKey_FabricId = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x00)
kConfigKey_FabricSecret
constexpr Key kConfigKey_FabricSecret = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x04)
kConfigKey_FailSafeArmed
constexpr Key kConfigKey_FailSafeArmed = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x06)
kConfigKey_GroupKey
constexpr Key kConfigKey_GroupKey = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x07)
kConfigKey_GroupKeyBase
constexpr Key kConfigKey_GroupKeyBase = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x0D)
kConfigKey_GroupKeyMax
constexpr Key kConfigKey_GroupKeyMax =
EFR32ConfigKey(kWeaveConfig_KeyBase, 0x1C)
kConfigKey_LastUsedEpochKeyId
constexpr Key kConfigKey_LastUsedEpochKeyId = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x05)
kConfigKey_ManufacturingDate
constexpr Key kConfigKey_ManufacturingDate = EFR32ConfigKey(kWeaveFactory_KeyBase, 0x04)
kConfigKey_MfrDeviceCert
constexpr Key kConfigKey_MfrDeviceCert = EFR32ConfigKey(kWeaveFactory_KeyBase, 0x02)
kConfigKey_MfrDeviceICACerts
constexpr Key kConfigKey_MfrDeviceICACerts = EFR32ConfigKey(kWeaveFactory_KeyBase, 0x06)
kConfigKey_MfrDeviceId
constexpr Key kConfigKey_MfrDeviceId = EFR32ConfigKey(kWeaveFactory_KeyBase, 0x01)
kConfigKey_MfrDevicePrivateKey
constexpr Key kConfigKey_MfrDevicePrivateKey = EFR32ConfigKey(kWeaveFactory_KeyBase, 0x03)
kConfigKey_OperationalDeviceCert
constexpr Key kConfigKey_OperationalDeviceCert = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x0A)
kConfigKey_OperationalDeviceICACerts
constexpr Key kConfigKey_OperationalDeviceICACerts = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x0B)
kConfigKey_OperationalDeviceId
constexpr Key kConfigKey_OperationalDeviceId = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x09)
kConfigKey_OperationalDevicePrivateKey
constexpr Key kConfigKey_OperationalDevicePrivateKey = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x0C)
kConfigKey_PairedAccountId
constexpr Key kConfigKey_PairedAccountId = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x02)
kConfigKey_PairingCode
constexpr Key kConfigKey_PairingCode = EFR32ConfigKey(kWeaveFactory_KeyBase, 0x05)
kConfigKey_ProductRevision
constexpr Key kConfigKey_ProductRevision = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x08)
kConfigKey_SerialNum
constexpr Key kConfigKey_SerialNum = EFR32ConfigKey(kWeaveFactory_KeyBase, 0x00)
kConfigKey_ServiceConfig
constexpr Key kConfigKey_ServiceConfig = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x01)
kConfigKey_ServiceId
constexpr Key kConfigKey_ServiceId = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x03)
kMaxConfigKey_WeaveConfig
constexpr Key kMaxConfigKey_WeaveConfig = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x1C)
kMaxConfigKey_WeaveCounter
constexpr Key kMaxConfigKey_WeaveCounter =
EFR32ConfigKey(kWeaveCounter_KeyBase, 0x1F)
kMaxConfigKey_WeaveFactory
constexpr Key kMaxConfigKey_WeaveFactory = EFR32ConfigKey(kWeaveFactory_KeyBase, 0x06)
kMinConfigKey_WeaveConfig
constexpr Key kMinConfigKey_WeaveConfig = EFR32ConfigKey(kWeaveConfig_KeyBase, 0x00)
kMinConfigKey_WeaveCounter
constexpr Key kMinConfigKey_WeaveCounter = EFR32ConfigKey(kWeaveCounter_KeyBase, 0x00)
kMinConfigKey_WeaveFactory
constexpr Key kMinConfigKey_WeaveFactory = EFR32ConfigKey(kWeaveFactory_KeyBase, 0x00)
kWeaveConfig_KeyBase
constexpr uint8_t kWeaveConfig_KeyBase =
0xA3
kWeaveCounter_KeyBase
constexpr uint8_t kWeaveCounter_KeyBase =
0xA4
kWeaveFactory_KeyBase
constexpr uint8_t kWeaveFactory_KeyBase =
0xA2
公共静态函数
ClearConfigValue
WEAVE_ERROR ClearConfigValue(
Key key
)
ConfigValueExists
bool ConfigValueExists(
Key key
)
FactoryResetConfig
WEAVE_ERROR FactoryResetConfig(
void
)
Init
WEAVE_ERROR Init(
void
)
ReadConfigValue
WEAVE_ERROR ReadConfigValue(
Key key,
bool & val
)
ReadConfigValue
WEAVE_ERROR ReadConfigValue(
Key key,
uint32_t & val
)
ReadConfigValue
WEAVE_ERROR ReadConfigValue(
Key key,
uint64_t & val
)
ReadConfigValueBin
WEAVE_ERROR ReadConfigValueBin(
Key key,
uint8_t *buf,
size_t bufSize,
size_t & outLen
)
ReadConfigValueCounter
WEAVE_ERROR ReadConfigValueCounter(
uint8_t counterIdx,
uint32_t & val
)
ReadConfigValueStr
WEAVE_ERROR ReadConfigValueStr(
Key key,
char *buf,
size_t bufSize,
size_t & outLen
)
RepackNvm3Flash
void RepackNvm3Flash(
void
)
RunConfigUnitTest
void RunConfigUnitTest(
void
)
ValidConfigKey
bool ValidConfigKey(
Key key
)
WriteConfigValue
WEAVE_ERROR WriteConfigValue(
Key key,
bool val
)
WriteConfigValue
WEAVE_ERROR WriteConfigValue(
Key key,
uint32_t val
)
WriteConfigValue
WEAVE_ERROR WriteConfigValue(
Key key,
uint64_t val
)
WriteConfigValueBin
WEAVE_ERROR WriteConfigValueBin(
Key key,
const uint8_t *data,
size_t dataLen
)
WriteConfigValueCounter
WEAVE_ERROR WriteConfigValueCounter(
uint8_t counterIdx,
uint32_t val
)
WriteConfigValueStr
WEAVE_ERROR WriteConfigValueStr(
Key key,
const char *str
)
WriteConfigValueStr
WEAVE_ERROR WriteConfigValueStr(
Key key,
const char *str,
size_t strLen
)
受保护的静态函数
ForEachRecord
WEAVE_ERROR ForEachRecord(
Key firstKey,
Key lastKey,
bool addNewRecord,
ForEachRecordFunct funct
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates. The OPENTHREAD and related marks are trademarks of the Thread Group and are used under license.
最后更新时间 (UTC):2024-08-29。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]
需要向我们提供更多信息?
{"lastModified": "\u6700\u540e\u66f4\u65b0\u65f6\u95f4 (UTC)\uff1a2024-08-29\u3002"}
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2024-08-29。"],[],[]]