nl::Weave::DeviceLayer::WeaveDeviceEvent

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

表示 Weave 设备层事件。

摘要

公共属性

@431
union nl::Weave::DeviceLayer::WeaveDeviceEvent::@430
AccountPairingChange
struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@442
AddressChanged
bool
Arg
intptr_t
Argument
uintptr_t
AuthMode
::nl::Weave::WeaveAuthMode
CallWorkFunct
struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@433
ChildNodesChanged
bool
ConId
Data
EncType
uint8_t
FabricMembershipChange
struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@440
Flags
uint32_t
IPv4
ConnectivityChange
IPv6
ConnectivityChange
InternetConnectivityChange
struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@436
IsCommissioner
bool
IsMemberOfFabric
bool
IsPairedToAccount
bool
IsRestricted
bool
IsServiceProvisioned
bool
IsTimeSynchronized
bool
NetDataChanged
bool
OpenThread
struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@450::@455
Overall
struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@438::@452
PeerNodeId
uint64_t
Platform
Reason
Result
ConnectivityChange
Result
ActivityChange
RoleChanged
bool
ServiceConfigUpdated
bool
ServiceConnectivityChange
struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@438
ServiceProvisioningChange
struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@441
ServiceSubscriptionStateChange
struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@439
ServiceTunnelStateChange
struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@437
SessionEstablished
struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@444
SessionKeyId
uint16_t
Target
ThreadConnectivityChange
struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@435
ThreadStateChange
struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@450
TimeSyncChange
struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@443
Type
uint16_t
Type
::nl::Weave::System::EventType
ViaThread
struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@438::@454
ViaTunnel
struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@438::@453
WeaveSystemLayerEvent
struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@432
WiFiConnectivityChange
struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@434
WoBLEAdvertisingChange
struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@451
WoBLEConnectionError
struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@449
WoBLEIndicateConfirm
struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@448
WoBLESubscribe
struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@445
WoBLEUnsubscribe
struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@446
WoBLEWriteReceived
struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@447
WorkFunct
AsyncWorkFunct

公共函数

Clear()
void
IsInternal() const
bool
IsPlatformGeneric() const
bool
IsPlatformSpecific() const
bool
IsPublic() const
bool

公共属性

@431

union nl::Weave::DeviceLayer::WeaveDeviceEvent::@430 nl::Weave::DeviceLayer::WeaveDeviceEvent::@431

帐号配对更改

struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@442 nl::Weave::DeviceLayer::WeaveDeviceEvent::AccountPairingChange

地址已更改

bool nl::Weave::DeviceLayer::WeaveDeviceEvent::AddressChanged

参数

intptr_t nl::Weave::DeviceLayer::WeaveDeviceEvent::Arg

参数

uintptr_t nl::Weave::DeviceLayer::WeaveDeviceEvent::Argument

身份验证模式

::nl::Weave::WeaveAuthMode nl::Weave::DeviceLayer::WeaveDeviceEvent::AuthMode

调用工作函数

struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@433 nl::Weave::DeviceLayer::WeaveDeviceEvent::CallWorkFunct

已更改子节点

bool nl::Weave::DeviceLayer::WeaveDeviceEvent::ChildNodesChanged

产品 ID

BLE_CONNECTION_OBJECT nl::Weave::DeviceLayer::WeaveDeviceEvent::ConId

数据

PacketBuffer * nl::Weave::DeviceLayer::WeaveDeviceEvent::Data

EncType 类

uint8_t nl::Weave::DeviceLayer::WeaveDeviceEvent::EncType

FabricMembershipChange

struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@440 nl::Weave::DeviceLayer::WeaveDeviceEvent::FabricMembershipChange

标志

uint32_t nl::Weave::DeviceLayer::WeaveDeviceEvent::Flags

IPv4

ConnectivityChange nl::Weave::DeviceLayer::WeaveDeviceEvent::IPv4

IPv6

ConnectivityChange nl::Weave::DeviceLayer::WeaveDeviceEvent::IPv6

互联网连接变化

struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@436 nl::Weave::DeviceLayer::WeaveDeviceEvent::InternetConnectivityChange

佣金制

bool nl::Weave::DeviceLayer::WeaveDeviceEvent::IsCommissioner

会员制

bool nl::Weave::DeviceLayer::WeaveDeviceEvent::IsMemberOfFabric

已配对的帐号

bool nl::Weave::DeviceLayer::WeaveDeviceEvent::IsPairedToAccount

受限

bool nl::Weave::DeviceLayer::WeaveDeviceEvent::IsRestricted

已预配服务

bool nl::Weave::DeviceLayer::WeaveDeviceEvent::IsServiceProvisioned

已同步时间

bool nl::Weave::DeviceLayer::WeaveDeviceEvent::IsTimeSynchronized

网络数据已更改

bool nl::Weave::DeviceLayer::WeaveDeviceEvent::NetDataChanged

OpenThread

struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@450::@455 nl::Weave::DeviceLayer::WeaveDeviceEvent::OpenThread

总体

struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@438::@452 nl::Weave::DeviceLayer::WeaveDeviceEvent::Overall

对等节点 ID

uint64_t nl::Weave::DeviceLayer::WeaveDeviceEvent::PeerNodeId

平台

WeaveDevicePlatformEvent nl::Weave::DeviceLayer::WeaveDeviceEvent::Platform

原因

WEAVE_ERROR nl::Weave::DeviceLayer::WeaveDeviceEvent::Reason

结果

ConnectivityChange nl::Weave::DeviceLayer::WeaveDeviceEvent::Result

结果

ActivityChange nl::Weave::DeviceLayer::WeaveDeviceEvent::Result

角色已更改

bool nl::Weave::DeviceLayer::WeaveDeviceEvent::RoleChanged

已更新 ServiceConfig

bool nl::Weave::DeviceLayer::WeaveDeviceEvent::ServiceConfigUpdated

ServiceConnectivityChange

struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@438 nl::Weave::DeviceLayer::WeaveDeviceEvent::ServiceConnectivityChange

服务配置变更

struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@441 nl::Weave::DeviceLayer::WeaveDeviceEvent::ServiceProvisioningChange

ServiceSubscriptionStateChange

struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@439 nl::Weave::DeviceLayer::WeaveDeviceEvent::ServiceSubscriptionStateChange

ServiceTunnelStateChange

struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@437 nl::Weave::DeviceLayer::WeaveDeviceEvent::ServiceTunnelStateChange

会话已建立

struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@444 nl::Weave::DeviceLayer::WeaveDeviceEvent::SessionEstablished

会话密钥 ID

uint16_t nl::Weave::DeviceLayer::WeaveDeviceEvent::SessionKeyId

目标

::nl::Weave::System::Object * nl::Weave::DeviceLayer::WeaveDeviceEvent::Target

ThreadConnectivityChange

struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@435 nl::Weave::DeviceLayer::WeaveDeviceEvent::ThreadConnectivityChange

线程状态更改

struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@450 nl::Weave::DeviceLayer::WeaveDeviceEvent::ThreadStateChange

时间同步更改

struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@443 nl::Weave::DeviceLayer::WeaveDeviceEvent::TimeSyncChange

类型

uint16_t nl::Weave::DeviceLayer::WeaveDeviceEvent::Type

类型

::nl::Weave::System::EventType nl::Weave::DeviceLayer::WeaveDeviceEvent::Type

线程

struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@438::@454 nl::Weave::DeviceLayer::WeaveDeviceEvent::ViaThread

隧道

struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@438::@453 nl::Weave::DeviceLayer::WeaveDeviceEvent::ViaTunnel

WeaveSystemLayerEvent 类中的方法

struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@432 nl::Weave::DeviceLayer::WeaveDeviceEvent::WeaveSystemLayerEvent

Wi-Fi 连接变更

struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@434 nl::Weave::DeviceLayer::WeaveDeviceEvent::WiFiConnectivityChange

WoBLEAdvertisingChange

struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@451 nl::Weave::DeviceLayer::WeaveDeviceEvent::WoBLEAdvertisingChange

WoBLEConnectionError

struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@449 nl::Weave::DeviceLayer::WeaveDeviceEvent::WoBLEConnectionError

确认确认

struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@448 nl::Weave::DeviceLayer::WeaveDeviceEvent::WoBLEIndicateConfirm

WoBLE 订阅

struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@445 nl::Weave::DeviceLayer::WeaveDeviceEvent::WoBLESubscribe

WoBLEUnsubscribe

struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@446 nl::Weave::DeviceLayer::WeaveDeviceEvent::WoBLEUnsubscribe

WoBLEWriteReceived

struct nl::Weave::DeviceLayer::WeaveDeviceEvent::@430::@447 nl::Weave::DeviceLayer::WeaveDeviceEvent::WoBLEWriteReceived

WorkFunct

AsyncWorkFunct nl::Weave::DeviceLayer::WeaveDeviceEvent::WorkFunct

公共函数

清除

void nl::Weave::DeviceLayer::WeaveDeviceEvent::Clear()

内部

bool nl::Weave::DeviceLayer::WeaveDeviceEvent::IsInternal() const 

IsPlatformGeneric

bool nl::Weave::DeviceLayer::WeaveDeviceEvent::IsPlatformGeneric() const 

特定平台

bool nl::Weave::DeviceLayer::WeaveDeviceEvent::IsPlatformSpecific() const 

公开

bool nl::Weave::DeviceLayer::WeaveDeviceEvent::IsPublic() const