skarg
8a7f93fed2
Added more debug info for BBMD6 handling.
2019-09-12 16:25:40 +00:00
skarg
0010acf59b
Fix network port datalink init warnings for IPv6 demo builds
2019-09-12 13:00:10 +00:00
skarg
3f8cdd05f0
Added concurrent Network Port object example for Ethernet, MSTP, BACnet/IP and BACnet/IPv6.
...
Enhanced the IPv6 API and data for Network Port object.
Enhanced network port object unit testing and added to unit test Makefile.
Incremented default protocol-revision from 14 to 19 to enable default testing with Network Port object.
2019-09-11 19:39:27 +00:00
skarg
585b0bae5b
Add common functions for initializing the BACnet Application Value lists. Fixes problems with receiving Unconfirmed COV Notifications with more values to store than the stack has reserved in its value list.
2019-01-31 14:51:46 +00:00
skarg
0d53e59369
Fixed BACNET_REINITIALIZED_STATE enum broken in merge
2018-12-11 02:39:31 +00:00
skarg
77360ad46f
Added example Network Port object
2018-08-30 01:19:31 +00:00
skarg
2bfa49cbe4
Fix extraneous PRINT_ENABLED which caused compiler warning.
2018-04-20 01:30:13 +00:00
skarg
7fc3060dbf
Added environment variables to enhance BBMD behavior in the example server demo.
...
BACNET_BDT_ADDR_1 - dotted IPv4 address of the BBMD table entry 1..128
BACNET_BDT_PORT_1 - UDP port of the BBMD table entry 1..128 (optional)
BACNET_BDT_MASK_1 - dotted IPv4 mask of the BBMD table
entry 1..128 (optional)
Added environment variable to allow setting of the public NAT address.
BACNET_IP_NAT_ADDR - dotted IPv4 address of the public facing router
2018-04-19 20:10:45 +00:00
skarg
7d40c7ce5e
Fixed comment.
2017-11-01 21:34:34 +00:00
skarg
04c94698e5
Added WritePropertyMultiple demo application.
2017-11-01 21:33:48 +00:00
skarg
9b2d696dda
Per 135-2016bl-2 and test BTL 9.20.1.8 Reading OPTIONAL Properties, if no optional properties are supported then an empty 'List of Results' shall be returned for the specified property.
2017-03-20 15:15:30 +00:00
skarg
d416303844
Added function to get the DCC password from demo handler.
2017-01-01 05:08:40 +00:00
skarg
7bf98e590a
Added buffer size to COV handler function parameters.
2017-01-01 05:07:10 +00:00
skarg
befbbcd7ba
Check return value for valid COV encoding.
2016-12-26 23:14:15 +00:00
skarg
c7147f3805
Fixed ports for Atmega8, Atmega168, and Xmega to compile.
2016-10-25 13:42:13 +00:00
skarg
c9d152bf15
Merged revision(s) 3044 from branches/releases/bacnet-stack-0-8-0:
...
Added BACnet/IPv6 datalink layer and example BACnet/IPv4 to BACnet/IPv6 router.
BVLC6 layer is working on Linux port without BBMD features yet. Win32 is implemented, untested.
Tested during BACnet North American Plugfest 2016.
........
2016-10-01 20:23:03 +00:00
skarg
456c0ed42c
Sync some handler fixes and demo object fixes and updates and some comment fixes from branch bacnet-stack-0-8-0.
2016-09-08 15:29:32 +00:00
skarg
bec5836bbd
Changed Device_Objects_Property_List() function to pass the object instance so that objects of the same type can have different optional or proprietary properties.
2016-08-12 21:54:02 +00:00
skarg
03de7f191e
Added TimeSynchronization server example.
2016-07-26 21:27:34 +00:00
skarg
f8bcd58cea
Fixed some warnings detected by CSTAT.
...
Consolidated some unit tests and added a single test prototype to header file.
2016-06-08 21:55:12 +00:00
skarg
397ef31d41
Added BACnet Error and Abort demos to send messages for Wireshark capture validation.
2016-05-20 20:43:05 +00:00
skarg
40f25d8898
added I-Am demo and script to create vendor ID capture for Wireshark validation.
2016-05-16 17:33:50 +00:00
skarg
cc7e9b539d
Fixed Get Event Handler to additionally check its own buffer length.
...
Get event handler checks only if APDU length is less than Max APDU of device that has requested list of events, but it does not check its own Max APDU to see if response is too long to fit in Handler_Transmit_Buffer. Thanks, Daniel Blazevic!
2016-04-20 19:42:41 +00:00
skarg
2a89f5bc42
Added missing header file. Thanks, Daniel Blazevic!
2016-04-18 14:57:01 +00:00
skarg
684f951115
Fixed compile error - missing semicolon. Thanks, Daniel Blazevic!
2016-04-18 14:56:39 +00:00
skarg
4c4ff4de7b
Removed error in case of AtomicReadFile stream data since by then it will always be valid data. Thank you Süleyman Efendi!
2016-04-05 20:40:30 +00:00
skarg
85143200af
Merged revision(s) 2969 from branches/releases/bacnet-stack-0-8-0:
...
Fix Send_TimeSyncUTC() to calculate the right length for datalink_send_pdu(). Added Send_TimeSyncUTC_Remote(). [bugs:#44]
........
2016-03-30 20:46:43 +00:00
ekh
4f0efc6d75
A couple of bugfixes and Microsoft cleanups by Ed
2016-03-15 07:49:22 +00:00
skarg
0697065030
Fixed some warnings flagged by IAR C-STAT static analysis tool.
2016-01-07 21:31:38 +00:00
skarg
b4a3fc7543
Updated some comments, and removed extra printf from environment.
2015-12-17 22:50:53 +00:00
skarg
97966c9310
When putting together a confirmed COV Notification, the flag "data_expecting_reply" in npdu_data was not set to true for confirmedCOVnotifications. So in the dlmstp.c state machine, it would send the confirmedCOVNotification, but not wait for a reply. Instead it would send the Token right away. Thank you, Ettore Colicchio!
2015-12-09 16:54:18 +00:00
skarg
9368d8eab5
Added check for dcc_communication_enabled in WPM example. Thank you, Daniel Blazevic!
2015-11-24 18:51:22 +00:00
skarg
49c52d5407
Removed the Who-Is wildcard since it is not permitted per BACnet standard. Thank you Michael and Carl!
2015-10-16 19:29:03 +00:00
skarg
c3eddc2f1c
Cleaned up compile warnings
2015-06-29 15:16:03 +00:00
bow2
086840a763
get event information demo
2015-03-23 12:28:46 +00:00
skarg
9631b65fc5
Fixed I-Am-Router-To-Network handling in cases of a malformed packet. The packet seen in the field was a I-Am-Router-To-Network but there was an extra "Data" byte of 0x55 at the end. Thank you, Ettore.
2015-03-20 19:47:57 +00:00
petermcs
ce68dc5147
Silenced type conversion warning
2015-02-16 10:45:39 +00:00
skarg
f7724eea6a
Fixed Send_TimeSyncUTC().
...
Fixes bug https://sourceforge.net/p/bacnet/bugs/28/
Added functions in s_ts.c that reference Device object Local_Time, UTC_Offset, and Daylight_Savings_Time properties.
Implements feature request https://sourceforge.net/p/bacnet/bugs/27/
2014-01-19 19:55:20 +00:00
skarg
563665dfe7
Merged revision(s) 2705 from branches/obvius/bacnet-stack:
...
Initialize APDU retries from environment $BACNET_APDU_RETRIES just
as we initialize APDU timeout.
........
2014-01-16 14:13:54 +00:00
skarg
bfa26b769f
New code for alarms and events: new functions get_alarm_summary_encode_apdu, Send_Get_Alarm_Summary_Address, Send_Get_Alarm_Summary, Send_Get_Event_Information_Address, Send_Get_Event_Information, get_event_ack_handler. Thank you Daniel Blazevic!
2014-01-14 19:49:39 +00:00
skarg
9fb6b9107a
Fixed various compiler warnings. Thank you, Morten Kvistgaard!
2013-12-09 20:31:47 +00:00
skarg
d03e35ebda
refactored the private-transfer printing
2013-12-09 19:19:19 +00:00
skarg
5f3ec51291
Now checking standard error define from who-is decoding.
2013-10-31 20:14:37 +00:00
skarg
55599cafaa
Added apdu length checking in who-is decode. Now returning standard error define.
2013-10-31 15:50:35 +00:00
skarg
56b65e9694
indented using indent.sh script.
2013-10-29 01:55:49 +00:00
skarg
02007f5f3c
Modified COV handler to use separate pool of destination addresses, so the pool can be smaller (less unique clients subscribing) and the subscriptions can be larger, using much less memory.
2013-10-11 14:51:35 +00:00
skarg
670af1c84d
Added a check in COV Subscribe handling to also ensure that an existing subscription matches the SRC address. Without the check, funny things happen when there are subscribers with different addresses for the same object and process ID (there are lost subscriptions). Thank you, Nikola Jelic!
2013-10-11 14:08:23 +00:00
skarg
7361bb4650
1. Added new file s_wpm.c (Send_Write_Property_Multiple_Request_Data)
...
2. Changed file wpm.h (new struct added BACNET_WRITE_ACCESS_DATA, declaration for wpm_encode_apdu added)
3. Changed file wpm.c (definition added for wpm_encode_apdu)
4. client.h file updated with declaration for Send_Write_Property_Multiple_Request_Data
Thank you for the contribution, Daniel Blazevic!
2013-10-09 21:49:15 +00:00
skarg
e05af7f624
Cleaned up warnings from File Record enhancements.
2013-08-29 18:32:31 +00:00
skarg
8866f38dd9
Added record access to the AtomicReadFile and AtomicWriteFile data, services, and demos. Thank you, Nikola Jelić!
2013-08-19 16:05:08 +00:00