nl :: نسج:: طبقة الجهاز :: داخلي:: ESP32 تكوين
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/ESP32/ESP32Config.h>
يوفر وظائف وتعريفات للوصول إلى معلومات تكوين الجهاز على ESP32.
ملخص
تم تصميم هذه الفئة لتكون مختلطة مع فئات التنفيذ الملموسة كوسيلة لتوفير الوصول إلى معلومات التكوين للفئات الأساسية العامة.
ميراث
الفئات الفرعية المعروفة المباشرة:nl :: Weave :: DeviceLayer :: ConfigurationManagerImpl
nl :: Weave :: DeviceLayer :: Internal :: GroupKeyStoreImpl
وظائف ثابتة عامة | |
---|---|
ClearConfigValue ( Key key) | |
ClearNamespace (const char *ns) | |
ConfigValueExists ( Key key) | bool |
EnsureNamespace (const char *ns) | |
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) | |
ReadConfigValueStr ( Key key, char *buf, size_t bufSize, size_t & outLen) | |
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) | |
WriteConfigValueStr ( Key key, const char *str) | |
WriteConfigValueStr ( Key key, const char *str, size_t strLen) |
الهياكل | |
---|---|
نيكولا لانغ :: :: نسج DeviceLayer :: :: الداخلية ESP32Config :: مفتاح |
السمات العامة الثابتة
kConfigKey_FabricId
const Key kConfigKey_FabricId
kConfigKey_FabricSecret
const Key kConfigKey_FabricSecret
kConfigKey_FailSafeArmed
const Key kConfigKey_FailSafeArmed
kConfigKey_GroupKeyIndex
const Key kConfigKey_GroupKeyIndex
kConfigKey_LastUsedEpochKeyId
const Key kConfigKey_LastUsedEpochKeyId
تاريخ التصنيع kConfigKey_Manufacturing
const Key kConfigKey_ManufacturingDate
kConfigKey_MfrDeviceCert
const Key kConfigKey_MfrDeviceCert
kConfigKey_MfrDeviceICACerts
const Key kConfigKey_MfrDeviceICACerts
kConfigKey_MfrDeviceId
const Key kConfigKey_MfrDeviceId
kConfigKey_MfrDevicePrivateKey
const Key kConfigKey_MfrDevicePrivateKey
kConfigKey_OperationalDeviceCert
const Key kConfigKey_OperationalDeviceCert
kConfigKey_OperationalDeviceICACerts
const Key kConfigKey_OperationalDeviceICACerts
kConfigKey_OperationalDeviceId
const Key kConfigKey_OperationalDeviceId
kConfigKey_OperationalDevicePrivateKey
const Key kConfigKey_OperationalDevicePrivateKey
kConfigKey_PairedAccountId
const Key kConfigKey_PairedAccountId
kConfigKey_PairingCode
const Key kConfigKey_PairingCode
kConfigKey_ProductRevision
const Key kConfigKey_ProductRevision
kConfigKey_SerialNum
const Key kConfigKey_SerialNum
kConfigKey_ServiceConfig
const Key kConfigKey_ServiceConfig
kConfigKey_ServiceId
const Key kConfigKey_ServiceId
kConfigKey_WiFiStationSecType
const Key kConfigKey_WiFiStationSecType
kConfigNamespace_WeaveConfig
const char kConfigNamespace_WeaveConfig[]
kConfigNamespace_WeaveCounters
const char kConfigNamespace_WeaveCounters[]
kConfigNamespace_WeaveFactory
const char kConfigNamespace_WeaveFactory[]
kGroupKeyNamePrefix
const char kGroupKeyNamePrefix[]
kMaxConfigKeyNameLength
constexpr size_t kMaxConfigKeyNameLength = 15
وظائف ثابتة عامة
ClearConfigValue
WEAVE_ERROR ClearConfigValue( Key key )
مسح مساحة الاسم
WEAVE_ERROR ClearNamespace( const char *ns )
ConfigValueExists
bool ConfigValueExists( Key key )
تأكد من مساحة الاسم
WEAVE_ERROR EnsureNamespace( const char *ns )
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 )
ReadConfigValueStr
WEAVE_ERROR ReadConfigValueStr( Key key, char *buf, size_t bufSize, size_t & outLen )
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 )
WriteConfigValueStr
WEAVE_ERROR WriteConfigValueStr( Key key, const char *str )
WriteConfigValueStr
WEAVE_ERROR WriteConfigValueStr( Key key, const char *str, size_t strLen )
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجّلة لشركة Oracle و/أو شركائها التابعين، وThread هي علامة تجارية مسجّلة لشركة .Thread Group, Inc.
تاريخ التعديل الأخير: 2020-01-13 (حسب التوقيت العالمي المتفَّق عليه)
[{
"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":"غير ذلك"
}]