Google berkomitmen untuk mendorong terwujudnya keadilan ras bagi komunitas Kulit Hitam. Lihat caranya.
Tetap teratur dengan koleksi Simpan dan kategorikan konten berdasarkan preferensi Anda.

nl:: Menenun:: Lapisan Perangkat:: Manajer Konfigurasi

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

Menyediakan akses ke informasi konfigurasi runtime dan build-time untuk perangkat Weave.

Ringkasan

Warisan

Subclass yang Diketahui Langsung:
  nl::Weave::DeviceLayer::ConfigurationManagerImpl
  nl::Weave::DeviceLayer::ConfigurationManagerImpl
  nl::Weave::DeviceLayer::ConfigurationManagerImpl

Tipe publik

@388 enum

Kelas teman

::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

Fungsi publik

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)
ID produk perangkat yang ditetapkan oleh vendor.
GetProductRevision (uint16_t & productRev)
Nomor revisi produk yang ditetapkan oleh vendor.
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)
Id vendor yang memproduksi perangkat.
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)

Fungsi yang dilindungi

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

Tipe publik

@388

 @388

Kelas teman

::nl::Menenun::DeviceLayer::Internal::DeviceControlServer

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

::nl::Menenun::DeviceLayer::Internal::GenericPlatformManagerImpl

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

::nl::Menenun::DeviceLayer::PlatformManagerImpl

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

::nl::Menenun::Lapisan Perangkat::Manajer Sifat

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

Fungsi publik

ClearServiceProvisioningData

WEAVE_ERROR ClearServiceProvisioningData()

ComputeProvisioningHash

WEAVE_ERROR ComputeProvisioningHash(
  uint8_t *hashBuf,
  size_t hashBufSize
)

DapatkanBLEDDeviceIdentificationInfo

WEAVE_ERROR GetBLEDeviceIdentificationInfo(
  Ble::WeaveBLEDeviceIdentificationInfo & deviceIdInfo
)

Dapatkan Sertifikat Perangkat

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
)

DapatkanDeviceId

WEAVE_ERROR GetDeviceId(
  uint64_t & deviceId
)

DapatkanDeviceIntermediateCACerts

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

DapatkanPerangkatPrivateKey

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

DapatkanFabricId

WEAVE_ERROR GetFabricId(
  uint64_t & fabricId
)

Dapatkan FirmwareBuildTime

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

DapatkanRevisi Firmware

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

DapatkanSertifikatPerangkatProdusen

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

DapatkanManufacturerDeviceId

WEAVE_ERROR GetManufacturerDeviceId(
  uint64_t & deviceId
)

DapatkanManufacturerDeviceIntermediateCACerts

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

DapatkanManufacturerDevicePrivateKey

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

DapatkanTanggal Pembuatan

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

DapatkanPairedAccountId

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

DapatkanKode Pasangan

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

DapatkanPrimary802154MACAalamat

WEAVE_ERROR GetPrimary802154MACAddress(
  uint8_t *buf
)

DapatkanPrimaryWiFiMACAalamat

WEAVE_ERROR GetPrimaryWiFiMACAddress(
  uint8_t *buf
)

DapatkanIdProduk

WEAVE_ERROR GetProductId(
  uint16_t & productId
)

ID produk perangkat yang ditetapkan oleh vendor.

DapatkanRevisi Produk

WEAVE_ERROR GetProductRevision(
  uint16_t & productRev
)

Nomor revisi produk yang ditetapkan oleh vendor.

DapatkanQRCodeString

WEAVE_ERROR GetQRCodeString(
  char *buf,
  size_t bufSize
)

Dapatkan NomorSerial

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

DapatkanKonfigurasiLayanan

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

DapatkanIdLayanan

WEAVE_ERROR GetServiceId(
  uint64_t & serviceId
)

DapatkanVendorId

WEAVE_ERROR GetVendorId(
  uint16_t & vendorId
)

Id vendor yang memproduksi perangkat.

Dapatkan WiFiAPSSID

WEAVE_ERROR GetWiFiAPSSID(
  char *buf,
  size_t bufSize
)

Mulai Reset Pabrik

void InitiateFactoryReset()

Disediakan Sepenuhnya

bool IsFullyProvisioned()

AdalahMemberOfFabric

bool IsMemberOfFabric()

DipasangkanKeAkun

bool IsPairedToAccount()

Disediakan Layanan

bool IsServiceProvisioned()

TokoKainId

WEAVE_ERROR StoreFabricId(
  uint64_t fabricId
)

TokoProdusenPerangkatSertifikat

WEAVE_ERROR StoreManufacturerDeviceCertificate(
  const uint8_t *cert,
  size_t certLen
)

TokoProdusenPerangkatId

WEAVE_ERROR StoreManufacturerDeviceId(
  uint64_t deviceId
)

TokoManufacturerDeviceIntermediateCACerts

WEAVE_ERROR StoreManufacturerDeviceIntermediateCACerts(
  const uint8_t *certs,
  size_t certsLen
)

TokoProdusenPerangkatPrivateKey

WEAVE_ERROR StoreManufacturerDevicePrivateKey(
  const uint8_t *key,
  size_t keyLen
)

TokoTanggal Pembuatan

WEAVE_ERROR StoreManufacturingDate(
  const char *mfgDate,
  size_t mfgDateLen
)

TokoBerpasanganAkunId

WEAVE_ERROR StorePairedAccountId(
  const char *accountId,
  size_t accountIdLen
)

TokoPairingCode

WEAVE_ERROR StorePairingCode(
  const char *pairingCode,
  size_t pairingCodeLen
)

Alamat TokoPrimary802154MACA

WEAVE_ERROR StorePrimary802154MACAddress(
  const uint8_t *buf
)

TokoPrimaryWiFiMACAAddress

WEAVE_ERROR StorePrimaryWiFiMACAddress(
  const uint8_t *buf
)

TokoProdukRevisi

WEAVE_ERROR StoreProductRevision(
  uint16_t productRev
)

TokoSerialNumber

WEAVE_ERROR StoreSerialNumber(
  const char *serialNum,
  size_t serialNumLen
)

TokoLayananKonfigurasi

l10n-placeholder=52

DataPenyediaanLayanan Toko

l10n-placeholder=53

Fungsi yang dilindungi

Manajer Konfigurasi

l10n-placeholder=54

Manajer Konfigurasi

l10n-placeholder=55

Manajer Konfigurasi

l10n-placeholder=56

operator=

l10n-placeholder=57

~Manajer Konfigurasi

l10n-placeholder=58