Trident IoT Z-Wave SDK
 
Loading...
Searching...
No Matches
events.h File Reference
#include <ev_man.h>
+ Include dependency graph for events.h:

Go to the source code of this file.

Typedefs

typedef enum EVENT_APP_SENSOR_PIR EVENT_APP
 

Enumerations

enum  EVENT_APP_SENSOR_PIR {
  EVENT_EMPTY = DEFINE_EVENT_APP_NBR ,
  EVENT_APP_BATTERY_REPORT ,
  EVENT_APP_WINDOW_OPEN ,
  EVENT_APP_WINDOW_CLOSE
}
 

Detailed Description


SPDX-License-Identifier: LicenseRef-TridentMSLA SPDX-FileCopyrightText: 2025 Trident IoT, LLC https://www.tridentiot.com


Definitions of events for Window/Door Sensor demo app.

Typedef Documentation

◆ EVENT_APP

Defines events for the application.

These events are not referred to anywhere else than in the application. Hence, they can be altered to suit the application flow.

The events are located in a separate file to make it possible to include them in other application files. An example could be a peripheral driver that enqueues an event when something specific happens, e.g. on motion detection.

Enumeration Type Documentation

◆ EVENT_APP_SENSOR_PIR

Defines events for the application.

These events are not referred to anywhere else than in the application. Hence, they can be altered to suit the application flow.

The events are located in a separate file to make it possible to include them in other application files. An example could be a peripheral driver that enqueues an event when something specific happens, e.g. on motion detection.

Enumerator
EVENT_EMPTY 

Empty event.

EVENT_APP_BATTERY_REPORT 

Battery report event.

EVENT_APP_WINDOW_OPEN 

Window open event.

EVENT_APP_WINDOW_CLOSE 

Window close event.