Commit Graph

689 Commits

Author SHA1 Message Date
skarg dc209f7ffb Enhanced the statistics and usage reporting of mstpcap utility. Now counts each frame type emitted by a node, calculates Npoll, checks for tokens sent to self, and still all the existing timing statistics. 2011-07-22 22:34:23 +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
skarg 52e0d00f4f Moved the exit until after the Ack or Error has returned for AtomicReadFile and AtomicWriteFile demo client applications. Thank you, Sergei! 2011-07-20 15:47:13 +00:00
k001a acbfe10349 Acked_Transitions for Analog-Input and Analog-Value objects. 2011-07-19 20:40:25 +00:00
k001a e5496d3d11 GetEventInformations returns messages whose maximum length does not exceed max_resp.
More_Events for GetEventInformations works fine.
2011-07-18 20:00:53 +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
skarg ad27b84949 Changed Hop Count default to 255. BTL NPDU tests expect Hop Count to start at 255. Added ability of Hop Count default to be overridden in Makefile or project file if you need to make it smaller in your implementation. 2011-07-07 16:43:43 +00:00
k001a ea05c15ce2 Implemented Time_Delay and Event_Time_Stamp for analog-value object. 2011-07-06 20:55:45 +00:00
skarg 32096fe226 Added step-by-step to mstpcap for handling 76800 baud on FTDI chip devices. 2011-07-05 19:59:46 +00:00
skarg 17def5b2ac Fixed compiler warning for timer size. 2011-07-05 19:58:42 +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
k001a ad22144fab Missing file h_wpm.c. 2011-06-08 21:53:35 +00:00
k001a a16a8f041b - Added handling to WritePropertyMultiple.
- Added encode_tagged_enumerated function.
2011-06-08 21:51:15 +00:00
skarg 6a14f8f93a Corrected compile warning. 2011-06-04 18:51:14 +00:00
skarg 92586d6c5f Removed unused header file includes. 2011-05-25 21:34:58 +00:00
skarg 05ddcf93c5 Corrected device function list NULL functions. 2011-05-25 21:34:19 +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
skarg 297bba14fa Removed unnecessary header file includes. 2011-05-25 20:17:08 +00:00
skarg d07e319b5c Corrected MS/TP cap statistics. Fixed build for Linux. 2011-05-25 00:45:46 +00:00
skarg d8416ce927 Updated error codes based on BACnet Add-135-2008h. 2011-04-29 13:16:08 +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 6cfdde92d7 Updated readme file for mstpcap utility with new scan feature and additional statistics. 2011-04-13 20:17:50 +00:00
skarg 061dc251a5 Added ability in mstpcap utility to parse an MS/TP capture file and produce statistics using the --scan filename option.
Added PFM to statistics printout.
Added --version to command line options.
2011-04-12 20:48:40 +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 f5234050ea Added bactext.h to includes 2011-04-02 09:59:04 +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
petermcs e48aab8ebb When reporting abort for apdu exceeding the maximum the requester can accomodate we need to set the error code up as read property processing may have overwritten the default by then. 2011-03-14 11:11:09 +00:00
skarg 2371f4ea53 Added ifdef to allow outside configuration of MAX COV SUBSCRIPTIONS. 2011-03-12 12:08:46 +00:00
skarg 59823dde09 Corrected Abort or Reject code that is generated during ReadPropertyMultiple (seen during reading Object_List). 2011-02-24 18:07:38 +00:00
skarg 624de45fc8 Cleaned up compiler warnings when compiled with Win32 MS/TP datalink. 2011-01-14 15:23:03 +00:00
skarg 2f9d601178 Removed BACnet/IP explicit calls in demo epics (with ifdef) to allow to compile for MS/TP or Ethernet. Thank you, 55792882! 2011-01-14 15:22:16 +00:00
skarg 46cdade038 Corrected error response service type. Thank you, Martin! 2011-01-12 19:51:52 +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 aa045effaa Corrected RPM Handler for max APDU size. 2010-12-23 05:59:09 +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
skarg 2a0bf4926a Performed standard indent script indent.sh on project files. 2010-12-15 19:02:40 +00:00