Commit Graph

12 Commits

Author SHA1 Message Date
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 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 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
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 d1a1c1c8a6 Indented. 2008-11-24 12:48:09 +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 fc8c9c687c Added double to BACnet encoding/decoding. untested. 2008-04-09 16:33:46 +00:00
skarg 411d6c1b24 Indented. 2007-11-29 15:56:53 +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