nl:: বুনা:: ডিভাইস লেয়ার:: কনফিগারেশন ম্যানেজার

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

একটি Weave ডিভাইসের জন্য রানটাইম এবং বিল্ড-টাইম কনফিগারেশন তথ্য অ্যাক্সেস প্রদান করে।

সারসংক্ষেপ

উত্তরাধিকার

সরাসরি পরিচিত সাবক্লাস:
  nl::Weave::DeviceLayer::ConfigurationManagerImpl
  nl::Weave::DeviceLayer::ConfigurationManagerImpl
  nl::Weave::DeviceLayer::ConfigurationManagerImpl

পাবলিক প্রকার

@388 enum

বন্ধুর ক্লাস

::nl::Weave::DeviceLayer::Internal::DeviceControlServer
friend class
::nl::Weave::DeviceLayer::Internal::GenericPlatformManagerImpl
friend class
::nl::Weave::DeviceLayer::PlatformManagerImpl
friend class
::nl::Weave::DeviceLayer::TraitManager
friend class

পাবলিক ফাংশন

ClearServiceProvisioningData ()
ComputeProvisioningHash (uint8_t *hashBuf, size_t hashBufSize)
GetBLEDeviceIdentificationInfo ( Ble::WeaveBLEDeviceIdentificationInfo & deviceIdInfo)
GetDeviceCertificate (uint8_t *buf, size_t bufSize, size_t & certLen)
GetDeviceDescriptor ( 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)
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)
InitiateFactoryReset ()
void
IsFullyProvisioned ()
bool
IsMemberOfFabric ()
bool
IsPairedToAccount ()
bool
IsServiceProvisioned ()
bool
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)

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

ConfigurationManager ()=default
ConfigurationManager (const ConfigurationManager &)=delete
ConfigurationManager (const ConfigurationManager &&)=delete
operator= (const ConfigurationManager &)=delete
~ConfigurationManager ()=default

পাবলিক প্রকার

@388

 @388

বন্ধুর ক্লাস

::nl::Weave::DeviceLayer::Internal::DeviceControlServer

friend class ::nl::Weave::DeviceLayer::Internal::DeviceControlServer

::nl::Weave::DeviceLayer::Internal::GenericPlatformManagerImpl

friend class ::nl::Weave::DeviceLayer::Internal::GenericPlatformManagerImpl

::nl::Weave::DeviceLayer::PlatformManagerImpl

friend class ::nl::Weave::DeviceLayer::PlatformManagerImpl

::nl::Weave::DeviceLayer::TraitManager

friend class ::nl::Weave::DeviceLayer::TraitManager

পাবলিক ফাংশন

ClearServiceProvisioningData

WEAVE_ERROR ClearServiceProvisioningData()

ComputeProvisioningHash

WEAVE_ERROR ComputeProvisioningHash(
  uint8_t *hashBuf,
  size_t hashBufSize
)

BLEDeviceIdentification Info পান

WEAVE_ERROR GetBLEDeviceIdentificationInfo(
  Ble::WeaveBLEDeviceIdentificationInfo & deviceIdInfo
)

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

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

GetDeviceDescriptor

WEAVE_ERROR GetDeviceDescriptor(
  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
)

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
)

GetManufacturingDate

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
)

সিরিয়াল নম্বর পান

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
)

যে বিক্রেতার আইডি ডিভাইসটি তৈরি করেছে।

GetWiFiAPSSID

WEAVE_ERROR GetWiFiAPSSID(
  char *buf,
  size_t bufSize
)

ইনিশিয়েট ফ্যাক্টরি রিসেট

void InitiateFactoryReset()

সম্পূর্ণরূপে ব্যবস্থা করা হয়েছে

bool IsFullyProvisioned()

IsMemberOfFabric

bool IsMemberOfFabric()

IsPairedToAccount

bool IsPairedToAccount()

IsServiceProvisioned

bool IsServiceProvisioned()

স্টোরফ্যাব্রিকআইডি

WEAVE_ERROR StoreFabricId(
  uint64_t fabricId
)

স্টোর ম্যানুফ্যাকচারার ডিভাইস সার্টিফিকেট

WEAVE_ERROR StoreManufacturerDeviceCertificate(
  const uint8_t *cert,
  size_t certLen
)

StoreManufacturerDeviceId

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 StorePairedAccountId(
  const char *accountId,
  size_t accountIdLen
)

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

WEAVE_ERROR StorePairingCode(
  const char *pairingCode,
  size_t pairingCodeLen
)

StorePrimary802154MACA ঠিকানা

WEAVE_ERROR StorePrimary802154MACAddress(
  const uint8_t *buf
)

স্টোর প্রাইমারি ওয়াইফাইম্যাক ঠিকানা

WEAVE_ERROR StorePrimaryWiFiMACAddress(
  const uint8_t *buf
)

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

WEAVE_ERROR StoreProductRevision(
  uint16_t productRev
)

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

WEAVE_ERROR StoreSerialNumber(
  const char *serialNum,
  size_t serialNumLen
)

স্টোর সার্ভিস কনফিগারেশন

l10n-placeholder52

স্টোর সার্ভিস প্রভিশনিং ডেটা

l10n-placeholder53

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

কনফিগারেশন ম্যানেজার

l10n-placeholder54

কনফিগারেশন ম্যানেজার

l10n-placeholder55

কনফিগারেশন ম্যানেজার

l10n-placeholder56

অপারেটর=

l10n-placeholder57

~ কনফিগারেশন ম্যানেজার

l10n-placeholder58