Feature/create object initial value backup (#1223)
* Added example Device object and property value backup using create-object list-of-initial-values and writable properties. Initiated using ReinitializeDevice with STARTBACKUP command. Added backup and restore required properties to the Device object. * Fixed fwrite parameters in bacfile_posix_write_stream_data to return the correct number of bytes written. * Added Device Management-Backup and Restore-B (DM-BR-B) conversion to Wireshark PCAP format command line utility in apps/dmbrcap which decodes and provides a view of the binary backup file.
This commit is contained in:
+6
-1
@@ -237,6 +237,7 @@ endif
|
||||
BACNET_DEFINES += -DPRINT_ENABLED=1
|
||||
BACNET_DEFINES += -DBACAPP_ALL
|
||||
BACNET_DEFINES += -DBACNET_TIME_MASTER
|
||||
BACNET_DEFINES += -DBACNET_BACKUP_RESTORE
|
||||
BACNET_DEFINES += -DBACNET_PROPERTY_LISTS=1
|
||||
BACNET_DEFINES += -DBACNET_PROTOCOL_REVISION=28
|
||||
|
||||
@@ -266,7 +267,7 @@ SUBDIRS = lib readprop writeprop readfile writefile reinit server dcc \
|
||||
whohas whois iam ucov scov timesync epics readpropm readrange \
|
||||
writepropm uptransfer getevent uevent abort error event ack-alarm \
|
||||
server-client add-list-element remove-list-element create-object \
|
||||
who-am-i you-are apdu writegroup \
|
||||
who-am-i you-are apdu writegroup dmbrcap \
|
||||
delete-object server-discover server-basic server-mini
|
||||
|
||||
ifneq (,$(filter $(BACDL),bip all))
|
||||
@@ -401,6 +402,10 @@ whatisnetnum: $(BACNET_LIB_TARGET)
|
||||
netnumis: $(BACNET_LIB_TARGET)
|
||||
$(MAKE) -B -C $@
|
||||
|
||||
.PHONY: dmbrcap
|
||||
dmbrcap:
|
||||
$(MAKE) -B -C $@
|
||||
|
||||
.PHONY: mstpcap
|
||||
mstpcap:
|
||||
$(MAKE) -B -C $@
|
||||
|
||||
Reference in New Issue
Block a user