nl::Weave::DeviceLayer

Summary

Enumerations

ConnectivityChange enum
Connectivity Change.

Typedefs

AsyncWorkFunct)(intptr_t arg) typedef
void(*
A pointer to a function that performs work asynchronously.

Variables

InetLayer
SystemLayer

Functions

CharacterizeIPv6Address(const ::nl::Inet::IPAddress & ipAddr)
const char *
CharacterizeIPv6Prefix(const Inet::IPPrefix & inPrefix)
const char *
ConfigurationMgr(void)
Returns a reference to the public interface of the ConfigurationManager singleton object.
ConfigurationMgrImpl(void)
Returns the platform-specific implementation of the ConfigurationManager singleton object.
ConnectivityMgr(void)
Returns a reference to the public interface of the ConnectivityManager singleton object.
ConnectivityMgrImpl(void)
Returns the platform-specific implementation of the ConnectivityManager singleton object.
FormatDeviceLayerError(char *buf, uint16_t bufSize, int32_t err)
bool
GetConnectivityChange(bool prevState, bool newState)
ConnectivityChange
Parse24HourTimeStr(const char *timeStr, uint8_t & hour, uint8_t & minute, uint8_t & second)
ParseCompilerDateStr(const char *dateStr, uint16_t & year, uint8_t & month, uint8_t & dayOfMonth)
PlatformMgr(void)
Returns the public interface of the PlatformManager singleton object.
PlatformMgrImpl(void)
Returns the platform-specific implementation of the PlatformManager singleton object.
RegisterDeviceLayerErrorFormatter(void)
void
SoftwareUpdateMgr(void)
Returns a reference to the public interface of the SoftwareUpdateManager singleton object.
SoftwareUpdateMgrImpl(void)
Returns the platform-specific implementation of the SoftwareUpdateManager singleton object.
ThreadStackMgr(void)
Returns the public interface of the ThreadStackManager singleton object.
ThreadStackMgrImpl(void)
Returns the platform-specific implementation of the ThreadStackManager singleton object.
TimeSyncMgr(void)
Returns a reference to the TimeSyncManager singleton object.
TraitMgr(void)
Returns a reference to the TraitManager singleton object.

Classes

nl::Weave::DeviceLayer::ConfigurationManager

Provides access to runtime and build-time configuration information for a Weave device.

nl::Weave::DeviceLayer::ConfigurationManagerImpl

Concrete implementation of the ConfigurationManager singleton object for the ESP32 platform.

nl::Weave::DeviceLayer::ConnectivityManager

Provides control of network connectivity for a Weave device.

nl::Weave::DeviceLayer::ConnectivityManagerImpl

Concrete implementation of the ConnectivityManager singleton object for the ESP32 platform.

nl::Weave::DeviceLayer::PlatformManager

Provides features for initializing and interacting with the Weave network stack on a Weave-enabled device.

nl::Weave::DeviceLayer::PlatformManagerImpl

Concrete implementation of the PlatformManager singleton object for the ESP32 platform.

nl::Weave::DeviceLayer::SoftwareUpdateManager
nl::Weave::DeviceLayer::SoftwareUpdateManagerImpl

Concrete implementation of the SoftwareUpdateManager singleton object for the ESP32 platforms.

nl::Weave::DeviceLayer::ThreadStackManager

Provides features for initializing and interacting with the Thread stack on a Weave-enabled device.

nl::Weave::DeviceLayer::ThreadStackManagerImpl

Concrete implementation of the ThreadStackManager singleton object for nRF52 platforms using the Nordic nRF5 SDK and the OpenThread stack.

nl::Weave::DeviceLayer::TimeSyncManager

Manages time synchronization for Weave Devices.

nl::Weave::DeviceLayer::TraitManager

Manages publication and subscription of Weave Data Management traits for a Weave device.

Structs

nl::Weave::DeviceLayer::WeaveDeviceEvent

Represents a Weave Device Layer event.

nl::Weave::DeviceLayer::WeaveDevicePlatformEvent

Represents platform-specific event information for the ESP32 platform.

Namespaces

nl::Weave::DeviceLayer::DeviceEventType
nl::Weave::DeviceLayer::Internal

Enumerations

ConnectivityChange

 ConnectivityChange

Connectivity Change.

Describes a change in some aspect of connectivity associated with a Weave device.

Typedefs

AsyncWorkFunct

void(* AsyncWorkFunct)(intptr_t arg)

A pointer to a function that performs work asynchronously.

Variables

InetLayer

nl::Inet::InetLayer InetLayer

SystemLayer

nl::Weave::System::Layer SystemLayer

Functions

CharacterizeIPv6Address

const char * CharacterizeIPv6Address(
  const ::nl::Inet::IPAddress & ipAddr
)

CharacterizeIPv6Prefix

const char * CharacterizeIPv6Prefix(
  const Inet::IPPrefix & inPrefix
)

ConfigurationMgr

ConfigurationManager & ConfigurationMgr(
  void
)

Returns a reference to the public interface of the ConfigurationManager singleton object.

Returns the public interface of the ConfigurationManager singleton object.

Weave application should use this to access features of the ConfigurationManager object that are common to all platforms.

Weave applications should use this to access features of the ConfigurationManager object that are common to all platforms.

ConfigurationMgrImpl

ConfigurationManagerImpl & ConfigurationMgrImpl(
  void
)

Returns the platform-specific implementation of the ConfigurationManager singleton object.

Weave applications can use this to gain access to features of the ConfigurationManager that are specific to the selected platform.

Weave applications can use this to gain access to features of the ConfigurationManager that are specific to the ESP32 platform.

ConnectivityMgr

ConnectivityManager & ConnectivityMgr(
  void
)

Returns a reference to the public interface of the ConnectivityManager singleton object.

Returns the public interface of the ConnectivityManager singleton object.

Weave applications should use this to access features of the ConnectivityManager object that are common to all platforms.

ConnectivityMgrImpl

ConnectivityManagerImpl & ConnectivityMgrImpl(
  void
)

Returns the platform-specific implementation of the ConnectivityManager singleton object.

Weave applications can use this to gain access to features of the ConnectivityManager that are specific to the selected platform.

Weave applications can use this to gain access to features of the ConnectivityManager that are specific to the ESP32 platform.

FormatDeviceLayerError

bool FormatDeviceLayerError(
  char *buf,
  uint16_t bufSize,
  int32_t err
)

GetConnectivityChange

ConnectivityChange GetConnectivityChange(
  bool prevState,
  bool newState
)

Parse24HourTimeStr

WEAVE_ERROR Parse24HourTimeStr(
  const char *timeStr,
  uint8_t & hour,
  uint8_t & minute,
  uint8_t & second
)

ParseCompilerDateStr

WEAVE_ERROR ParseCompilerDateStr(
  const char *dateStr,
  uint16_t & year,
  uint8_t & month,
  uint8_t & dayOfMonth
)

PlatformMgr

PlatformManager & PlatformMgr(
  void
)

Returns the public interface of the PlatformManager singleton object.

Weave applications should use this to access features of the PlatformManager object that are common to all platforms.

PlatformMgrImpl

PlatformManagerImpl & PlatformMgrImpl(
  void
)

Returns the platform-specific implementation of the PlatformManager singleton object.

Weave applications can use this to gain access to features of the PlatformManager that are specific to the ESP32 platform.

Weave applications can use this to gain access to features of the PlatformManager that are specific to the selected platform.

RegisterDeviceLayerErrorFormatter

void RegisterDeviceLayerErrorFormatter(
  void
)

SoftwareUpdateMgr

SoftwareUpdateManager & SoftwareUpdateMgr(
  void
)

Returns a reference to the public interface of the SoftwareUpdateManager singleton object.

Internal components should use this to access features of the SoftwareUpdateManager object that are common to all platforms.

Weave application should use this to access features of the SoftwareUpdateManager object that are common to all platforms.

SoftwareUpdateMgrImpl

SoftwareUpdateManagerImpl & SoftwareUpdateMgrImpl(
  void
)

Returns the platform-specific implementation of the SoftwareUpdateManager singleton object.

Internal components can use this to gain access to features of the SoftwareUpdateManager that are specific to the ESP32 platform.

Internal components can use this to gain access to features of the SoftwareUpdateManager that are specific to the nRF5 platform.

Weave applications can use this to gain access to features of the SoftwareUpdateManager that are specific to the selected platform.

ThreadStackMgr

ThreadStackManager & ThreadStackMgr(
  void
)

Returns the public interface of the ThreadStackManager singleton object.

Weave applications should use this to access features of the ThreadStackManager object that are common to all platforms.

ThreadStackMgrImpl

ThreadStackManagerImpl & ThreadStackMgrImpl(
  void
)

Returns the platform-specific implementation of the ThreadStackManager singleton object.

Weave applications can use this to gain access to features of the ThreadStackManager that are specific to nRF52 platforms.

Weave applications can use this to gain access to features of the ThreadStackManager that are specific to the selected platform.

TimeSyncMgr

TimeSyncManager & TimeSyncMgr(
  void
)

Returns a reference to the TimeSyncManager singleton object.

TraitMgr

TraitManager & TraitMgr(
  void
)

Returns a reference to the TraitManager singleton object.