Added UnconfirmedEventNotification demo application to generate Wireshark captures

This commit is contained in:
skarg
2016-05-19 02:18:41 +00:00
parent 9704d9edb8
commit b47afd500d
9 changed files with 481 additions and 0 deletions
+12
View File
@@ -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
+12
View File
@@ -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
+17
View File
@@ -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