EventDistributor#
Modules#
zaf_event_distributor_cc_event_handler_map_v1_t
Enumerations#
Defines return values from EventDistributorConfigure.
Typedefs#
Redefine latest version to a common define called latest.
Defines return values from EventDistributorConfigure.
Defines callback pointer for Event handler.
EventDistributor object.
Functions#
Initializes the ZAF Event Distributor component.
Gets the events distributor.
Distributes events.
Used by the application to handle protocol received events.
Used by the application to handle protocol command status.
Used by the application to handle state changes in the NCP state machine.
Used by the application to handle serial data received.
Used by the application to handle serial timeout.
Used by the application to handle application/system received events.
Used by application to verify if it is a primary controller.
Enqueues an event in the application queue.
Enqueues an event in the application queue.
Enqueues an event in the command class event queue.
Enqueues an event in the command class event queue.
Configures the EventDistributor.
Waits for Task notification and calls event handlers matching the set notification bits.
Macros#
Section name.
Registers a custom event handler for a specific command class.
Enumeration Documentation#
EEventDistributorStatus#
EEventDistributorStatus
Defines return values from EventDistributorConfigure.
Enumerator | |
---|---|
EEVENTDISTRIBUTOR_STATUS_SUCCESS | |
EEVENTDISTRIBUTOR_STATUS_TABLE_TOO_LARGE |
59
of file /mnt/raid/workspaces/ws.WDdsgIAV6/overlay/gsdk/protocol/z-wave/Components/EventDistributor/EventDistributor.h
Typedef Documentation#
zaf_event_distributor_cc_event_handler_handler_v1_t#
typedef void(* zaf_event_distributor_cc_event_handler_handler_v1_t) (const uint8_t, const void *) )(const uint8_t, const void *)
20
of file /mnt/raid/workspaces/ws.WDdsgIAV6/overlay/gsdk/protocol/z-wave/ZAF/ApplicationUtilities/EventHandling/zaf_event_distributor_soc.h
zaf_event_distributor_cc_event_handler_map_latest_t#
typedef zaf_event_distributor_cc_event_handler_map_v1_t zaf_event_distributor_cc_event_handler_map_latest_t
Redefine latest version to a common define called latest.
40
of file /mnt/raid/workspaces/ws.WDdsgIAV6/overlay/gsdk/protocol/z-wave/ZAF/ApplicationUtilities/EventHandling/zaf_event_distributor_soc.h
EEventDistributorStatus#
typedef enum EEventDistributorStatus EEventDistributorStatus
Defines return values from EventDistributorConfigure.
63
of file /mnt/raid/workspaces/ws.WDdsgIAV6/overlay/gsdk/protocol/z-wave/Components/EventDistributor/EventDistributor.h
EventDistributorEventHandler#
typedef void(* EventDistributorEventHandler) (void) )(void)
Defines callback pointer for Event handler.
Typedef to simplify syntax.
70
of file /mnt/raid/workspaces/ws.WDdsgIAV6/overlay/gsdk/protocol/z-wave/Components/EventDistributor/EventDistributor.h
SEventDistributor#
typedef struct SEventDistributor SEventDistributor
EventDistributor object.
All content is private.
83
of file /mnt/raid/workspaces/ws.WDdsgIAV6/overlay/gsdk/protocol/z-wave/Components/EventDistributor/EventDistributor.h
Function Documentation#
zaf_event_distributor_init#
void zaf_event_distributor_init (void )
Initializes the ZAF Event Distributor component.
N/A |
This function invokes EventDistributorConfig().
26
of file /mnt/raid/workspaces/ws.WDdsgIAV6/overlay/gsdk/protocol/z-wave/ZAF/ApplicationUtilities/EventHandling/zaf_event_distributor.h
zaf_event_distributor_get#
const SEventDistributor * zaf_event_distributor_get (void )
Gets the events distributor.
N/A |
Each variation (NCP,SOC) must implement it's own event distributor table
Returns
const SEventDistributor
35
of file /mnt/raid/workspaces/ws.WDdsgIAV6/overlay/gsdk/protocol/z-wave/ZAF/ApplicationUtilities/EventHandling/zaf_event_distributor.h
zaf_event_distributor_distribute#
bool zaf_event_distributor_distribute (void )
Distributes events.
N/A |
Wraps EventDistributorDistribute().
Returns
true In case of success
false In case of error
45
of file /mnt/raid/workspaces/ws.WDdsgIAV6/overlay/gsdk/protocol/z-wave/ZAF/ApplicationUtilities/EventHandling/zaf_event_distributor.h