nl:: বুনা:: ডিভাইস লেয়ার:: অভ্যন্তরীণ:: Generic ConfigurationManagerImpl

#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.h>

কনফিগারেশন ম্যানেজার বৈশিষ্ট্যগুলির একটি সাধারণ বাস্তবায়ন প্রদান করে যা একাধিক প্ল্যাটফর্মে কাজ করে।

সারাংশ

এই টেমপ্লেটটিতে কনফিগারেশন ম্যানেজার বিমূর্ত ইন্টারফেস থেকে নির্বাচিত বৈশিষ্ট্যগুলির বাস্তবায়ন রয়েছে যা সমস্ত প্ল্যাটফর্মে ব্যবহারের জন্য উপযুক্ত। এটি ConfigurationManagerImpl ক্লাস দ্বারা উত্তরাধিকারসূত্রে (প্রত্যক্ষ বা পরোক্ষভাবে) প্রাপ্ত করার উদ্দেশ্যে করা হয়েছে, যা টেমপ্লেটের ImplClass প্যারামিটার হিসাবেও উপস্থিত হয়।

সুরক্ষিত প্রকার

@404 enum

সুরক্ষিত বৈশিষ্ট্য

mFlags
uint8_t

পাবলিক ফাংশন

_ClearServiceProvisioningData ()
_ComputeProvisioningHash (uint8_t *hashBuf, size_t hashBufSize)
_ConfigureWeaveStack ()
_GetBLEDeviceIdentificationInfo ( Ble::WeaveBLEDeviceIdentificationInfo & deviceIdInfo)
_GetDeviceCertificate (uint8_t *buf, size_t bufSize, size_t & certLen)
_GetDeviceDescriptor (:: nl::Weave::Profiles::DeviceDescription::WeaveDeviceDescriptor & deviceDesc)
_GetDeviceDescriptorTLV (uint8_t *buf, size_t bufSize, size_t & encodedLen)
_GetDeviceId (uint64_t & deviceId)
_GetDeviceIntermediateCACerts (uint8_t *buf, size_t bufSize, size_t & certsLen)
_GetDevicePrivateKey (uint8_t *buf, size_t bufSize, size_t & keyLen)
_GetFabricId (uint64_t & fabricId)
_GetFailSafeArmed (bool & val)
_GetFirmwareBuildTime (uint16_t & year, uint8_t & month, uint8_t & dayOfMonth, uint8_t & hour, uint8_t & minute, uint8_t & second)
_GetFirmwareRevision (char *buf, size_t bufSize, size_t & outLen)
_GetManufacturerDeviceCertificate (uint8_t *buf, size_t bufSize, size_t & certLen)
_GetManufacturerDeviceId (uint64_t & deviceId)
_GetManufacturerDeviceIntermediateCACerts (uint8_t *buf, size_t bufSize, size_t & certsLen)
_GetManufacturerDevicePrivateKey (uint8_t *buf, size_t bufSize, size_t & keyLen)
_GetManufacturingDate (uint16_t & year, uint8_t & month, uint8_t & dayOfMonth)
_GetPairedAccountId (char *buf, size_t bufSize, size_t & accountIdLen)
_GetPairingCode (char *buf, size_t bufSize, size_t & pairingCodeLen)
_GetPrimary802154MACAddress (uint8_t *buf)
_GetPrimaryWiFiMACAddress (uint8_t *buf)
_GetProductId (uint16_t & productId)
_GetProductRevision (uint16_t & productRev)
_GetQRCodeString (char *buf, size_t bufSize)
_GetSerialNumber (char *buf, size_t bufSize, size_t & serialNumLen)
_GetServiceConfig (uint8_t *buf, size_t bufSize, size_t & serviceConfigLen)
_GetServiceId (uint64_t & serviceId)
_GetVendorId (uint16_t & vendorId)
_GetWiFiAPSSID (char *buf, size_t bufSize)
_Init ()
_IsFullyProvisioned ()
bool
_IsMemberOfFabric ()
bool
_IsPairedToAccount ()
bool
_IsServiceProvisioned ()
bool
_SetFailSafeArmed (bool val)
_StoreFabricId (uint64_t fabricId)
_StoreManufacturerDeviceCertificate (const uint8_t *cert, size_t certLen)
_StoreManufacturerDeviceId (uint64_t deviceId)
_StoreManufacturerDeviceIntermediateCACerts (const uint8_t *certs, size_t certsLen)
_StoreManufacturerDevicePrivateKey (const uint8_t *key, size_t keyLen)
_StoreManufacturingDate (const char *mfgDate, size_t mfgDateLen)
_StorePairedAccountId (const char *accountId, size_t accountIdLen)
_StorePairingCode (const char *pairingCode, size_t pairingCodeLen)
_StorePrimary802154MACAddress (const uint8_t *buf)
_StorePrimaryWiFiMACAddress (const uint8_t *buf)
_StoreProductRevision (uint16_t productRev)
_StoreSerialNumber (const char *serialNum, size_t serialNumLen)
_StoreServiceConfig (const uint8_t *serviceConfig, size_t serviceConfigLen)
_StoreServiceProvisioningData (uint64_t serviceId, const uint8_t *serviceConfig, size_t serviceConfigLen, const char *accountId, size_t accountIdLen)

সুরক্ষিত ফাংশন

LogDeviceConfig ()
void
PersistProvisioningData (ProvisioningDataSet & provData)

সুরক্ষিত প্রকার

@404

 @404

সুরক্ষিত বৈশিষ্ট্য

mFlags

uint8_t mFlags

পাবলিক ফাংশন

_ClearServiceProvisioningData

WEAVE_ERROR _ClearServiceProvisioningData()

_কম্পিউট প্রভিশনিং হ্যাশ

WEAVE_ERROR _ComputeProvisioningHash(
  uint8_t *hashBuf,
  size_t hashBufSize
)

_কনফিগার উইভস্ট্যাক

WEAVE_ERROR _ConfigureWeaveStack()

_GetBLEDevice Identification Info

WEAVE_ERROR _GetBLEDeviceIdentificationInfo(
  Ble::WeaveBLEDeviceIdentificationInfo & deviceIdInfo
)

_ডিভাইস সার্টিফিকেট পান

WEAVE_ERROR _GetDeviceCertificate(
  uint8_t *buf,
  size_t bufSize,
  size_t & certLen
)

_GetDeviceDescriptor

WEAVE_ERROR _GetDeviceDescriptor(
  ::nl::Weave::Profiles::DeviceDescription::WeaveDeviceDescriptor & deviceDesc
)

_GetDeviceDescriptorTLV

WEAVE_ERROR _GetDeviceDescriptorTLV(
  uint8_t *buf,
  size_t bufSize,
  size_t & encodedLen
)

_GetDeviceId

WEAVE_ERROR _GetDeviceId(
  uint64_t & deviceId
)

_GetDeviceIntermediateCACerts

WEAVE_ERROR _GetDeviceIntermediateCACerts(
  uint8_t *buf,
  size_t bufSize,
  size_t & certsLen
)

_GetDevicePrivateKey

WEAVE_ERROR _GetDevicePrivateKey(
  uint8_t *buf,
  size_t bufSize,
  size_t & keyLen
)

_GetFabricId

WEAVE_ERROR _GetFabricId(
  uint64_t & fabricId
)

_FailSafe Armed পান

WEAVE_ERROR _GetFailSafeArmed(
  bool & val
)

_GetFirmwareBuildTime

WEAVE_ERROR _GetFirmwareBuildTime(
  uint16_t & year,
  uint8_t & month,
  uint8_t & dayOfMonth,
  uint8_t & hour,
  uint8_t & minute,
  uint8_t & second
)

_GetFirmwareRevision

WEAVE_ERROR _GetFirmwareRevision(
  char *buf,
  size_t bufSize,
  size_t & outLen
)

_GetManufacturerDevice Certificate

WEAVE_ERROR _GetManufacturerDeviceCertificate(
  uint8_t *buf,
  size_t bufSize,
  size_t & certLen
)

_GetManufacturerDeviceId

WEAVE_ERROR _GetManufacturerDeviceId(
  uint64_t & deviceId
)

_GetManufacturerDeviceIntermediateCACerts

WEAVE_ERROR _GetManufacturerDeviceIntermediateCACerts(
  uint8_t *buf,
  size_t bufSize,
  size_t & certsLen
)

_GetManufacturerDevicePrivateKey

WEAVE_ERROR _GetManufacturerDevicePrivateKey(
  uint8_t *buf,
  size_t bufSize,
  size_t & keyLen
)

_GetManufacturing Date

WEAVE_ERROR _GetManufacturingDate(
  uint16_t & year,
  uint8_t & month,
  uint8_t & dayOfMonth
)

_GetPairedAccountId

WEAVE_ERROR _GetPairedAccountId(
  char *buf,
  size_t bufSize,
  size_t & accountIdLen
)

_পেয়ারিং কোড পান

WEAVE_ERROR _GetPairingCode(
  char *buf,
  size_t bufSize,
  size_t & pairingCodeLen
)

_GetPrimary802154MACA ঠিকানা

WEAVE_ERROR _GetPrimary802154MACAddress(
  uint8_t *buf
)

_প্রাথমিক ওয়াইফাইম্যাক ঠিকানা পান

WEAVE_ERROR _GetPrimaryWiFiMACAddress(
  uint8_t *buf
)

_GetProductId

WEAVE_ERROR _GetProductId(
  uint16_t & productId
)

_GetProductRevision

WEAVE_ERROR _GetProductRevision(
  uint16_t & productRev
)

_GetQRCodeString

WEAVE_ERROR _GetQRCodeString(
  char *buf,
  size_t bufSize
)

_SerialNumber পান

WEAVE_ERROR _GetSerialNumber(
  char *buf,
  size_t bufSize,
  size_t & serialNumLen
)

_GetServiceConfig

WEAVE_ERROR _GetServiceConfig(
  uint8_t *buf,
  size_t bufSize,
  size_t & serviceConfigLen
)

_GetServiceId

WEAVE_ERROR _GetServiceId(
  uint64_t & serviceId
)

_GetVendorId

WEAVE_ERROR _GetVendorId(
  uint16_t & vendorId
)

_WiFiAPSSID পান

WEAVE_ERROR _GetWiFiAPSSID(
  char *buf,
  size_t bufSize
)

_ইনিট

WEAVE_ERROR _Init()

_পুরোপুরি ব্যবস্থা করা হয়েছে

bool _IsFullyProvisioned()

_IsMemberOfFabric

bool _IsMemberOfFabric()

_Is PairedToAccount

bool _IsPairedToAccount()

_IsService Provisioned

bool _IsServiceProvisioned()

_SetFailSafeArmed

WEAVE_ERROR _SetFailSafeArmed(
  bool val
)

_StoreFabricId

WEAVE_ERROR _StoreFabricId(
  uint64_t fabricId
)

_StoreManufacturerDevice Certificate

WEAVE_ERROR _StoreManufacturerDeviceCertificate(
  const uint8_t *cert,
  size_t certLen
)

_StoreManufacturerDeviceId

WEAVE_ERROR _StoreManufacturerDeviceId(
  uint64_t deviceId
)

_StoreManufacturerDeviceIntermediateCACerts

WEAVE_ERROR _StoreManufacturerDeviceIntermediateCACerts(
  const uint8_t *certs,
  size_t certsLen
)

_StoreManufacturerDevicePrivateKey

WEAVE_ERROR _StoreManufacturerDevicePrivateKey(
  const uint8_t *key,
  size_t keyLen
)

_Store Manufacturing Date

WEAVE_ERROR _StoreManufacturingDate(
  const char *mfgDate,
  size_t mfgDateLen
)

_Store PairedAccountId

WEAVE_ERROR _StorePairedAccountId(
  const char *accountId,
  size_t accountIdLen
)

_স্টোর পেয়ারিং কোড

WEAVE_ERROR _StorePairingCode(
  const char *pairingCode,
  size_t pairingCodeLen
)

_StorePrimary802154MACA ঠিকানা

WEAVE_ERROR _StorePrimary802154MACAddress(
  const uint8_t *buf
)

_StorePrimaryWiFiMACAঠিকানা

WEAVE_ERROR _StorePrimaryWiFiMACAddress(
  const uint8_t *buf
)

_স্টোর প্রোডাক্ট রিভিশন

WEAVE_ERROR _StoreProductRevision(
  uint16_t productRev
)

_স্টোর সিরিয়াল নম্বর

WEAVE_ERROR _StoreSerialNumber(
  const char *serialNum,
  size_t serialNumLen
)

_StoreServiceConfig

WEAVE_ERROR _StoreServiceConfig(
  const uint8_t *serviceConfig,
  size_t serviceConfigLen
)

_StoreServiceProvisioningData

WEAVE_ERROR _StoreServiceProvisioningData(
  uint64_t serviceId,
  const uint8_t *serviceConfig,
  size_t serviceConfigLen,
  const char *accountId,
  size_t accountIdLen
)

সুরক্ষিত ফাংশন

LogDeviceConfig

void LogDeviceConfig()

PersistProvisioningData

WEAVE_ERROR PersistProvisioningData(
  ProvisioningDataSet & provData
)
,

nl:: বুনা:: ডিভাইস লেয়ার:: অভ্যন্তরীণ:: Generic ConfigurationManagerImpl

#include <src/adaptations/device-layer/include/Weave/DeviceLayer/internal/GenericConfigurationManagerImpl.h>

কনফিগারেশন ম্যানেজার বৈশিষ্ট্যগুলির একটি সাধারণ বাস্তবায়ন প্রদান করে যা একাধিক প্ল্যাটফর্মে কাজ করে।

সারাংশ

এই টেমপ্লেটটিতে কনফিগারেশন ম্যানেজার বিমূর্ত ইন্টারফেস থেকে নির্বাচিত বৈশিষ্ট্যগুলির বাস্তবায়ন রয়েছে যা সমস্ত প্ল্যাটফর্মে ব্যবহারের জন্য উপযুক্ত। এটি ConfigurationManagerImpl ক্লাস দ্বারা উত্তরাধিকারসূত্রে (প্রত্যক্ষ বা পরোক্ষভাবে) প্রাপ্ত করার উদ্দেশ্যে করা হয়েছে, যা টেমপ্লেটের ImplClass প্যারামিটার হিসাবেও উপস্থিত হয়।

সুরক্ষিত প্রকার

@404 enum

সুরক্ষিত বৈশিষ্ট্য

mFlags
uint8_t

পাবলিক ফাংশন

_ClearServiceProvisioningData ()
WEAVE_ERROR
_ComputeProvisioningHash (uint8_t *hashBuf, size_t hashBufSize)
WEAVE_ERROR
_কনফিগার উইভস্ট্যাক ()
WEAVE_ERROR
_GetBLEDeviceIdentification Info ( Ble::WeaveBLEDeviceIdentificationInfo & deviceIdInfo)
WEAVE_ERROR
_GetDevice Certificate (uint8_t *buf, size_t bufSize, size_t এবং certLen)
WEAVE_ERROR
_GetDeviceDescriptor (:: nl::Weave::Profiles::DeviceDescription::WeaveDeviceDescriptor & deviceDesc)
WEAVE_ERROR
_GetDeviceDescriptorTLV (uint8_t *buf, size_t bufSize, size_t & encodedLen)
WEAVE_ERROR
_GetDeviceId (uint64_t এবং deviceId)
WEAVE_ERROR
_GetDeviceIntermediateCACerts (uint8_t *buf, size_t bufSize, size_t এবং certsLen)
WEAVE_ERROR
_GetDevicePrivateKey (uint8_t *buf, size_t bufSize, size_t এবং keyLen)
WEAVE_ERROR
_GetFabricId (uint64_t & fabricId)
WEAVE_ERROR
_GetFailSafeArmed (বুল এবং ভাল)
WEAVE_ERROR
_GetFirmwareBuildTime (uint16_t & year, uint8_t & মাস, uint8_t & dayOfMonth, uint8_t & hour, uint8_t & মিনিট, uint8_t এবং সেকেন্ড)
WEAVE_ERROR
_GetFirmwareRevision (char *buf, size_t bufSize, size_t এবং outLen)
WEAVE_ERROR
_GetManufacturerDevice Certificate (uint8_t *buf, size_t bufSize, size_t এবং certLen)
WEAVE_ERROR
_GetManufacturerDeviceId (uint64_t & deviceId)
WEAVE_ERROR
_GetManufacturerDeviceIntermediateCACerts (uint8_t *buf, size_t bufSize, size_t এবং certsLen)
WEAVE_ERROR
_GetManufacturerDevicePrivateKey (uint8_t *buf, size_t bufSize, size_t & keyLen)
WEAVE_ERROR
_GetManufacturing Date (uint16_t & year, uint8_t & মাস, uint8_t & dayOfMonth)
WEAVE_ERROR
_GetPairedAccountId (char *buf, size_t bufSize, size_t এবং accountIdLen)
WEAVE_ERROR
_GetPairingCode (char *buf, size_t bufSize, size_t & pairingCodeLen)
WEAVE_ERROR
_GetPrimary802154MACA ঠিকানা (uint8_t *buf)
WEAVE_ERROR
_GetPrimaryWiFiMACAঠিকানা (uint8_t *buf)
WEAVE_ERROR
_GetProductId (uint16_t & productId)
WEAVE_ERROR
_GetProductRevision (uint16_t & productRev)
WEAVE_ERROR
_GetQRCodeString (char *buf, size_t bufSize)
WEAVE_ERROR
_GetSerialNumber (char *buf, size_t bufSize, size_t এবং serialNumLen)
WEAVE_ERROR
_GetServiceConfig (uint8_t *buf, size_t bufSize, size_t এবং serviceConfigLen)
WEAVE_ERROR
_GetServiceId (uint64_t এবং serviceId)
WEAVE_ERROR
_GetVendorId (uint16_t & vendorId)
WEAVE_ERROR
_GetWiFiAPSSID (char *buf, size_t bufSize)
WEAVE_ERROR
_ইনিট ()
WEAVE_ERROR
_পুরোপুরি ব্যবস্থা করা হয়েছে ()
bool
_IsMemberOfFabric ()
bool
_IsPairedToAccount ()
bool
_IsServiceProvisioned ()
bool
_SetFailSafeArmed (বুল ভ্যাল)
WEAVE_ERROR
_StoreFabricId (uint64_t fabricId)
WEAVE_ERROR
_StoreManufacturerDevice Certificate (const uint8_t *cert, size_t certLen)
WEAVE_ERROR
_StoreManufacturerDeviceId (uint64_t deviceId)
WEAVE_ERROR
_StoreManufacturerDeviceIntermediateCACerts (const uint8_t *certs, size_t certsLen)
WEAVE_ERROR
_StoreManufacturerDevicePrivateKey (const uint8_t *key, size_t keyLen)
WEAVE_ERROR
_StoreManufacturingDate (const char *mfgDate, size_t mfgDateLen)
WEAVE_ERROR
_Store PairedAccountId (const char *accountId, size_t accountIdLen)
WEAVE_ERROR
_StorePairingCode (const char *pairingCode, size_t pairingCodeLen)
WEAVE_ERROR
_StorePrimary802154MACAঠিকানা (const uint8_t *buf)
WEAVE_ERROR
_StorePrimaryWiFiMACAঠিকানা (const uint8_t *buf)
WEAVE_ERROR
_StoreProductRevision (uint16_t productRev)
WEAVE_ERROR
_StoreSerialNumber (const char *serialNum, size_t serialNumLen)
WEAVE_ERROR
_StoreServiceConfig (const uint8_t *serviceConfig, size_t serviceConfigLen)
WEAVE_ERROR
_StoreServiceProvisioningData (uint64_t serviceId, const uint8_t *serviceConfig, size_t serviceConfigLen, const char *accountId, size_t accountIdLen)
WEAVE_ERROR

সুরক্ষিত ফাংশন

LogDeviceConfig ()
অকার্যকর
PersistProvisioningData (ProvisioningDataSet & provData)
WEAVE_ERROR

সুরক্ষিত প্রকার

@404

 @404

সুরক্ষিত বৈশিষ্ট্য

mFlags

uint8_t mFlags

পাবলিক ফাংশন

_ClearServiceProvisioningData

WEAVE_ERROR _ClearServiceProvisioningData()

_কম্পিউট প্রভিশনিং হ্যাশ

WEAVE_ERROR _ComputeProvisioningHash(
  uint8_t *hashBuf,
  size_t hashBufSize
)

_কনফিগার উইভস্ট্যাক

WEAVE_ERROR _ConfigureWeaveStack()

_GetBLEDevice Identification Info

WEAVE_ERROR _GetBLEDeviceIdentificationInfo(
  Ble::WeaveBLEDeviceIdentificationInfo & deviceIdInfo
)

_ডিভাইস সার্টিফিকেট পান

WEAVE_ERROR _GetDeviceCertificate(
  uint8_t *buf,
  size_t bufSize,
  size_t & certLen
)

_GetDeviceDescriptor

WEAVE_ERROR _GetDeviceDescriptor(
  ::nl::Weave::Profiles::DeviceDescription::WeaveDeviceDescriptor & deviceDesc
)

_GetDeviceDescriptorTLV

WEAVE_ERROR _GetDeviceDescriptorTLV(
  uint8_t *buf,
  size_t bufSize,
  size_t & encodedLen
)

_GetDeviceId

WEAVE_ERROR _GetDeviceId(
  uint64_t & deviceId
)

_GetDeviceIntermediateCACerts

WEAVE_ERROR _GetDeviceIntermediateCACerts(
  uint8_t *buf,
  size_t bufSize,
  size_t & certsLen
)

_GetDevicePrivateKey

WEAVE_ERROR _GetDevicePrivateKey(
  uint8_t *buf,
  size_t bufSize,
  size_t & keyLen
)

_GetFabricId

WEAVE_ERROR _GetFabricId(
  uint64_t & fabricId
)

_FailSafe Armed পান

WEAVE_ERROR _GetFailSafeArmed(
  bool & val
)

_GetFirmwareBuildTime

WEAVE_ERROR _GetFirmwareBuildTime(
  uint16_t & year,
  uint8_t & month,
  uint8_t & dayOfMonth,
  uint8_t & hour,
  uint8_t & minute,
  uint8_t & second
)

_GetFirmwareRevision

WEAVE_ERROR _GetFirmwareRevision(
  char *buf,
  size_t bufSize,
  size_t & outLen
)

_GetManufacturerDevice Certificate

WEAVE_ERROR _GetManufacturerDeviceCertificate(
  uint8_t *buf,
  size_t bufSize,
  size_t & certLen
)

_GetManufacturerDeviceId

WEAVE_ERROR _GetManufacturerDeviceId(
  uint64_t & deviceId
)

_GetManufacturerDeviceIntermediateCACerts

WEAVE_ERROR _GetManufacturerDeviceIntermediateCACerts(
  uint8_t *buf,
  size_t bufSize,
  size_t & certsLen
)

_GetManufacturerDevicePrivateKey

WEAVE_ERROR _GetManufacturerDevicePrivateKey(
  uint8_t *buf,
  size_t bufSize,
  size_t & keyLen
)

_GetManufacturing Date

WEAVE_ERROR _GetManufacturingDate(
  uint16_t & year,
  uint8_t & month,
  uint8_t & dayOfMonth
)

_GetPairedAccountId

WEAVE_ERROR _GetPairedAccountId(
  char *buf,
  size_t bufSize,
  size_t & accountIdLen
)

_পেয়ারিং কোড পান

WEAVE_ERROR _GetPairingCode(
  char *buf,
  size_t bufSize,
  size_t & pairingCodeLen
)

_GetPrimary802154MACA ঠিকানা

WEAVE_ERROR _GetPrimary802154MACAddress(
  uint8_t *buf
)

_প্রাথমিক ওয়াইফাইম্যাক ঠিকানা পান

WEAVE_ERROR _GetPrimaryWiFiMACAddress(
  uint8_t *buf
)

_GetProductId

WEAVE_ERROR _GetProductId(
  uint16_t & productId
)

_GetProductRevision

WEAVE_ERROR _GetProductRevision(
  uint16_t & productRev
)

_GetQRCodeString

WEAVE_ERROR _GetQRCodeString(
  char *buf,
  size_t bufSize
)

_SerialNumber পান

WEAVE_ERROR _GetSerialNumber(
  char *buf,
  size_t bufSize,
  size_t & serialNumLen
)

_GetServiceConfig

WEAVE_ERROR _GetServiceConfig(
  uint8_t *buf,
  size_t bufSize,
  size_t & serviceConfigLen
)

_GetServiceId

WEAVE_ERROR _GetServiceId(
  uint64_t & serviceId
)

_GetVendorId

WEAVE_ERROR _GetVendorId(
  uint16_t & vendorId
)

_WiFiAPSSID পান

WEAVE_ERROR _GetWiFiAPSSID(
  char *buf,
  size_t bufSize
)

_ইনিট

WEAVE_ERROR _Init()

_পুরোপুরি ব্যবস্থা করা হয়েছে

bool _IsFullyProvisioned()

_IsMemberOfFabric

bool _IsMemberOfFabric()

_Is PairedToAccount

bool _IsPairedToAccount()

_IsService Provisioned

bool _IsServiceProvisioned()

_SetFailSafeArmed

WEAVE_ERROR _SetFailSafeArmed(
  bool val
)

_StoreFabricId

WEAVE_ERROR _StoreFabricId(
  uint64_t fabricId
)

_StoreManufacturerDevice Certificate

WEAVE_ERROR _StoreManufacturerDeviceCertificate(
  const uint8_t *cert,
  size_t certLen
)

_StoreManufacturerDeviceId

WEAVE_ERROR _StoreManufacturerDeviceId(
  uint64_t deviceId
)

_StoreManufacturerDeviceIntermediateCACerts

WEAVE_ERROR _StoreManufacturerDeviceIntermediateCACerts(
  const uint8_t *certs,
  size_t certsLen
)

_StoreManufacturerDevicePrivateKey

WEAVE_ERROR _StoreManufacturerDevicePrivateKey(
  const uint8_t *key,
  size_t keyLen
)

_Store Manufacturing Date

WEAVE_ERROR _StoreManufacturingDate(
  const char *mfgDate,
  size_t mfgDateLen
)

_Store PairedAccountId

WEAVE_ERROR _StorePairedAccountId(
  const char *accountId,
  size_t accountIdLen
)

_স্টোর পেয়ারিং কোড

WEAVE_ERROR _StorePairingCode(
  const char *pairingCode,
  size_t pairingCodeLen
)

_StorePrimary802154MACA ঠিকানা

WEAVE_ERROR _StorePrimary802154MACAddress(
  const uint8_t *buf
)

_StorePrimaryWiFiMACAঠিকানা

WEAVE_ERROR _StorePrimaryWiFiMACAddress(
  const uint8_t *buf
)

_স্টোর প্রোডাক্ট রিভিশন

WEAVE_ERROR _StoreProductRevision(
  uint16_t productRev
)

_স্টোর সিরিয়াল নম্বর

WEAVE_ERROR _StoreSerialNumber(
  const char *serialNum,
  size_t serialNumLen
)

_StoreServiceConfig

WEAVE_ERROR _StoreServiceConfig(
  const uint8_t *serviceConfig,
  size_t serviceConfigLen
)

_StoreServiceProvisioningData

WEAVE_ERROR _StoreServiceProvisioningData(
  uint64_t serviceId,
  const uint8_t *serviceConfig,
  size_t serviceConfigLen,
  const char *accountId,
  size_t accountIdLen
)

সুরক্ষিত ফাংশন

LogDeviceConfig

void LogDeviceConfig()

PersistProvisioningData

WEAVE_ERROR PersistProvisioningData(
  ProvisioningDataSet & provData
)