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
skarg
0d5c57b149
Moved the DCC of the COV handler into the handler.
2011-10-03 21:49:10 +00:00
skarg
2b0fac263c
Added Added more explicit error checking on WritePropertyMultiple decoding (untested).
2011-10-03 19:18:27 +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
tbrennan3
7eb2109dc4
Added the ability to ask for the BVLC Function Code in the lower layers; particular need was to recognize bcasts and not respond with Reject-Message-to-Network.
2011-09-30 20:00:48 +00:00
skarg
bebb97b469
Added Added SubscribeCOV demo application (bacscov) for testing.
2011-09-14 20:40:26 +00:00
skarg
50f0fe2866
Corrected Bugs item #3409624 . Removed extra parenthesis.
2011-09-14 20:06:50 +00:00
tbrennan3
ce7e651156
Provided a feedback path, so we can find out if our foreign device registration has been NAK'd.
2011-09-12 21:21:39 +00:00
tbrennan3
46d7daf405
Arranged the BBMD functions so that BBMD_ENABLE shrouds all the code used just by implementations which serve as a BBMD device.
...
Left the few for registering as a foreign device in the common code body (no #ifdef around them), and moved them to one area toward the end of the file. (Seemed like too few to justify having their own source code file.) Allow foreign device registration function without requiring BBMD_ENABLE.
2011-09-12 11:54:42 +00:00
tbrennan3
696b215c53
Added a check to (try to) prevent nuisance Reject-Message-to-Network messages when we receive a broadcast to an unreachable-to-us DNET.
2011-08-26 15:28:15 +00:00
tbrennan3
a2a0434ef9
Forgot the header update for BBMD getter and setters.
...
Revised gateway demo to use the new device_init(NULL) way.
Eliminated triplicate I-Am responses and deprecated the offending routed_ I-Am and I-Have senders (don't see any other usages; scheduled for deletion in 2/2012).
Fixed I-Am sender to not always zero out dest->net, because if a src->net was given in Who-Is, need to have it or else global bcast in the I-Am response.
2011-08-25 21:20:14 +00:00
tbrennan3
3c3d0b2e4c
Renamed getter and setters for better namespace use.
2011-08-25 02:55:25 +00:00
skarg
bd7011fda1
Adjusted ifdef for MS/TP datalink layer build.
2011-08-24 12:26:16 +00:00
skarg
273cc883f8
Added and corrected debugging messages.
2011-08-24 12:24:54 +00:00
k001a
c40b355694
Handling of GetAlarmSummary service.
2011-08-23 21:22:06 +00:00
skarg
45915f2d22
Fixed IAR compiler warnings.
2011-08-23 20:29:15 +00:00
skarg
f19f2c29d9
Converted all the BACnet-array-index variables from int32 to uint32 as they were intended.
2011-08-23 20:11:42 +00:00
tbrennan3
1e3b14802f
Fixed rpm_ack_decode_service_request() to handle empty structures without returning an error.
...
Added BBMD getters and setters, and revised registration functions to return something approximating a goodness value.
2011-08-22 19:52:36 +00:00
skarg
3e1cb1847f
Indented project.
2011-08-17 02:27:11 +00:00
k001a
5f952312a8
'Last Received Object Identifier' for GetEventInformation service.
2011-08-11 19:17:27 +00:00