skarg
e042ae4dea
Removed unused variable in unit test.
2013-03-13 22:23:23 +00:00
skarg
ba3242aafd
indented using indent.sh script to get uniform looking code for release
2013-03-13 22:17:13 +00:00
netp
d72bf470f1
changed loop type match argument
2012-08-08 00:25:42 +00:00
skarg
7514150f7d
cleaned up compiler warnings
2012-07-08 15:26:10 +00:00
skarg
95839d06c7
Added safe characterstring encode.
2012-05-30 18:41: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
3e1cb1847f
Indented project.
2011-08-17 02:27:11 +00:00
k001a
52c745cd06
Removed encode_tagged_enumerated function, because it was identical like encode_application_enumerated (I didn't see this before).
2011-06-14 21:25:32 +00:00
k001a
a16a8f041b
- Added handling to WritePropertyMultiple.
...
- Added encode_tagged_enumerated function.
2011-06-08 21:51:15 +00:00
skarg
2f5d6fbaa1
Updated unit tests for objects and services, and corrected some portability problems. Thanks, Sergei! Didn't fix mstp or load control unit test results.
2010-12-27 00:04:38 +00:00
skarg
e9249b5b5e
Added test for a decoding problem where the stack is unable to decode something, and retrofitted into WriteProperty for each of the demo objects by returning an Error, Out of Range.
2010-10-12 01:17:50 +00:00
skarg
710cfccfef
Indented using indent script.
2010-05-04 21:06:26 +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
f0863c0238
Refactored RP, WP, RPM to reduce coupling with objects for Linux and Win32 ports.
2010-02-10 16:27:31 +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
petermcs
916067ec59
Added skeleton Trend Log object. Currently allows properties to be read and written but has little of the required logic for trending implemented yet.
2009-11-23 08:27:09 +00:00
skarg
b95b01772d
Ran SPLINT (secure programming LINT) and fixed warnings.
2009-11-10 03:41:22 +00:00
skarg
c04e69da8c
Fixed EOL, indent.
2009-10-24 17:02:59 +00:00
skarg
a790c053d2
Added GetEventInformation service, handler, unit test.
2009-10-12 04:44:25 +00:00
petermcs
e8d91faaac
Added encoding and decoding for ReadRange service, associated handlers and test application.
2009-09-25 21:56:49 +00:00
minack
260438935b
Changes to remove restrictions on context tags being less than or equal to 14.
2009-09-03 01:25:28 +00:00
minack
a944510441
Fixed up bug with encode_application_double function.
...
Added new bacapp_decode_application_data_safe function and other *_safe functions that aim to prevent buffer overruns if encoded application message is malformed.
Note: bacstr unit tests currently have one failure.
2009-08-10 00:06:56 +00:00
skarg
b85c4355d0
Indented according to standard indent rules for this project.
2009-04-18 20:50:04 +00:00
skarg
c17962107c
Corrected warnings found by splint.
2009-04-18 17:54:39 +00:00
skarg
51845ed4fd
Corrected warnings generated from splint.
2009-04-18 13:48:15 +00:00
skarg
1f3bce1b56
Changed BACnet enumerations API to use uint32_t rather than int.
2009-01-25 22:56:47 +00:00
skarg
d1a1c1c8a6
Indented.
2008-11-24 12:48:09 +00:00
skarg
7921d2f811
added ReadPropertyMultiple client demo application, bacrpm.
2008-11-23 22:25:08 +00:00
skarg
9a2be11f27
Cleaned up BACnet Double.
2008-11-12 15:40:58 +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
556270a791
Corrected compiler warnings about float and double.
2008-07-17 21:27:22 +00:00
skarg
fc8c9c687c
Added double to BACnet encoding/decoding. untested.
2008-04-09 16:33:46 +00:00
skarg
4698bb219c
Added braces for better coding practice.
2007-11-29 22:52:54 +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
1bc41ab02e
Removed BIG_ENDIAN around the integer encode and decode as it was deemed unnecessary when built for Freescale. Thank you to Martin Labbe!
2007-11-16 02:53:10 +00:00
skarg
194c6d17ac
Slimming down the Atmel AVR port.
2007-10-19 03:21:45 +00:00
skarg
02d02cbf86
Corrected errors in compile.
2007-10-18 12:17:41 +00:00
skarg
a4d9a2eb69
Moved bacdcode.c and bacreal.c back to src, and removed the separate bacdcode directory. Since gcc linker can remove unused functions, this was wasted effort. Added bacreal unit test.
2007-10-18 12:13:46 +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
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
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