Enumerations

enum EventTypeRanges
Name Value Comments
kRange_Public kFlag_IsPublic

Public Event Range

Denotes a range of event types that are publicly visible to applications. Events in this
range a generic to all platforms.

kRange_PublicPlatformSpecific kFlag_IsPublic | kFlag_IsPlatformSpecific

Public, Platform-specific Event Range

Denotes a range of platform-specific event types that are publicly visible to applications.

kRange_Internal 0

Internal Event Range

Denotes a range of event types that are internal to the Weave Device Layer. Events in this
range a generic to all platforms.

kRange_InternalPlatformSpecific kFlag_IsPlatformSpecific

Internal, Platform-specific Event Range

Denotes a range of platform-specific event types that are internal to the Weave Device Layer.

Event Type Ranges

Defines numeric ranges for event types based on their visibility to the application,

an whether or not they are specific to a particular platform adaptation.

Defined at line 53 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/WeaveDeviceEvent.h

enum PublicEventTypes
Name Value Comments
kWiFiConnectivityChange kRange_Public

WiFi Connectivity Change

Signals a change in connectivity of the device's WiFi station interface.

kThreadConnectivityChange 32769

Thread Connectivity Change

Signals a change in connectivity of the device's Thread interface.

kInternetConnectivityChange 32770

Internet Connectivity Change

Signals a change in the device's ability to communicate via the Internet.

kServiceTunnelStateChange 32771

Service Tunnel State Change

Signals a change in connectivity of the device's IP tunnel to a Weave-enabled service.

kServiceConnectivityChange 32772

Service Connectivity Change

Signals a change in the device's ability to communicate with a Weave-enabled service.

kServiceSubscriptionStateChange 32773

Service Subscription State Change

Signals a change in the device's WDM subscription state with a Weave-enabled service.

kFabricMembershipChange 32774

Fabric Membership Change

Signals a change in the device's membership in a Weave fabric.

kServiceProvisioningChange 32775

Service Provisioning Change

Signals a change to the device's service provisioning state.

kAccountPairingChange 32776

Account Pairing Change

Signals a change to the device's state with respect to being paired to a user account.

kTimeSyncChange 32777

Time Sync Change

Signals a change to the device's real time clock synchronization state.

kSessionEstablished 32778

Security Session Established

Signals that an external entity has established a new security session with the device.

kWoBLEConnectionEstablished 32779

WoBLE Connection Established

Signals that an external entity has established a new WoBLE connection with the device.

kThreadStateChange 32780

Thread State Change

Signals that a state change has occurred in the Thread stack.

kThreadInterfaceStateChange 32781

Thread Interface State Change

Signals that the state of the Thread network interface has changed.

kWoBLEAdvertisingChange 32782

Weave-over-BLE (WoBLE) Advertising Change

Signals that the state of WoBLE advertising has changed.

Public Event Types

Enumerates event types that are visible to the application and common across

all platforms.

Defined at line 97 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/WeaveDeviceEvent.h

enum InternalEventTypes
Name Value
kEventTypeNotSet kRange_Internal
kNoOp 1
kCallWorkFunct 2
kWeaveSystemLayerEvent 3
kWoBLESubscribe 4
kWoBLEUnsubscribe 5
kWoBLEWriteReceived 6
kWoBLEIndicateConfirm 7
kWoBLEConnectionError 8

Internal Event Types

Enumerates event types that are internal to the Weave Device Layer, but common across

all platforms.

Defined at line 211 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/WeaveDeviceEvent.h

Functions

  • bool IsPublic (uint16_t eventType)

    Defined at line 86 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/WeaveDeviceEvent.h

  • bool IsInternal (uint16_t eventType)

    Defined at line 87 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/WeaveDeviceEvent.h

  • bool IsPlatformSpecific (uint16_t eventType)

    Defined at line 88 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/WeaveDeviceEvent.h

  • bool IsPlatformGeneric (uint16_t eventType)

    Defined at line 89 of file ../../third_party/openweave-core/src/adaptations/device-layer/include/Weave/DeviceLayer/WeaveDeviceEvent.h