Generate Events
Functions to register BACnet clients for events and generate mock events.
Functions
registerRecipient(device_id, notification_class_object_instance, confirmed)
Register a BACnet client in the recipient list of a Notification Class Instance
Params
- device_id
number
- The device instance ID of the BACnet client to be registered - notification_class_object_instance
number
- The Notification Class object instance number - confirmed
bool
- Indicates whether events sent to this device will be confirmed or unconfirmed
generateEvent(event_type, notification_class_object_instance)
Generate a mock event and report it via the specified Notification Class object instance
Params
- event_type
EventType
- An enum indicating the type of event to generate - notification_class_object_instance
number
- The Notification Class object instance number
Enums
EventType
EventType is a global table, which contains the following BACnet event types: