Keep track of cluster-related events and their sleep control values. The cluster code will not know at runtime all of the events that it has access to in the event table. This structure is stored by the application framework in an event context table, which along with helper functions allows the cluster code to schedule and deactivate its associated events.

Public Attribute Documentation#

endpoint#

uint8_t EmberAfEventContext::endpoint

The endpoint of the associated cluster event.


Definition at line 824 of file app/framework/include/af-types.h

clusterId#

EmberAfClusterId EmberAfEventContext::clusterId

The cluster ID of the associated cluster event.


Definition at line 828 of file app/framework/include/af-types.h

isClient#

bool EmberAfEventContext::isClient

The server/client identity of the associated cluster event.


Definition at line 832 of file app/framework/include/af-types.h

pollControl#

EmberAfEventPollControl EmberAfEventContext::pollControl

A poll control value used to control the network polling behavior while the event is active.


Definition at line 837 of file app/framework/include/af-types.h

sleepControl#

EmberAfEventSleepControl EmberAfEventContext::sleepControl

A sleep control value used to control the processor's sleep behavior while the event is active.


Definition at line 842 of file app/framework/include/af-types.h

eventControl#

EmberEventControl* EmberAfEventContext::eventControl

A pointer to the event control value, which is stored in the event table and is used to actually schedule the event.


Definition at line 847 of file app/framework/include/af-types.h