skarg
07bf4eba3b
Deprecated Ringbuf_Alloc, and replaced with Ringbuf_Data_Peek() and Ringbuf_Data_Put() functions. Ringbuf_Alloc() was not interrupt or thread safe.
2015-09-09 14:54:02 +00:00
skarg
458d563aaf
Improved AtomicReadFile and AtomicWriteFile error detection. Eliminated redundancy in the octetstring_init function.
2015-09-01 22:24:34 +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
ba3242aafd
indented using indent.sh script to get uniform looking code for release
2013-03-13 22:17:13 +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
31833ed6f7
Added zero padding when doing an ANSI string copy, similar to string initialization.
2012-09-27 19:54:56 +00:00
skarg
9db24ea90a
Cleaned up compiler warnings.
2012-09-21 12:10:46 +00:00
skarg
48e2c60ce2
indented to standard from script
2012-05-13 15:07:12 +00:00
skarg
173e9fb9a9
Corrected PrivateTransfer unit tests.
...
Fixed hex-ascii conversion for zero length string. Fixed Octet-string unit test in BACnet application. Bug found by unit test.
2012-05-13 15:02:40 +00:00
skarg
c0f2af65e0
Corrected octet string decoding in BACapp module for string length of zero. Added zeroes at the end of an octet string when initialized. Bug found by ptransfer unit test.
2012-05-12 15:39:16 +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
petermcs
2e51778790
Add facility to adjust the services and and other features supported via config.h. This is to reduce code size in embedded builds where the compiler does not do a great job in removing functions that are never called. This is particularly useful for simple server only applications where decoding of response packets and encoding of requests are not required for example.
...
Also added possibility for RMP of encoding large items in-line in the response packet so that the object RP handlers know how much space they really have without the need for a full APDU buffer being maintained.
2012-04-30 10:14:18 +00:00
skarg
ed4a72ed0a
Fixed print-enabled define checking.
2011-10-03 22:05:39 +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
61f0a0211d
Splinted files and corrected splint errors.
2011-08-17 03:59:31 +00:00
skarg
3e1cb1847f
Indented project.
2011-08-17 02:27:11 +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
2a0bf4926a
Performed standard indent script indent.sh on project files.
2010-12-15 19:02:40 +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
710cfccfef
Indented using indent script.
2010-05-04 21:06:26 +00:00
skarg
85eaaa14b4
Cleaned up some comments.
2010-02-16 03:32:45 +00:00
tbrennan3
cc20f225b9
The beginning of doxygenation:
...
As a first step, added an @file description for each file.
2010-02-14 05:29:43 +00:00
skarg
b95b01772d
Ran SPLINT (secure programming LINT) and fixed warnings.
2009-11-10 03:41:22 +00:00
skarg
3626b302c8
corrected to pass unit testing
2009-10-24 18:13:59 +00:00
skarg
c04e69da8c
Fixed EOL, indent.
2009-10-24 17:02:59 +00:00
petermcs
8d80d25322
Added sample Confirmed Private Transfer implementation files and demo for same.
2009-09-04 11:25:47 +00:00
minack
a854000370
Clean up comments for bac_str init functions.
2009-08-10 23:02:31 +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
d1a1c1c8a6
Indented.
2008-11-24 12:48:09 +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
1477603af6
indented.
2007-11-29 16:39:48 +00:00
skarg
411d6c1b24
Indented.
2007-11-29 15:56:53 +00:00
skarg
375f88b7bc
Updated parameter names to be Keil compiler friendly.
2007-10-21 15:31:07 +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
625ff40d71
Moved bacstr.c back to src. Since gcc and others tool linkers can remove unused functions, this turned out to be a wasted effort.
2007-10-18 11:50:14 +00:00
skarg
eb8f959c73
Moved bacdcode files into src subdirectory in preperation for breakout of functions for a lean library.
2007-10-13 22:39:11 +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