1
0
mirror of https://github.com/stargieg/bacnet-stack synced 2025-10-19 23:25:23 +08:00
bacnet-stack/bin/program-state.sh

16 lines
377 B
Bash
Executable File

#!/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