Commit Graph

50 Commits

Author SHA1 Message Date
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
skarg 4748432666 Added IAm APDU encoding and decoding along with unit tests. 2005-03-09 22:42:29 +00:00
skarg 24f55901df Changed prototype to use unsigned as spec'd in the BACnet standard. Updated unit tests. 2005-01-27 22:08:41 +00:00
skarg 9ab18525b2 Corrected the decode_is_context_specific function to return a boolean value. 2005-01-27 19:37:03 +00:00
skarg 2cf5a544de corrected bacnet date encoding. 2004-12-01 19:44:12 +00:00
skarg fcf2f3e0b6 Added new functions for handling opening/closing tags. Corrected encode of unsigned. 2004-11-23 12:59:01 +00:00
skarg 1e9ad1d231 changed encode API to make it clearer. 2004-11-19 15:38:57 +00:00
skarg b26f693bea Fixed the unit tests and functions that were tested 2004-11-18 18:58:03 +00:00
skarg d91a728f82 adding unit test 2004-11-18 12:04:47 +00:00
skarg 022f2998e1 merged two functions to avoid confusion 2004-11-17 23:46:35 +00:00
skarg 4230cb48a2 corrected decoding of tag number. Added function to check for opening tag and closing tag. Added more unit testing. 2004-11-17 21:15:34 +00:00
skarg 77455f2512 removed unnecessary line of code used for debugging. 2004-11-17 16:23:23 +00:00
skarg f7fa9d525c corrected the tag decoding, and the string encoding. 2004-11-17 16:22:29 +00:00
skarg 0fb6ba8871 writing unit tests 2004-11-16 22:21:02 +00:00
skarg 12acdc5dca created 2004-11-16 19:46:29 +00:00
skarg 2655dc817e created 2004-11-16 19:40:28 +00:00