skarg
397ef31d41
Added BACnet Error and Abort demos to send messages for Wireshark capture validation.
2016-05-20 20:43:05 +00:00
skarg
3362eecdff
Added security for BACnet stack, based on the BACnet 2012 standard, clause 24.
...
Implemented the majority of functionalities presented in the standard, but there are several features that this patch currently lacks:
- Set-Master-Key message has a specific order of key adding and decoding which is not covered
- There is no general secure-apdu-handler function
- Checks for the type of keys used for signing/encryption of specific messages is not implemented
- The status of encrypted flag during the calculation of the signature is ambiguous
There is a Linux implementation using the OpenSSL library, with function prototypes broad enough to allow for different implementations.
Thank you, Nikola Jelić!
2016-04-20 17:00:51 +00:00
skarg
94dbe3d429
Added BACnetTimeValue functions. Added demo Schedule object. Integrated new objects with demo server and unit tests. Thank you, Nikola Jelić!
2015-11-24 22:22:17 +00:00
bow2
086840a763
get event information demo
2015-03-23 12:28:46 +00:00
skarg
cab93e9db4
Modified ReadRange demo to be similar to ReadProperty demo. Still needs the print of the data to work correctly, but it mostly works.
2014-10-29 21:26:35 +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
4d79c26a8c
Updated Lighting Output object. Added Channel object. Not complete and not fully tested.
2013-11-11 22:27:55 +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
cbe6439fd2
Removed the BACnet objects from the library Makefile, and added them to the demo/server/Makefile to enable compiling with GCC 2.95.3 under QNX.
2013-07-20 22:30:47 +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
e5dccc0fc0
cleaned up gateway build from Gnu Make by having it build the library again with its own defines, and removed the gateway defines in the various Makefile files.
2013-04-12 23:12:32 +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
f6c6a9cb8b
added property list library to return all required and optional properties of an object. Not finished with all object properties yet, but functional in the EPICs demo. Updated property enumerations and text names based on 135-2010 standard.
2012-04-15 21:00:43 +00:00
skarg
a8280dda95
Added CharacterString Value object example and unit tests, and added to demo/server example application.
...
Added Multi-state Value object example and unit tests, and added to demo/server example application.
Fixed Analog Input object, Analog Output object, Analog Value object, Device object, Multi-state Input object, Multi-state Output object examples to return correct error codes for WriteProperty service (per BACnet 135.1-2009-9.22.2.6).
Fixed top level ReadProperty and WriteProperty handlers in Device object to return correct error codes (per BACnet 135.1-2009-9.22.2.5)
2012-03-22 18:22:42 +00:00
skarg
bebb97b469
Added Added SubscribeCOV demo application (bacscov) for testing.
2011-09-14 20:40:26 +00:00
skarg
9735ca0750
Added UnconfirmedPrivateTransfer demo application.
2011-09-11 13:34:37 +00:00
k001a
c40b355694
Handling of GetAlarmSummary service.
2011-08-23 21:22:06 +00:00
skarg
ef80e662b3
Cleaned up compile on Win32 for MS/TP datalink. Still not reliable yet.
2011-07-26 22:11:20 +00:00
k001a
8199008092
Acknowledge Alarm for Analog-Input and Analog-Value objects.
...
Moved initialization of handlers to GetEventInformations to specific init object.
2011-07-21 20:44:57 +00:00
k001a
536438d23e
Get_Event_Informations returns analog-input and analog-value objects when Event_stane is not equal to NORMAL.
2011-07-13 20:36:21 +00:00
k001a
ccf1335979
Added Notification Class object. I will use it to intrinsic reporting.
...
Notification Class objects can be disabled when define INTRINSIC_REPORTING (bacdef.h) will be removed.
2011-06-17 16:23:47 +00:00
k001a
a16a8f041b
- Added handling to WritePropertyMultiple.
...
- Added encode_tagged_enumerated function.
2011-06-08 21:51:15 +00:00
skarg
e85ab0b49f
Changed RS-485 in linux port to use FIFO instead of Ringbuffer. Added FIFO to library build.
2011-05-10 16:29:49 +00:00
skarg
a39bf392bd
Fixed Makefile for MinGW build. Testing with MinGW 20101030 and MSYS. gcc (GCC) 4.5.0 (MinGW), GNU Make 3.81 (MSYS).
2010-11-30 17:50:24 +00:00
bacpack
47ecaeabaa
To build the Routing demo define BAC_ROUTING in the top Makefile. The value is not important - the symbol has to be defined.
2010-11-25 05:10:01 +00:00
bacpack
6a523e4d23
First attempt to clean-up Makefiles.
...
1. Top (main) makefile defines build configuration variables and export them for sub-makes to use. BAC_ROUTING is defined here - is has been removed from config.h.
2. A new makefile has been added in demo subdirectory. It builds the demo applications. NOTE: the 'ports' target is not build.
2010-11-25 04:17:58 +00:00
tbrennan3
48411b8dbf
Routing functionality complete, and working. (Have not done extensive testing, though.)
...
For building, made it possible to include or exclude the routing functionality with simple changes in the main Makefile and enables in lib/Makefile and include/config.h
The Device object (device.c and .h) was extended to support the virtually routed Devices, with most of the new functions in new file gw_device.c to replace their simpler cousins in device.c.
2010-10-13 15:59:39 +00:00
tbrennan3
9f4b8e5f19
Adding a handler for routed NPDUs (ie, Network Layer Message handling).
...
The work is not complete yet; this is an interim checkin.
2010-09-29 20:52:51 +00:00
tbrennan3
44b7e02721
Tweaked the debug building and printing a little - I hope this works OK for everyone. Let me know if not.
...
Tamped down a few warnings.
For the demo/server Makefile, made an either/or choice between executable size optimization (normal) or gdb debug info and no optimization.
2010-09-27 20:27:29 +00:00
skarg
bc0de6b71f
Cleaning up code by adding prototypes or include files where required.
2010-08-17 13:51:56 +00:00
skarg
d4b39c6b59
Changed CC and AR in demo makefiles to make cross compiling the demo applications easier.
2010-03-01 19:01:40 +00:00
skarg
2a68202503
Updated GNU make Makefile for cross compile by changing CC=gcc to CC:=gcc.
2010-02-27 04:02:27 +00:00
tbrennan3
42c01e92f6
Our cross-compiled builds were failing when they tried to link in the library built with the native linux compiler and archiver; this fixes that without changing the intent.
...
GNU-based make will handle this syntax correctly; if other makes have trouble with it, we'll have to do something different.
2010-02-26 15:43:18 +00:00
tbrennan3
825181c4e8
Added missing file references to fix the build.
2010-02-15 15:32:03 +00:00
tbrennan3
4cc1ce9c62
Added @file description to bacnet.h and lib/main.cpp
...
Fixed a build issue for the linux+MS/TP combination in trendlog.h
Setup library build to define BIP_DEBUG if it is a Debug build and if it is a BIP build.
2010-02-14 05:53:09 +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
skarg
ba795a3d2e
Moved key.c and keylist.c into library for better management. Thanks Piotr!
2010-01-13 18:06:42 +00:00
skarg
46c78db995
Added Alarm and event source files to default library makefile to get better testing and visibility.
2009-11-19 16:03:57 +00:00
skarg
d8b6557641
Added UnconfirmedPrivateTransfer client send function.
2009-10-20 21:48:38 +00:00
skarg
af30d31a6c
Added UnconfirmedPrivateTransfer encoding and demo handler.
2009-10-20 17:26:06 +00:00
skarg
c4e56abcea
Added send for ConfirmedEventNotification.
2009-09-12 18:00:42 +00:00
skarg
7916c7a6de
Consolodated the datalink environment variable for building demos on Linux and Windows into a single module (dlenv). Adjusted most demo makefiles.
2009-05-22 01:45:38 +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
f901d9b595
Added Confirmed Private Transfer module to library.
2009-01-25 22:57:32 +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
7921d2f811
added ReadPropertyMultiple client demo application, bacrpm.
2008-11-23 22:25:08 +00:00
skarg
6072b98f1f
Added UCovNotification handler to demo server application.
2008-11-20 16:27:40 +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
skarg
224d74f417
Moved npdu_handler from npdu.c to demo/handler/h_npdu.c file, since this will change for routers and gateways.
2008-09-07 04:13:58 +00:00
skarg
2e6dc739a6
changed router functions filename.
2008-08-20 13:37:19 +00:00