Commit Graph

47 Commits

Author SHA1 Message Date
skarg d5fd900780 cleaned up compiler warnings 2012-09-23 12:48:41 +00:00
skarg 7578b4ef06 Added check in each example object WriteProperty handler to pass test:
9.22.2.1 Writing Non-Array Properties with an Array Index
Thank you Kamalathas!
2012-07-09 19:49:27 +00:00
skarg 48e2c60ce2 indented to standard from script 2012-05-13 15:07:12 +00:00
skarg 0478d87d53 Added Append feature required by BACnet spec when File Offset is -1. Thank you Robert Bouwens! 2012-02-21 23:58:35 +00:00
skarg 3e1cb1847f Indented project. 2011-08-17 02:27:11 +00:00
skarg 7bb2149ea0 Refactored the example BACnet File object and file handler. Corrected bacfile_name compiler error. 2011-04-07 17:21:09 +00:00
skarg 7b1f8c7f5e Updated the example File object to have the same Object_Name API. Moved the File object header file to the demo/object directory with the rest of the demo object header files. 2011-04-01 22:25:26 +00:00
skarg bc0de6b71f Cleaning up code by adding prototypes or include files where required. 2010-08-17 13:51:56 +00:00
skarg 6c9ef7211d Fixed indent script, and indented files. 2010-07-19 23:19:54 +00:00
petermcs 04e99f3671 Changes to reduce the number of warnings with Visual C++2008 warning level 4 to a minimum. 2010-05-14 14:21:48 +00:00
skarg 710cfccfef Indented using indent script. 2010-05-04 21:06:26 +00:00
skarg e4080f41da Corrected some warnings generated from Borland compile. 2010-02-10 17:43:11 +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
petermcs 634237cf43 Simplified write property code using new validation helper functions in h_wp.c. 2010-02-04 16:22:12 +00:00
petermcs bfa8936bf5 Changed a bunch of debug and information printfs so that they have a better chance of working on systems where int is smaller than 32 bits also fixed the signed/unsigned type of some to match the type of the arguments. 2010-01-26 21:30:38 +00:00
skarg c04e69da8c Fixed EOL, indent. 2009-10-24 17:02:59 +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 1477603af6 indented. 2007-11-29 16:39:48 +00:00
skarg 411d6c1b24 Indented. 2007-11-29 15:56:53 +00:00
skarg 3d6158443c Changed API: encode_tagged is now encode_application since we are encoding an application tag. 2007-10-13 12:26:16 +00:00
skarg 6dc7399605 Since config.h is updated, the demo makefiles needed to be updated with the latest DEFINES. Also changed some of the demo projects built with CodeBlocks. 2007-08-21 23:00:56 +00:00
skarg 30c186d730 Corrected ReadPropertyMultiple handler. Tested using VTS with demo/server running under linux. 2007-07-19 18:27:03 +00:00
skarg 5b07b5b920 Integrated ReadPropertyMultiple with the demo/server application. Compiles, but untested. 2007-07-19 00:21:38 +00:00
skarg 9069c939da Fixing indent oops which removed the contents of all these files. 2007-06-14 05:33:15 +00:00
skarg ea4863ca25 Indented. 2007-06-14 05:14:26 +00:00
skarg befc997533 Reverted change of sprintf %u to %lu since gcc defines uint32_t as unsigned int rather than long unsigned int like the pic. I will just add a note to the readme or demo projects for the PIC. 2007-03-27 13:44:48 +00:00
skarg b68f1a0f8e Changed sprintf from %u or %d to %lu to fix problem in PIC ports. 2007-03-27 11:20:39 +00:00
skarg d119f3cacc Changed the name of the files to temp files. 2007-02-25 23:30:23 +00:00
skarg 15af87a4fd Created handler for AtomicWriteFile service. Added it to the demo/server example. 2007-02-25 23:23:53 +00:00
skarg 71d59fbb8b Standardized the comments and indentation using the comment.sh and indent.sh scripts. 2007-02-02 02:25:15 +00:00
skarg a39c9de535 Fixed the problems from the WriteProperty changes. Compiles cleanly. Needs tested. 2007-01-18 22:03:00 +00:00
skarg f7d549dec6 Cleaned up warnings from Visual C++ 6.0 compile by adding casts. 2006-12-12 15:45:01 +00:00
skarg 5dd8c6da91 Converted to standard indent style. 2006-10-07 14:13:34 +00:00
skarg 337bc5ab4e Corrected the NPDU encoding for the demo handlers. 2006-09-23 22:02:04 +00:00
skarg 6e67d7388d Reverted the WriteProperty value changes. I am not really happy with the solution and it would require a bunch of fixes to the demos. 2006-08-29 20:43:46 +00:00
skarg a30d497669 indented. 2006-08-13 00:57:17 +00:00
skarg 5bb205dc03 Changed the API to pass the NPDU data down through the datalink layer in order to make the dlmstp work since it needs data-expecting-reply information. Of course, this affected all the demos, all the unit tests, and most of the demo handlers. Corrected some TSM leaks in confirmed messages. Refactored the AtomicReadFile and AtomicWriteFile demos by moving the Send_ functions to the demo/handlers directory and using the s_whois common handler. Added some common defines for the BACnet version and revision since several modules were using the info. Hopefully I didn't break too many things. 2006-08-13 00:54:05 +00:00
skarg eb2bb41aca Indented and cleaned up build. Added Multi-state Output to unit test script. 2006-08-05 22:00:27 +00:00
skarg 4600ec83a3 added Analog Value and Binary Value objects to ReadProperty and WriteProperty handlers. Added WriteProperty support for File object. 2006-08-02 11:47:38 +00:00
skarg e6a37a34a8 Added a Binary Input object to the demo objects and updated the demo applications and device object to support the new object. 2006-03-22 03:51:36 +00:00
skarg 4e5f4a68e4 Created demo for TimeSync service and tested it on Win32. 2006-02-21 21:54:37 +00:00
skarg dee63d45bc Changed all the C++ comments to C comments using comment.sh script. 2006-02-19 01:32:09 +00:00
skarg d6a891f0d1 running the indent on the files. 2006-02-18 23:11:25 +00:00
skarg 6d0f6adb90 Fixed Device Address Binding by allowing a zero length APDU to be passed back from the objects, and used -1 as signal for error encoding. 2006-02-09 17:50:48 +00:00
skarg d779f10bcd moved makefiles for demos into demo directory 2006-01-24 15:30:39 +00:00
skarg 427eb31e8d Added demo for BACnet simple server in the demo/server directory.
Added demo for BACnet ReadProperty service.
Added demo for BACnet WriteProperty service.
2006-01-23 13:04:29 +00:00
skarg d7ed1480fe Moved the demo objects into demo/object directory, and updated the makefiles and unit tests to handle the move. 2006-01-10 20:36:30 +00:00