Commit Graph

58 Commits

Author SHA1 Message Date
skarg 1c560c27b9 Refactored the DCC code in APDU for clarity. Added DCC check in demo server to prevend COV when DCC is not enabled. 2010-12-22 03:09:42 +00:00
skarg 2a0bf4926a Performed standard indent script indent.sh on project files. 2010-12-15 19:02:40 +00:00
skarg 8f1e8d82cd Changed Object Table from a global to a local variable and added a Device function to initialize it. 2010-12-13 03:41:55 +00:00
petermcs 072640f887 Added in call to trend_log_timer so Trendlogs are updated and changed stop time on initial setup of logs to the year 2020 instead of 2009 so they would accumulate some more records. 2010-11-26 13:16:55 +00:00
petermcs dbb8997b4d Added routing support for virtual network to more of the handlers and fixed up a couple of typos from the previous changes.
Added ReadRange service handler so that trendlogs can be read.
2010-11-18 21:29:11 +00:00
bacpack 502cbcc2e6 1. In device.c, the Object_Table[] is now extern; it has to be defined by the user application (see demos); only the required BACnet objects have to be included.
2. Objects' .h files define macro to be used to initialize Object_Table[].
2010-11-13 19:57:29 +00:00
tbrennan3 a29bf3fecc Cleanup ugliness and fix build in bactext.c 2010-08-30 13:10:13 +00:00
skarg b769dcbe1d Indented. 2010-08-18 00:11:35 +00:00
skarg 6c9ef7211d Fixed indent script, and indented files. 2010-07-19 23:19:54 +00:00
skarg 0a468dbb5a Added recurring foreign device registration for server demo. 2010-07-02 12:20:51 +00:00
skarg 710cfccfef Indented using indent script. 2010-05-04 21:06:26 +00:00
tbrennan3 8dd671d5a1 Sorry about the missing header; adding it in here.
Some comment tweaks for Doxygen.
2010-04-17 15:39:20 +00:00
tbrennan3 026a489fc5 Answered my own questions, after some thought:
Made the epics pretty-printing generate shorter lines by only decoding 4 bits per line (hurts my byte-centered soul, but does look better).
Moved the big comment section out of demo/server/main.c out to a new header, server.h.
Provided doxygen links to the functions called in the server demo.
2010-03-23 12:32:46 +00:00
tbrennan3 5a99f0662c Commented the demo/server in a new module.
Embedded its PICS in the server documentation (hopefully a good idea).
Added a PrettyPrintPropertyValue() function to the epics program (hopefully OK format).
Added a function apdu_service_supported_to_index() to the apdu code to translate a SERVICE_SUPPORTED_ enum to its SERVICE_CONFIRMED_ or SERVICE_UNCONFIRMED_ index, and used it when PrettyPrinting services.
2010-03-23 04:55:11 +00:00
tbrennan3 a911eea98f The beginning of doxygenation:
As a first step, added an @file description for each file.
2010-02-14 05:41:45 +00:00
skarg f0863c0238 Refactored RP, WP, RPM to reduce coupling with objects for Linux and Win32 ports. 2010-02-10 16:27:31 +00:00
skarg c04e69da8c Fixed EOL, indent. 2009-10-24 17:02:59 +00:00
skarg 6a2f9d7ed1 Fixed some white space inconsistencies. 2009-09-17 15:59:43 +00:00
skarg ae94163a6e Corrected MSO type. Thanks, Peter! 2009-09-03 15:24:17 +00:00
skarg a28760bf56 Added init functions to object header files. Finished refactoring the demo read and write property handlers to use function tables. 2009-08-23 03:26:30 +00:00
skarg 7032168ff5 Ran the fixup, indent, and comment scripts to standardize the source code. 2009-05-24 01:49:21 +00:00
skarg 7916c7a6de Consolodated the datalink environment variable for building demos on Linux and Windows into a single module (dlenv). Adjusted most demo makefiles. 2009-05-22 01:45:38 +00:00
skarg d1a1c1c8a6 Indented. 2008-11-24 12:48:09 +00:00
skarg e6f683a43b Added BUILD=debug to linux/mingw makefiles. 2008-11-20 16:26:39 +00:00
skarg c7a5c05ac7 Moved send I-Am to a send module and out of iam.c. 2008-11-12 15:38:43 +00:00
skarg 0ffbb64c13 Indented with standard indent rules. 2008-08-23 12:38:26 +00:00
skarg 0326112c68 Created MS/TP capture tool that captures from USB->RS485 converter and sends data to SNAP Protocol for Wireshark capture. 2008-08-17 00:35:18 +00:00
skarg 2338f3b3a3 Updated project files, makefiles, and the demo debug info. 2008-06-23 00:17:51 +00:00
skarg cf9d15631a Indented using indent script. Corrected any C++ comments using the comment script. 2008-03-10 21:00:48 +00:00
skarg 584fe58b56 corrected compiler warnings when compiled for MS/TP on Linux. 2008-02-20 22:39:55 +00:00
skarg b72da0bc4a Added BBMD environment setting for demo applications epics, server. 2008-01-27 19:56:05 +00:00
skarg 5bef9a18e2 Modified the WhoIs demo to use BBMD if configured for BACnet/IP. Corrected the BVLC code. 2008-01-22 01:18:12 +00:00
skarg 85d58bd688 Correcting COV subscribe - almost working... 2008-01-14 23:26:20 +00:00
skarg b698ba0cdd Corrected the COV lifetime to be seconds, not milliseconds. 2008-01-14 22:03:15 +00:00
skarg bfc5a52a6f Adding SubscribeCOV to demo/server for testing. 2008-01-14 21:27:22 +00:00
skarg 89432a85c3 Applied standard indentation to files. 2008-01-08 23:13:51 +00:00
skarg 8b99c8c85b Updated output of whois demo. Began implementing the datalink-all concept. 2008-01-01 23:17:28 +00:00
skarg 64e9b54dbd Adding a DOS port to run on x86 single board computer. 2007-12-06 22:31:14 +00:00
skarg 1477603af6 indented. 2007-11-29 16:39:48 +00:00
skarg 411d6c1b24 Indented. 2007-11-29 15:56:53 +00:00
skarg cf3f881f7a Changed BIP debug from define to variable since we are using a lib. Affects Win32 and Linux. 2007-10-25 02:13:02 +00:00
skarg b534a6bf7f Modified the demo/server application to use environment variables for the interface parameters (Thank you tomás!). 2007-09-27 17:18:59 +00:00
skarg 0c527b8162 Cleaned up Borland compile. 2007-09-07 18:00:42 +00:00
skarg 46ab0030c8 Fiddling with the MAX_MDPU and datalink stuff. 2007-09-01 00:42:12 +00:00
skarg 1b9a00e238 Added version files. 2007-08-13 16:42:43 +00:00
skarg f25766c185 Cleaned up device object and server demo for MS/TP properties and compiler warnings. 2007-07-20 00:42:49 +00:00
skarg 5b07b5b920 Integrated ReadPropertyMultiple with the demo/server application. Compiles, but untested. 2007-07-19 00:21:38 +00:00
skarg 3869b55fea Updating Win32 MSTP datalink layer. Testing. 2007-07-03 00:44:48 +00:00
skarg c1be9b7adf Compiled MS/TP for server demo using sockets. Doesn't seem to keep up with token passing. Still investigating. 2007-07-02 16:47:16 +00:00
skarg 63300e86bd MSTP on Linux appears to be function for the server demo, but dlmstp needs to be rewritten to use posix queues or sockets, and multiple threads for the state machines. 2007-07-01 01:23:12 +00:00