Commit Graph

333 Commits

Author SHA1 Message Date
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
skarg bf1c365795 Added a hack for 5.4.5.1 - IDLE, when a ConfirmedBroadcastReceived, then enter IDLE - ignore the PDU. 2013-07-12 22:43:37 +00:00
ekh 14643101c0 Tentative commit by Ed 2013-05-09 04:44:26 +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 2de46521b8 fixed line endings and SVN MIME and eol-style using fixup.sh script. 2013-03-13 22:15:00 +00:00
skarg 11897368d2 converted C++ comments using script 2013-03-13 22:13:28 +00:00
skarg 53ee7a782c fixed WritePropertyMultiple handler for case of a write that fails. Thank you for the fix, Nikola Jelic. 2013-03-13 14:23:39 +00:00
skarg 2167e0df5f Nikola noticed that error reporting for Write-Property-Multiple is different in a sense that WPM sends three more parameters: object_id, property and array index. However, in demo/handlers/h_wpm.c, error reporting is done through bacerror_encode_apdu instead of wpm_error_ack_encode_apdu. Nikola suggests that this should be changed. Thank you, Nikola! 2013-02-28 21:39:49 +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 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 cc5c1f714f Fixed bug reported: Canceling Expired or Non-Existing Subsciptions does not return specified result.[bugs:#21]. Thank you, lo pe! 2013-01-02 17:43:29 +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 4664326d8c using existing stack function to copy address. Fixes warning on PIC compile. 2012-10-04 03:06:49 +00:00
skarg e6b70dd866 removed duplicate comment. 2012-10-01 16:03:32 +00:00
vasyl-tkhir 2f73bcae44 BACnet router added. 2012-09-27 14:36:11 +00:00
skarg d5fd900780 cleaned up compiler warnings 2012-09-23 12:48:41 +00:00
cneilson 4faeff6e86 removed compiler warning 2012-09-21 01:22:09 +00:00
netp 02d3be42cd added cast for compiler warning 2012-08-10 09:55:53 +00:00
netp 8c3a60c935 added cast 2012-08-08 01:24:52 +00:00
skarg 2f21b3e352 refactored send-read-property to allow the request using a BACnet-Address. 2012-08-02 20:25:43 +00:00
skarg 39bfb0c92a Added some debug print to demo COV handler. 2012-05-23 13:28:02 +00:00
skarg 5111b9fb4e Modified code to clean up some compiler warnings. 2012-05-18 23:34:45 +00:00
skarg 48e2c60ce2 indented to standard from script 2012-05-13 15:07:12 +00:00
skarg d1f4e78cba fixed svn EOL and MIME settings. 2012-04-06 23:24:43 +00:00
skarg 4870fb1953 Corrected demo COV handler for indefinite lifetime. 2012-03-13 16:05:45 +00:00
petermcs bae2321abc Fixed off by 1 error when checking length of string in WPValidateString() 2012-01-21 10:30:23 +00:00
skarg bf4cd368b0 Reverted r2140 as this breaks MS/TP and non-BACnet/IP builds. If this functionality is indeed required, then we will need to change the APDU dispatcher to include information with the service so that this can be discerned. 2012-01-09 22:52:59 +00:00
petermcs 954d2b0079 Moved check for wild card Device Id to before call to rpm_ack_encode_apdu_object_begin so that the real Device ID is encoded in the response. 2011-12-31 08:05:29 +00:00
petermcs a5f6477364 Moved check for wild card Device Id to before call to rp_ack_encode_apdu_init so that the real Device ID is encoded in the response. 2011-12-31 07:58:13 +00:00
skarg 26681f7f39 Changed demo COV handler to reduce memory footprint, and to minimize the task cycle time. Also fixed COV clear race condition. 2011-11-23 18:52:53 +00:00
tbrennan3 ff3c0590f2 Extend handler_who_is_unicast() to broadcast I-Am anyway if the Who-Is request was an Original-Broadcast or Forwarded-NPDU. 2011-10-28 14:43:06 +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 416eee50fe Per the BTL test cases for 14.1.7, 14.1.x1, and 14.1.8, the device should respond back with an original-broadcast-npdu for a Forward-NPDU and an Original-Broadcast-NPDU; this makes this so for BACnet/IP.
Minor fixes for build errors and warnings.
2011-10-19 18:48:24 +00:00
skarg 9c1f651458 Moved Device object dependency to the demo handlers. 2011-10-03 22:24:57 +00:00