skarg
d1f4e78cba
fixed svn EOL and MIME settings.
2012-04-06 23:24: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
1c42bcfb92
Added function pointers (nulls) for ReadRangeInfo and Iterator for Binary Value objects.
2012-03-19 19:28:21 +00:00
skarg
6b544c0ec4
Changed service error ERROR_CODE_UNSUPPORTED_OBJECT_TYPE to ERROR_CODE_UNKNOWN_OBJECT to since ERROR_CODE_UNSUPPORTED_OBJECT_TYPE seems to only be acceptable to return from CreateObject service.
2012-03-16 20:09:20 +00:00
skarg
d189f72abd
Notification Class had wrong array indexes when assigning priorities. Thank you, Dmitry Korobkov! Bug ID 3495994.
2012-03-07 22:04:01 +00:00
skarg
0478d87d53
Added Append feature required by BACnet spec when File Offset is -1. Thank you Robert Bouwens!
2012-02-21 23:58:35 +00:00
skarg
12d0d9f204
Created Rowley Crossworks AVR project for BDK port to ATmega644p.
2012-01-12 23:09:14 +00:00
skarg
513663727f
Added function prototypes to support COV.
2012-01-06 18:52:22 +00:00
skarg
4841262b03
Added ReadRange into function handling list.
2011-11-02 21:46:21 +00:00
tbrennan3
cbc62dd6c0
Extended the test for supported services for routed devices to the device's PROP_PROTOCOL_SERVICES_SUPPORTED.
...
Support calling of Routed_Device_Service_Approval() with a NULL buffer if just testing for support.
2011-10-27 20:34:45 +00:00
tbrennan3
710ac3d34c
Added checking in with each device (in the BAC_ROUTING case) to see whether it supports RD or DCC.
...
Sends a Reject message if not supported. Added to the respective handlers.
2011-10-21 17:02:11 +00:00
tbrennan3
85e232ce0d
It was necessary to include trivial implementations of the device write functions to avoid pulling in the device.c module from libbacnet.a for the handler_write_property() support, which resulted in hard-to-trace device duplicate function errors.
...
Turned up when I turned on BAC_ROUTING but not before that, due to dependencies introduced by gw_device.c in libbacnet.a.
2011-10-20 15:21:03 +00:00
skarg
dd93e8cf1b
Removed the object-table function macros from each demo object header file since it was very difficult to maintain when new functions are added. Added device-client.c file which is a small device object just for simple clients. Updated most Makefiles of client demo applications to utilize device-client.c file.
...
Added two device object table functions for COV support.
Corrected demo COV handler interaction with TSM, COV flags, and multiple subscriptions for the same object.
2011-10-03 18:54:14 +00:00
k001a
c40b355694
Handling of GetAlarmSummary service.
2011-08-23 21:22:06 +00:00
skarg
e0b5b5b164
Corrected check for Device Name function.
2011-08-23 17:04:01 +00:00
tbrennan3
59831e8eaa
Fixed up Device_Object_Name_Copy().
...
Revised Routed_Device_Name() and Add_Routed_Device() to use BACNET_CHARACTER_STRING.
2011-08-22 19:49:25 +00:00
skarg
8d9b987064
Corrected unit tests for iam, event, ai, and bacdevobjpropref. Removed device from unit test since it needs reworked for unit testing due to object dependencies. Noted that lc object fails test and needs fixed.
2011-08-17 03:47:43 +00:00
skarg
3e1cb1847f
Indented project.
2011-08-17 02:27:11 +00:00
k001a
b3a8eff164
Cosmetic changes.
2011-08-15 10:20:28 +00:00
k001a
08028dd819
Fixed headers when built without Intrinsic Reporting.
2011-08-15 08:16:41 +00:00
k001a
c2282c5aad
Fixed headers when built without Intrinsic Reporting.
2011-08-11 20:21:18 +00:00
petermcs
75d3927d67
Added in reliability to list of optional properties
2011-08-10 05:50:13 +00:00
skarg
da7fffaa9a
Fixed AI header when built without Intrinsic Reporting.
2011-08-10 03:58:25 +00:00
skarg
813f3f0f1b
Ran the fixup script on the file.
2011-07-26 04:25:35 +00:00
k001a
c37aa9ea90
After acknowledgment an alarm is sent AckNotification.
2011-07-23 17:18:25 +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
acbfe10349
Acked_Transitions for Analog-Input and Analog-Value objects.
2011-07-19 20:40:25 +00:00
k001a
2364561f19
Event_Priorities in Get_Event_Information is read form associated notification-class object.
2011-07-13 21:14:52 +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
c61c096dc7
Intrinsic reporting for analog-input objects.
...
Print on output details of WritePropertyMultiple.
2011-07-11 21:29:51 +00:00
k001a
7f291e3041
Cosmetic changes to comments.
...
Print on output every change of Event_State for analog-value objects.
Added write_property_function for analog-input objects.
Created descriptor for analog-input objects.
Possible to write Present_Value for analog-inputs when Out_Of_Service is true.
2011-07-11 19:48:21 +00:00
skarg
ff393a665a
Fixing DOS/Unix/MAC EOL and line endings using fixup.sh script.
2011-07-09 17:25:42 +00:00
skarg
51c6134e15
Converted comments to C style using convert.sh script.
2011-07-09 17:23:41 +00:00
k001a
774ef7a564
Status_Flags for analog-value object changes after Out_Of_Service or Event_State property change.
2011-07-08 20:37:58 +00:00
k001a
90fcf9706d
Ability to compile the project without INTRINSIC_REPORTING.
2011-07-07 20:06:43 +00:00
k001a
ea05c15ce2
Implemented Time_Delay and Event_Time_Stamp for analog-value object.
2011-07-06 20:55:45 +00:00
k001a
19a77ba46e
Created descriptor for analog-value objects,
...
- writable Relinquish_Default and Units
- added properties required for intrinsic reporting.
Intrinsic reporting for analog-value. First commit.
Not everything finished (inter alia Time_Delay, Event_Time_Stamps, ACK_Required doesn't work now).
Initialize all objects in Device_Init function.
Added function to read current time.
Defined enum BACNET_LIMIT_ENABLE.
Started cache address.
2011-07-05 19:44:36 +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
skarg
8da85f6c79
Moved COV object handling into Device object.
...
Fixed COV for multiple subscriptions to same object.
2011-05-25 20:18:56 +00:00
petermcs
f13191309e
Corrected record count when setting up test logs so it is TL_MAX_ENTRIES and not 1000
2011-04-16 12:08:17 +00:00
skarg
7bb2149ea0
Refactored the example BACnet File object and file handler. Corrected bacfile_name compiler error.
2011-04-07 17:21:09 +00:00
petermcs
0b64a70dd9
Fixed declaration of Routed_Device_Set_Object_Name
2011-04-02 09:57:22 +00:00
skarg
7b1f8c7f5e
Updated the example File object to have the same Object_Name API. Moved the File object header file to the demo/object directory with the rest of the demo object header files.
2011-04-01 22:25:26 +00:00
skarg
deab12a5e1
Changed WhoHas and I-Have to use CharacterString instead of forcing ANSI X34 and C Strings. Affected all demos and ports object name, so I changed the object name function name to make sure it was noticed.
2011-03-24 16:53:02 +00:00
skarg
3efa7a2ea9
Moved lso back to its rightful place in include.
2011-03-24 16:48:06 +00:00
skarg
e095715cec
Moved include files for demo objects into demo/object, and updated makefiles to accommodate the move. This allows developers to create and maintain their own objects and the interfaces to them.
2011-03-22 20:53:13 +00:00
petermcs
6407f098ba
We don't need to check for available space in the APDU once we have encoded the last entry in the object list
2011-03-14 11:13:10 +00:00
skarg
2f5d6fbaa1
Updated unit tests for objects and services, and corrected some portability problems. Thanks, Sergei! Didn't fix mstp or load control unit test results.
2010-12-27 00:04:38 +00:00
skarg
1c560c27b9
Refactored the DCC code in APDU for clarity. Added DCC check in demo server to prevend COV when DCC is not enabled.
2010-12-22 03:09:42 +00:00
skarg
350736f6bb
Corrected DeviceCommunicationControl (DCC) for DISABLE_INITIATION state, which now allows I-Am in response to Who-Is. Did not add keep out for other initiated services like COV (to do).
2010-12-18 17:30:58 +00:00