Commit Graph

21 Commits

Author SHA1 Message Date
skarg a294e3c691 Merged revision(s) 2900 from branches/releases/bacnet-stack-0-8-0:
Cleanup of unit test exports.
........
2015-10-18 00:30:43 +00:00
skarg 63288d062c Added parser for command line parsing of a BACnet BitString. This is nice if you want to write Event Enable, for example. Expects the ASCII bits as "1011001" or "1,0,1,1,0,0,1" or "1 0 1 1 0 0 1". 2014-06-13 21:25:40 +00:00
skarg 209f9e82a2 Added octetstring_copy_value() function to ease copying octetstring value into a buffer. 2013-02-20 23:51:47 +00:00
skarg 48e2c60ce2 indented to standard from script 2012-05-13 15:07:12 +00:00
skarg 54c4ce342c Exposed utf8_valid as a public function to reduce duplicity. Allow utf-8 string length of 0 to be valid. 2012-05-11 15:03:35 +00:00
skarg f6096f6a4d Unified the licenses on header files since we don't have any inline functions or macros with substantial bodies. Per RMS: "Our view is that just using structure definitions, typedefs, enumeration constants, macros with simple bodies, etc., is NOT enough to make a derivative work. It would take a substantial amount of code (coming from inline functions or macros with substantial bodies) to do that." 2012-04-18 16:15:59 +00:00
skarg 2fe50e3980 indent changes. 2011-11-02 21:45:34 +00:00
skarg 120c2734ee Added ascii-hex conversion in the octet-string library to allow ascii-hex to be parsed correctly from demo applications. 2011-09-17 04:21:32 +00:00
skarg deab12a5e1 Changed WhoHas and I-Have to use CharacterString instead of forcing ANSI X34 and C Strings. Affected all demos and ports object name, so I changed the object name function name to make sure it was noticed. 2011-03-24 16:53:02 +00:00
skarg e850469da8 Added character string helper to test for printable. Added to WP checks. 2010-12-02 19:33:22 +00:00
skarg c04e69da8c Fixed EOL, indent. 2009-10-24 17:02:59 +00:00
minack d088e19ed2 Added bitstring_same function to compare two bit strings. 2009-08-09 23:37:46 +00:00
minack d5b455c742 Move the string type max length definition into the config header so that the user can set them independently of MAX_APDU.
Also, added new define MAX_OCTET_STRING_BYTES.
2009-08-06 07:11:31 +00:00
skarg 35236bea22 Adjusted Device Object type decoding to use uint16_t rather than int. Corrected unit tests. 2008-10-22 02:19:03 +00:00
minack 60ac0d0f8a Added:
-context specific decoders for all of the primitive times to go with the context specific encoders
-unconfirmed/confirmed EventNotificationRequest structure/encoder/decoder
-BACnetTimestamp structure/encoder/decoder
-BACnetPropertyStates structure/encoder/decoder
-BACnetDeviceObjectPropertyReference structure/encoder/decoder

Changes:
-decode_context_object_id::object_type changed to uint16_t
-explicit casts have been added to some functions to remove compiler warnings
-encode_bacnet_date::year behaviour has been changed slightly
2008-10-14 04:02:34 +00:00
skarg 3d3d7e420d Ran the comment and indent tools on the source code. 2008-04-24 01:07:23 +00:00
skarg 944cb46e51 Enhanced the ATmega168 demo project to include WriteProperty service to the Analog Value and Device objects. 2008-03-19 23:17:19 +00:00
skarg e79bd532af Updated atmega project. 2008-01-07 23:01:44 +00:00
skarg 411d6c1b24 Indented. 2007-11-29 15:56:53 +00:00
skarg 4d2f46b395 Added defines for each BACAPP datatype so that the developer could only use the ones they need for their WriteProperty applications. 2007-10-19 17:11:31 +00:00
skarg a2506536ed Moved header files into the include directory. Moved source files into the src directory. Still need to updated the makefiles and projects. 2007-10-10 03:34:37 +00:00