Added shell scripts to send messages for Wireshark capture validation.
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/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]
|
||||
|
||||
# BACnetEventState
|
||||
# Event_State (36)
|
||||
for event_state in {0..64}
|
||||
do
|
||||
./bin/bacucov 1 2 0 1 5 36 9 ${event_state}
|
||||
done
|
||||
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/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]
|
||||
|
||||
# BACnetEventType
|
||||
# PROP_EVENT_TYPE = 37
|
||||
# OBJECT_EVENT_ENROLLMENT = 9
|
||||
# BACNET_APPLICATION_TAG_ENUMERATED = 9
|
||||
for event_type in {0..64}
|
||||
do
|
||||
./bin/bacucov 1 1 9 1 5 37 9 ${event_type}
|
||||
done
|
||||
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/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]
|
||||
|
||||
# BACnetProgramRequest
|
||||
# PROP_PROGRAM_CHANGE = 90
|
||||
# OBJECT_PROGRAM = 16
|
||||
# BACNET_APPLICATION_TAG_ENUMERATED = 9
|
||||
for program_request in {0..16}
|
||||
do
|
||||
./bin/bacucov 1 2 16 1 5 90 9 ${program_request}
|
||||
done
|
||||
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/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]
|
||||
|
||||
# BACnetProgramState
|
||||
# PROP_PROGRAM_STATE = 92,
|
||||
# OBJECT_PROGRAM = 16
|
||||
# BACNET_APPLICATION_TAG_ENUMERATED = 9
|
||||
for program_state in {0..16}
|
||||
do
|
||||
./bin/bacucov 1 2 16 1 5 92 9 ${program_state}
|
||||
done
|
||||
@@ -2,7 +2,14 @@
|
||||
export BACNET_APDU_RETRIES=0
|
||||
export BACNET_APDU_TIMEOUT=0
|
||||
|
||||
for reliability in {0..63}
|
||||
# bacucov: pid device-id object-type object-instance time-remaining
|
||||
# property tag value [priority] [index]
|
||||
|
||||
# BACnetReliability
|
||||
# PROP_RELIABILITY = 103,
|
||||
# OBJECT_ANALOG_INPUT = 0
|
||||
# BACNET_APPLICATION_TAG_ENUMERATED = 9
|
||||
for reliability in {0..64}
|
||||
do
|
||||
./bin/bacucov 1 2 3 4 5 103 9 ${reliability}
|
||||
./bin/bacucov 1 2 0 1 5 103 9 ${reliability}
|
||||
done
|
||||
|
||||
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/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]
|
||||
|
||||
# BACnetRestartReason
|
||||
# PROP_LAST_RESTART_REASON = 196
|
||||
# OBJECT_DEVICE = 8
|
||||
# BACNET_APPLICATION_TAG_ENUMERATED = 9
|
||||
for reason in {0..64}
|
||||
do
|
||||
./bin/bacucov 1 1 8 1 5 196 9 ${reason}
|
||||
done
|
||||
@@ -103,6 +103,7 @@ static void print_usage(char *filename)
|
||||
{
|
||||
printf("Usage: %s [abort-reason [invoke-id [server]]]\n",
|
||||
filename);
|
||||
printf(" [--dnet][--dadr][--mac]\n");
|
||||
printf(" [--version][--help]\n");
|
||||
}
|
||||
|
||||
|
||||
@@ -104,6 +104,7 @@ static void print_usage(char *filename)
|
||||
{
|
||||
printf("Usage: %s [error-class error-code service-number invoke-id]\n",
|
||||
filename);
|
||||
printf(" [--dnet][--dadr][--mac]\n");
|
||||
printf(" [--version][--help]\n");
|
||||
}
|
||||
|
||||
|
||||
@@ -104,6 +104,7 @@ static void print_usage(char *filename)
|
||||
{
|
||||
printf("Usage: %s [device-instance vendor-id max-apdu segmentation]\n",
|
||||
filename);
|
||||
printf(" [--dnet][--dadr][--mac]\n");
|
||||
printf(" [--version][--help]\n");
|
||||
}
|
||||
|
||||
|
||||
@@ -80,6 +80,7 @@ static void print_usage(char *filename)
|
||||
" [new-state status-flags message notify-type\n"
|
||||
" ack-required from-state to-state]\n",
|
||||
filename);
|
||||
printf(" [--dnet][--dadr][--mac]\n");
|
||||
printf(" [--version][--help]\n");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user