Commit Graph

65 Commits

Author SHA1 Message Date
skarg 71d59fbb8b Standardized the comments and indentation using the comment.sh and indent.sh scripts. 2007-02-02 02:25:15 +00:00
skarg f48e6997ac adding BACnet application and context-specfic data parsing for WriteProperty. 2007-01-18 19:32:31 +00:00
skarg 73b9c3eb24 corrected boolean context encoding. Added real context encoding. 2006-10-24 03:24:15 +00:00
skarg 5dd8c6da91 Converted to standard indent style. 2006-10-07 14:13:34 +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 3d0abf778a indented 2006-08-29 10:48:04 +00:00
skarg 8fe9858d66 Added encoding for context tagged date. Added bounds checks for context tagged data. 2006-08-17 09:01:57 +00:00
skarg a30d497669 indented. 2006-08-13 00:57:17 +00:00
skarg f80623d8c5 Changed is_big_endian() call to a macro defined as BIG_ENDIAN. Now you must define this for your platform. 2006-08-10 19:57:15 +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 1af8898556 Changed the bacnet time and date encode/decode to use the structure for each as defined in bacdef. 2006-02-21 19:15:21 +00:00
skarg b10217b7bc fixing code that caused a compiler warning. 2006-02-20 21:15:38 +00:00
skarg 50f5627f53 fixing compiler warning for signed values. 2006-02-20 21:14:18 +00:00
skarg d8de24f171 Fixed code to make unit test pass for bacapp module. 2006-02-20 21:10:49 +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 b1d46ffa8c ran the indent program on the source files to make them consistent. 2006-02-18 22:34:36 +00:00
skarg a550441f4e Fixed unit tests under Linux after DCC changes. 2006-02-13 22:14:03 +00:00
skarg adb2ef1b5a Added encoding function for context tagged character strings. 2006-02-03 15:38:08 +00:00
skarg 5eac898bfb fixed gcc compiler warnings during unit tests. 2006-01-25 19:48:13 +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 cabdeab081 Fixed up most warnings after bacdcode changes to unsigned and signed decoding.
Fixed up the Visual C++ demo in ports/win32/bacnet/
2006-01-16 15:00:22 +00:00
skarg 3be3fdaeef Fixed the BACnet signed integer encoding and decoding, and refactored the unsigned encoding and decoding. Added additional unit tests. 2006-01-14 23:43:37 +00:00
skarg a7aeb6d7a2 Added cast to get rid of compile warning. 2006-01-06 13:20:32 +00:00
skarg 2dd16e5be2 corrected unit tests for character set encodings. 2006-01-05 19:54:52 +00:00
skarg 137f36a977 Modified the character strings encoding to intialize character strings with NULLs at the end. Changed device object demo to use ANSI X34 only. Fixed bug in WriteProperty for Device Object Name. 2006-01-05 18:40:11 +00:00
skarg 105528e7b1 Corrected analog output and analog input bit strings for status flags
which were not getting initialized.  Refactored the bit strings and
moved functionality from bacdcode into bacstr.
2006-01-05 01:29:32 +00:00
skarg d82c2c382d Corrected CharacterString encoding, and added unit test for character string in
BACapp.c.
2006-01-04 20:33:49 +00:00
skarg 1cc71f8d14 changed the modules to use the new BACNet string types.
Modified the device object to handle having the string properties changed via WriteProperty service.
Updated the unit tests.
Updated the demo objects.
2005-12-23 17:39:36 +00:00
skarg 4670b0c90c Moved bitstring handling to its own module - bacstr.c 2005-12-17 21:45:34 +00:00
skarg b7321923af Cleaned up compiler warnings and errors for Win32 build. 2005-12-07 15:15:27 +00:00
skarg 3ca33605fe cleaned up some warnings. 2005-10-17 20:54:17 +00:00
skarg 2624538022 modified for AtomicReadFile handling. 2005-06-12 01:01:30 +00:00
skarg 6078373f12 corrected code and added unit testing for Atomic Write File. Fixed the encode of octet strings, and added unit testing. 2005-06-04 22:31:37 +00:00
skarg 72f5386147 added octet string encoding/decoding. 2005-06-02 11:22:56 +00:00
skarg ae6157c781 changed a magic constant to a common define. 2005-05-23 01:57:50 +00:00
skarg b59def4ff9 minor consistency update 2005-05-15 21:11:28 +00:00
skarg 7f4f1a731b adding analog output object 2005-05-14 15:36:51 +00:00
skarg 4a98496478 cleaned up compiler warnings 2005-05-04 20:56:27 +00:00
skarg bda993e810 added write property support 2005-04-30 12:29:07 +00:00
skarg b84eb22278 modified while adding analog input object 2005-04-22 23:21:58 +00:00
skarg dfbc130dad fixed comment. 2005-04-17 01:35:16 +00:00
skarg 57e3025421 added proper bitstring encoding 2005-04-15 17:43:02 +00:00
skarg a58d07406a Corrected the encoding and decoding of the bit string. 2005-04-15 15:30:21 +00:00
skarg 347c5b4607 working on bitstring 2005-04-15 13:36:32 +00:00
skarg 095de9d4d1 added bitstring 2005-04-14 21:10:40 +00:00
skarg fe5b2f86e7 Modified to compile correctly using MicroChip C18 compiler (mcc18), although I had to turn on all optimizations to fit it into the 18F252 32k code space (88% full). 2005-04-13 20:52:18 +00:00
skarg dd5e94641d added a type conversion for object type 2005-03-31 19:47:25 +00:00
skarg e96a9f7aa1 Moved the max seg and max apdu encode from npdu. Created decode and unit tests. 2005-03-17 19:16:08 +00:00
skarg ceaae8ca5e refactored the encode and decode of unsigned16 and unsigned32. 2005-03-16 16:17:35 +00:00
skarg 1190ff8380 Adding code to support NPDU. 2005-03-14 00:04:57 +00:00