skarg
63e4e1ce2d
merge and cleaned up warning
2013-06-11 22:36:16 +00:00
skarg
c1e9558655
Exposed date time internal functions for use by others.
...
Fixed datetime add minutes function for times at beginning and end of day.
2013-06-11 03:09:56 +00:00
skarg
f52fc092e5
Added additional BACnet demo object API (header files) for various properties. Updated demo objects to compile cleanly with the updated API.
2013-05-22 17:42:48 +00:00
skarg
15cb616b4a
Added UCI support for the BACnet demo server. UCI is a replacement for nvram. The source is GPL and has a lua lib.
...
http://wiki.openwrt.org/doc/uci
http://nbd.name/gitweb.cgi?p=uci.git;a=summary
Thank you, Patrick <patrick@lunatiki.de >.
2013-04-15 20:22:24 +00:00
skarg
bc1017ee60
cleaned up warnings and build of unit tests
2013-03-13 22:34:08 +00:00
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
skarg
a0e0b81ca4
Added bounds checking to one of the RP encode to allow for malformed message for negative unit tests.
2013-03-12 03:59:29 +00:00
skarg
7084b9f036
Added Javadoc to fifo module and header file.
2013-02-22 16:19:42 +00:00
skarg
79c37f7d09
Added a note to MS/TP FindNewSuccessor transition after BTL CR: if NS=TS-1, this node could send PFM to self!
2013-02-21 23:10:23 +00:00
skarg
1c5d399a38
Added encode/decode for Time_Synchronization_Recipients.
...
Added Send_TimeSync_Remote() which can use specific destination address.
Added function prototypes for time sync master in the handlers.
2013-02-20 23:54:11 +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
4c4ea6284b
Added a datetime_is_valid() function for checking a valid calendar date.
2013-02-20 23:49:03 +00:00
skarg
ecaa979948
Fixed COV decoding of value list that would cause an unterminated chained result list. Thank you, Andreas, for the fix!
2013-02-18 15:59:15 +00:00
skarg
adb4fe0865
Added get_alarm_summary_ack_decode_apdu_data() and get_alarm_summary_ack_handler(). Thank you, Daniel Blazevic, for the contribution!
2013-01-22 22:54:32 +00:00
skarg
cf882642a8
Changed Ringbuf API: Ringbuf_Pop_Front is now Ringbuf_Pop, and now it copies the buffer into parameter and returns boolean. Original method was not safe since it returned a pointer to the element but freed the buffer element. Changed Ringbuf_Get_Front to Ringbuf_Peek with no change in functionality, to make names more consistent.
...
Updated all the MS/TP datalink layer implementations that use Ringbuf library.
2013-01-08 20:48:34 +00:00
skarg
634ac556df
removed static variables to enable multithreading.
2012-12-15 21:55:40 +00:00
skarg
a12e106643
Updated the objects, services, and properties for the 135-2012 version of the BACnet standard.
2012-12-07 22:00:57 +00:00
skarg
271f2e0b46
Corrected spelling of functions ending in apdu. [note API change for BACnet clients] Thank you, Nikola Jelić!
2012-11-01 14:13:49 +00:00
skarg
eb9bfca4a3
Corrected spelling of functions ending in apdu. [note API change for BACnet clients] Thank you, Nikola Jelić!
2012-11-01 14:09:36 +00:00
skarg
fa12f4bcdf
Added BVLC Read-Broadcast-Distribution-Table demo (doesn't print table yet).
2012-10-24 22:09:43 +00:00
skarg
f8450f40bb
In WAIT_FOR_REPLY state of MS/TP, changed next state of frame type TEST_RESPONSE to be DONE_WITH_TOKEN to match standard. Thank you, Eric Xu!
2012-10-17 22:33:01 +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
c28f55d3df
Added parenthesis to provide clarity and make it obvious to anyone maintaining the code.
2012-09-27 19:26:11 +00:00
skarg
d09657474c
fixed whois demo to be compatible with address_cache ability which parses the text of the whois output.
2012-09-27 19:25:24 +00:00
skarg
5aa78916ae
Fixed Nikola Jelic's name in comments, originally written in Cyrillic script.
2012-09-27 19:24:50 +00:00
vasyl-tkhir
2f73bcae44
BACnet router added.
2012-09-27 14:36:11 +00:00
skarg
7e6c886941
renamed network-access-security-policies to match BACnet 135-2010 standard
2012-09-26 01:16:48 +00:00
skarg
9db24ea90a
Cleaned up compiler warnings.
2012-09-21 12:10:46 +00:00
skarg
6a2d467fc2
DADR is only valid when DNET is specified (i.e. net is non-zero).
2012-09-19 21:27:00 +00:00
skarg
550cfb3fb9
Changed datetime add minutes to allow adding or subtracting minutes. Corrected it to not zero the seconds upon conversion.
2012-08-30 01:42:03 +00:00
netp
609c24b741
changed formatting and comments to remove '//' sequences where possible
2012-08-11 17:44:22 +00:00
netp
834975356e
changed local type for compiler warning
2012-08-10 09:57:45 +00:00
netp
974f651c18
modified address same routine to only use remote address (net & adr) only when present & mac on local addresses only
2012-08-08 01:37:17 +00:00
netp
d72bf470f1
changed loop type match argument
2012-08-08 00:25:42 +00:00
vasyl-tkhir
296c8c5bb0
fixed read past end of array by defining mac[MAX_MAC_LEN] instead of mac[6]
2012-08-07 10:01:27 +00:00
netp
6a8fdcca74
added checks to allow broadcast to network or if mac address is not specified
2012-08-07 03:43:19 +00:00
skarg
f8d5ad0dfe
Added required and optional properties for file object to the property list module.
2012-07-27 18:13:20 +00:00
skarg
d22c3882ed
Added Serial_Number property from Addendum 135-2010ak.
2012-07-27 16:56:23 +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
skarg
f47c1df1b4
converted any C++ comments to C comments using script.
2012-05-13 15:08:17 +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
d0038e6456
Changed infinite DeviceCommunicationControl timeout value back to zero. Bug found by unit test.
2012-05-12 14:42:57 +00:00
skarg
287fce78be
Corrected wildcard time and date parsing. Bug found by unit test.
2012-05-12 14:17:00 +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
bc8d262add
Added scanf bit-width modifiers due to ccpcheck warnings.
2012-04-16 22:00:53 +00:00