Menu

#3 BACnet command line interface

open
None
5
2012-09-20
2004-12-09
Steve Karg
No

Create a simple command line type of tool for embedding
in shell scripts and the like. They would be able to do
simple things like:

bacnet-rp <device instance=""> <object> <instance>

<property> [index]

bacnet-arf <device instance=""> <filename or="" instance="">

<local file="" name="">

bacnet-awf <device instance=""> <local file="" name="">

<filename or="" instance="">

bacnet-wp <device instance=""> <object> <instance>

<property> [index] <value>

bacnet-map [wait duration seconds]

bacnet-ts [time/date]

bacnet-reinit <device instance=""> <password> [warm/cold]

bacnet-epics <device instance="">

Where rp=read-property, arf=atomic-read-file,
awf=atomic-write-file, wp=write-property, map does a
Who-Is and returns a list of devices that replied with
I-Am, ts=time-sync, etc.

The parsing should be able to handle strings or
numbers. The return values (stdio) should be suitable
for a BACnet EPICS file or for shell scripting and the
like.

The architecture question is whether to have it running
all the time (daemon) or to launch each time it is
invoked. The latter is probably simpler, although
slower and more resource intensive.

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.