Added UnconfirmedEventNotification demo application to generate Wireshark captures
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
export BACNET_APDU_RETRIES=0
|
||||
export BACNET_APDU_TIMEOUT=0
|
||||
|
||||
# bacucov: pid device-id object-type object-instance time-remaining
|
||||
# property tag value [priority] [index]
|
||||
|
||||
# BACnetDoorStatus
|
||||
for door_status in {0..1023}
|
||||
do
|
||||
./bin/bacucov 1 2 30 4 5 231 9 ${door_status}
|
||||
done
|
||||
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
export BACNET_APDU_RETRIES=0
|
||||
export BACNET_APDU_TIMEOUT=0
|
||||
|
||||
# bacucov: pid device-id object-type object-instance time-remaining
|
||||
# property tag value [priority] [index]
|
||||
|
||||
# BACnetLockStatus
|
||||
for lock_status in {0..4}
|
||||
do
|
||||
./bin/bacucov 1 2 30 4 5 233 9 ${lock_status}
|
||||
done
|
||||
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
export BACNET_APDU_RETRIES=0
|
||||
export BACNET_APDU_TIMEOUT=0
|
||||
|
||||
# BACnetPropertyStates
|
||||
#BACnetNotificationParameters ::= CHOICE {
|
||||
#-- These choices have a one-to-one correspondence with the Event_Type
|
||||
#-- enumeration with the exception of the
|
||||
#-- complex-event-type, which is used for proprietary event types.
|
||||
#change-of-state - [1] SEQUENCE {
|
||||
# new-state [0] BACnetPropertyStates,
|
||||
# status-flags [1] BACnetStatusFlags
|
||||
#},
|
||||
for property_states in {0..63}
|
||||
do
|
||||
./bin/bacuevent 1 15 1 0 1 99 1 16 1 ${property_states} 1 0000 "Tribble!" 1 0 0 0
|
||||
done
|
||||
Reference in New Issue
Block a user