skarg
44b30140b4
fixed Binary Input values by adding internal pullup to pin.
2014-06-04 03:16:34 +00:00
skarg
3f18b83a9d
fixed compiler error about property list function.
2014-06-04 03:15:40 +00:00
skarg
0116bcbfe7
Added -d option to Epics demo to only display Device properties.
2014-05-14 22:21:29 +00:00
skarg
ef91dbb6ea
Added Command object to the server demo. Thank you, Nikola Jelic.
2014-03-05 17:02:38 +00:00
skarg
1a6debfbf4
Added help text to mstpcrc demo.
2014-02-26 19:10:23 +00:00
skarg
9553660732
Merged revision(s) 2731 from branches/releases/bacnet-stack-0-8-0:
...
fixed BDK MAC to Device ID initialization
........
Merged revision(s) 2732 from branches/releases/bacnet-stack-0-8-0:
made function local
........
2014-01-31 14:31:59 +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
717aaa9dfa
Moved the handler_cov_task() outside of 1-sec task to run every cycle since handler_cov_task() was modified to only to a single state/subscription per call (previously it did all subscriptions per call). This matches the non-gateway demo code.
2014-01-17 04:33:43 +00:00
skarg
3835dc8998
Merged revision(s) 2707 from branches/obvius/bacnet-stack:
...
Fix: As a BBMD, when forwarding NPDU to the local subnet (as an IP broacast)
we omit BVLC header, resulting in corrupt packet.
bvlc_send_mpdu(&dest, &npdu[4 + 6], npdu_len); // bad
bvlc_send_mpdu(&dest, &npdu[0], npdu_len+4+6); // good
Also added some debug_prints. To test, start bacserv, use VTS to add
yourself to the BDT, then send a Who-Is to bacserv as a Forwarded-NPDU.
Will be rebroadcast on local subnet but w/o BVLC header.
........
2014-01-17 04:29:20 +00:00
skarg
1738701f81
Merged revision(s) 2706 from branches/obvius/bacnet-stack:
...
Fix: BVLC-Delete-Foreign-Device always returns NAK.
uninitialized 'port' var. Use sin.sin_port instead.
........
2014-01-16 20:01:18 +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
c3326b324c
Cleaned up some warnings found when compiling with Visual Studio Express 2010.
2014-01-14 20:03:00 +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
92559791ba
updated linux rs485 functional test to compile and run
2013-12-23 19:36:32 +00:00
skarg
1a94b076e5
added EOL and igrore files for working within mercurial.
2013-12-19 23:17:33 +00:00
skarg
ac710ccd27
added missing make file for unit test
2013-12-10 16:09:06 +00:00
skarg
9fb6b9107a
Fixed various compiler warnings. Thank you, Morten Kvistgaard!
2013-12-09 20:31:47 +00:00
skarg
7f58784576
updated makefiles for unit tests to include prolist.c and lighting.c recently added modules
2013-12-09 20:06:20 +00:00
skarg
85aed6b123
Fixed compile error exposed by unit test. Thanks, Morten!
2013-12-09 19:30:19 +00:00
skarg
d03e35ebda
refactored the private-transfer printing
2013-12-09 19:19:19 +00:00
skarg
31b8373520
corrected invalid frame handling for mstpcap scan feature
2013-12-02 16:24:24 +00:00
skarg
b8267024d7
fixed compile warning with a cast
2013-11-19 04:49:44 +00:00
skarg
8c20db621e
updated server demo PICS, but still needs proofed.
2013-11-18 13:33:50 +00:00
skarg
85bd51dca7
added some comments and max values
2013-11-18 02:11:43 +00:00
skarg
94cf94b09d
added text printing for property-list property. Added property-list property to analog-input object.
2013-11-16 21:49:06 +00:00
skarg
cedaa5a944
added Lighing Output object to property lists
2013-11-16 00:14:55 +00:00
skarg
2f0bf7744a
Added property-list property to Lighting Output and Channel objects (untested). Fixed some compiler warnings.
2013-11-15 20:51:38 +00:00
skarg
80a4cca173
adding functionality to lighting output object - unfinished
2013-11-15 14:53:41 +00:00
skarg
b363f9dedb
Added unit test for lighting command encoding and decoding.
2013-11-14 20:21:46 +00:00
skarg
5dd7159139
Converted EPICS CRLF to only LF since stdout defaults to text mode and automatically converts LF to appropriate sequence on each platform.
2013-11-14 18:54:14 +00:00
skarg
9f154694f0
Added functions for manipulating the channel object list of members.
2013-11-12 20:56:25 +00:00
skarg
867131b91d
Added encoding for channel object list of members for reading.
2013-11-12 16:14:40 +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
5f3ec51291
Now checking standard error define from who-is decoding.
2013-10-31 20:14:37 +00:00
skarg
b3b3b8eca6
While trying to compile mstpsnap, Joe got a compile time failure. Adding fifo.c to the mstpsnap.mak file seems to have resolved GCC's complaint, and mstpsnap seems to be functioning. Thanks, Joe!
2013-10-31 16:24:05 +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
1b9d85e7e7
Added some optional channel properties to the proplist module.
2013-10-30 22:17:05 +00:00
skarg
9c83f74c45
modified indent bat file to work correctly.
2013-10-29 15:08:01 +00:00
skarg
9b5c46966a
ran comment.sh script on files to clean up cpp comments.
2013-10-29 01:59:22 +00:00
skarg
c5ffb69f59
fixed up EOL on files and mime types.
2013-10-29 01:56:50 +00:00
skarg
56b65e9694
indented using indent.sh script.
2013-10-29 01:55:49 +00:00
skarg
e3da7d7fed
modified indent bat file to work correctly.
2013-10-28 22:24:54 +00:00
skarg
51da546e28
added some extended application tags, including one for Lighting Command
2013-10-28 21:18:08 +00:00
skarg
a43ef066b7
Removed unused device.h includes in src files. Thanks, Miguel!
2013-10-28 20:55:58 +00:00
skarg
1210ca620e
Fixed timeout function call. Thanks, Daniel!
2013-10-22 19:24:06 +00:00
skarg
ec1ffa8598
Added TSM timeout callback function.
2013-10-16 17:41:10 +00:00
skarg
c9daf98061
fixed some whitespace.
2013-10-11 21:54:38 +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