1
0
mirror of https://github.com/stargieg/bacnet-stack synced 2025-10-26 23:35:52 +08:00
bacnet-stack/bin/restart-reason.sh

16 lines
368 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]
# 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