skarg
2417a843d2
updated comment in init.
2009-08-19 20:29:23 +00:00
kingdl802
fae41b3524
Use shifts and masking to place the length in the MSTP header. Add comments for the length and for the CRC16 to make the byte order clear.
2009-08-19 14:17:23 +00:00
minack
a854000370
Clean up comments for bac_str init functions.
2009-08-10 23:02:31 +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
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
db61a1122f
Ran indent script.
2009-07-29 18:06:33 +00:00
skarg
f85519c9e1
Corrected unit test for src/event.c.
2009-07-24 20:49:05 +00:00
skarg
5e62b7627a
Corrected splint warning.
2009-07-24 16:16:54 +00:00
skarg
d9fea88227
Removed the unused state of MSTP_RECEIVE_STATE_HEADER_CRC. Hopefully this doesn't break too many implementations!
2009-07-17 15:41:37 +00:00
skarg
a32af783cb
Moved the MS/TP defines into mstpdef.h file.
2009-07-17 15:15:46 +00:00
minack
88f3aab51d
Code cleanup to get rid of some warnings during compilation.
2009-07-08 22:25:54 +00:00
skarg
8dc12fcd98
Corrected a minor issue in the bacapp.c file on the PC side when printing strings with garbage characters with the 8th bit set. The code passed a signed char to the isprint() function which gets sign extended to an int and then caused an assert in the Microsoft library code (Visual C++ Express 2008). Thank you, Peter!
2009-06-17 23:22:48 +00:00
skarg
7032168ff5
Ran the fixup, indent, and comment scripts to standardize the source code.
2009-05-24 01:49:21 +00:00
minack
8e670ef3f9
Changes:
...
Added codecs/demo handler/demo client for Alarm Ack service.
Updated relevant global header files client.h and handlers.h
Fixed up incorrect return val for lso handler.
2009-05-23 03:16:28 +00:00
skarg
0c4edb33d9
Fixed up file indent, comments, and eol-type.
2009-05-13 03:46:02 +00:00
skarg
83392d0a4d
Corrected SourceForge.net bug ID: 2783175. Changed the way that Time and Date unspecified values were printed in bacapp. Thank you piotrek ( bacpack )!
2009-05-03 11:34:50 +00:00
skarg
b85c4355d0
Indented according to standard indent rules for this project.
2009-04-18 20:50:04 +00:00
skarg
b3fab21603
Changed C++ comments to C comments.
2009-04-18 20:48:48 +00:00
skarg
6656304d37
Fixed up dos eol and svn eol type.
2009-04-18 20:48:08 +00:00
skarg
ebdf8f9e22
Corrected bug introduced when splinting.
2009-04-18 20:46:59 +00:00
skarg
c17962107c
Corrected warnings found by splint.
2009-04-18 17:54:39 +00:00
skarg
9051a80e30
Corrected warnings found in splint review. Cleaned up previous use of datalink in core files.
2009-04-18 15:29:47 +00:00
skarg
4530915459
Moved send_uevent to demo/handler/s_uevent.c. Cleaned up event.c after splint review.
2009-04-18 15:28:35 +00:00
skarg
51845ed4fd
Corrected warnings generated from splint.
2009-04-18 13:48:15 +00:00
skarg
9722e4f7db
Added makefile for event notification unit tests. Cleaned up compile warnings for event notification files.
2009-04-18 13:47:23 +00:00
skarg
b3f87e54f2
Cleaned up headers and copyright text.
2009-04-18 12:31:59 +00:00
skarg
fe3e5e0e18
Added unit test makefile for Life Safety Operation, and cleaned up file for GCC compilation.
2009-04-18 12:30:48 +00:00
skarg
32f08d9386
Fixed test for PrivateTransfer service to be more accurate, and added Octet String to bacapp supplementary functions.
2009-03-27 18:18:53 +00:00
skarg
134bbade5d
Removed extra debug printf in MS/TP module.
2009-02-27 22:36:49 +00:00
skarg
d45d566c94
Corrected context decoding bug in ReadPropertyMultiple client. Corrected ReadPropertyMultiple handling of objects that aren't supported. Added the context to application tags for the Load Control object.
2009-02-21 19:12:31 +00:00
skarg
1f3bce1b56
Changed BACnet enumerations API to use uint32_t rather than int.
2009-01-25 22:56:47 +00:00
skarg
9c8d94206a
Added Confirmed Private Transfer encoding, decoding, and unit testing.
2009-01-25 22:54:36 +00:00
minack
89fc2810f3
Added code to handle Life Safety Operation service.
2009-01-23 00:34:55 +00:00
skarg
e75e88c507
Corrected buffer overflow problem with the npdu decoder found by stress testing the stack. Thank you Cameron!
2008-12-08 20:17:53 +00:00
skarg
980f0145be
Fixed line endings, and set EOL properties.
2008-12-05 21:26:24 +00:00
skarg
fa1d2b4fdc
Moved ucov_notify_send to handler/s_ucov.c file, and refactored PDU encoding.
2008-12-05 20:18:03 +00:00
skarg
290c208634
Removed qualifier to fix compiler warning.
2008-12-05 19:06:47 +00:00
skarg
03d87b10af
added more unit tests.
2008-12-05 18:05:59 +00:00
skarg
12966253d0
Added back address_match with corrections.
2008-11-29 14:36:57 +00:00
skarg
1ad2da7895
Corrected compile errors in PIC port for MS/TP. Untested.
2008-11-28 22:05:46 +00:00
skarg
63f3f77552
Modified the PIC port MS/TP RS-485 handling to use an interrupt safe FIFO library (untested).
2008-11-28 13:37:42 +00:00
skarg
858adac724
Added FIFO library code.
2008-11-27 13:06:29 +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
815d8f8dbb
Fixed handler.
2008-11-20 23:31:54 +00:00
skarg
9a2be11f27
Cleaned up BACnet Double.
2008-11-12 15:40:58 +00:00
skarg
c7a5c05ac7
Moved send I-Am to a send module and out of iam.c.
2008-11-12 15:38:43 +00:00
minack
fb72214f83
Changes: Added missing copyright notices to new files.
2008-10-24 04:42:29 +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