Enumerations

enum EventTypeRanges
Name Value
kRange_Public kFlag_IsPublic
kRange_PublicPlatformSpecific kFlag_IsPublic | kFlag_IsPlatformSpecific
kRange_Internal 0
kRange_InternalPlatformSpecific kFlag_IsPlatformSpecific

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
kWiFiConnectivityChange kRange_Public
kThreadConnectivityChange 32769
kInternetConnectivityChange 32770
kServiceTunnelStateChange 32771
kServiceConnectivityChange 32772
kServiceSubscriptionStateChange 32773
kFabricMembershipChange 32774
kServiceProvisioningChange 32775
kAccountPairingChange 32776
kTimeSyncChange 32777
kSessionEstablished 32778
kWoBLEConnectionEstablished 32779
kThreadStateChange 32780
kThreadInterfaceStateChange 32781
kWoBLEAdvertisingChange 32782

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