skarg
6cb014ee64
Changed the Linux BACnet/IP init to use NetMask.
...
The function was modified to calculate the broadcast address from IP and netmask instead of using SIOCGIFBRDADDR. In some cases it is possible that the ioctl is successful, but the returned address is 0 (e.g. search for Bcast: 0.0.0.0). For some reason in Linux the local loopback device answers from 0.0.0.0 address. So messages broadcast to that address are received from 127.0.0.1 which can possibly create a broadcast loop. This has nothing to do with NAT, but makes the stack more robust. Thank you, Sami Pietikäinen, for the contribution!
2015-02-24 21:55:31 +00:00
skarg
1814ae1d89
Fixed MSTP data expecting reply compare, as this port uses raw buffer. Thank you Will.
2015-02-03 22:39:08 +00:00
skarg
3865a13993
Fixed the at91sam7s makefile to include new files and functions to build with latest library.
2015-01-30 20:58:16 +00:00
skarg
dd271af2ed
Fix volatile variable access in at91sam7s port example.
2015-01-30 20:54:48 +00:00
skarg
c2533b6ead
Fix excessive ReplyPostponed frames in PIC MS/TP port.
2015-01-30 20:39:02 +00:00
skarg
781da0b53b
Fixed MSTP dropped packets on Linux by fixing usage of ptheads condition variable. Turns out that condition variables cannot be used on their own. They need to be paired with a shared state such as a flag variable protected by a mutex.
2014-11-15 22:03:17 +00:00
skarg
aa124bc091
updated mstpsnap utility
2014-11-15 17:27:27 +00:00
skarg
3be7029f40
Some MS/TP fixes to the AT91SAM7S port (untested).
2014-11-12 18:11:20 +00:00
skarg
5e476c3ffc
Improved test in BDK port.
2014-11-11 16:50:17 +00:00
skarg
66f52e438f
added some more debug to RS485 on Linux
2014-11-02 05:29:42 +00:00
skarg
3fca74bcfb
When MAC address length is zero, assume it is a broadcast. Updated the MS/TP to understand this.
2014-11-02 05:27:14 +00:00
skarg
133b166d0c
added alternate info on pin remap for STM32 MS/TP port
2014-09-01 00:08:42 +00:00
skarg
12e7896701
added BACAPP_MINIMAL to PIC project
2014-06-15 00:26:14 +00:00
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
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
92559791ba
updated linux rs485 functional test to compile and run
2013-12-23 19:36:32 +00:00
skarg
9fb6b9107a
Fixed various compiler warnings. Thank you, Morten Kvistgaard!
2013-12-09 20:31:47 +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
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
35a8ef1ba2
Modified MS/TP capture utility to emit the list of available COM ports on Windows when no command line argument is given.
2013-10-07 17:35:44 +00:00
skarg
ef7f419a25
Cleaned up some compiler warnings.
2013-09-23 18:48:50 +00:00
ekh
2d766528af
I am about to add Microsoft 'MFC forms' and 'w32 console' compiles in the future. This is a first, non-breaking step in that direction.
2013-08-16 08:16:28 +00:00
skarg
ec3c715034
minor build fixes
2013-07-27 14:39:41 +00:00
skarg
94a935ff66
updated comment.
2013-07-20 22:31:05 +00:00
skarg
5f3cba01fe
removed old example file since demo applications supersede it.
2013-07-12 16:42:20 +00:00
skarg
54d0c0af2d
Added project and solution files for Atmel Studio 6.1 for the BACnet development kit port to Atmega AVR.
2013-07-11 22:37:52 +00:00
skarg
24ef4ada2d
fixed function where common prototype was added
2013-07-06 23:19:50 +00:00
skarg
13d58298ea
Updated a PIC port project which needed changes to API for some BACnet objects. Compiled with MPLAB-X MCC18 compiler.
2013-05-22 21:21:42 +00:00
skarg
81d69f910d
Updated some ARM and AVR ports projects which needed changes to API for some BACnet objects. Compiled with IAR ARM and AVR compiler.
2013-05-22 17:44:57 +00:00
skarg
afa20e55b3
Added diagrams for STM32 project.
2013-05-22 14:31:37 +00:00
ekh
15fe7e56c2
Allow compilation of BACnet/IP demos in Cygwin in Windows
2013-05-10 19:24:26 +00:00
skarg
2089221a1d
When MS/TP MAC length is zero, use broadcast address.
2013-04-16 03:54:13 +00:00
skarg
0c963ecc30
Fixed MS/TP where double messages were send on Data-expecting-reply frames. Thank you, Simone Tolotti.
2013-04-13 16:18:07 +00:00
skarg
539e39a40f
Alphabetized some files listed in Makefile to make it easier to find them when using the Makefile as a project guide.
2013-03-17 14:22:58 +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
3a84572662
Created new port for BSD/MAC OS X (ports/bsd). It supports only BACnet/IP. Thank you, Patrick!
2013-03-06 17:32:20 +00:00
skarg
79c37f7d09
Added a note to MS/TP FindNewSuccessor transition after BTL CR: if NS=TS-1, this node could send PFM to self!
2013-02-21 23:10:23 +00:00
skarg
19332796d1
Updated STM32 project to use IAR compiler built-in CMSIS.
2013-01-08 21:28:11 +00:00
skarg
9b60fff679
Added some fixes for compiling with 2010 version of avr-gcc (WinAVR).
2013-01-08 20:52:14 +00:00
skarg
a576c29ae4
Added some porting to AT91SAM7S while playing with IAR compiler.
2013-01-08 20:51:29 +00:00
skarg
cf882642a8
Changed Ringbuf API: Ringbuf_Pop_Front is now Ringbuf_Pop, and now it copies the buffer into parameter and returns boolean. Original method was not safe since it returned a pointer to the element but freed the buffer element. Changed Ringbuf_Get_Front to Ringbuf_Peek with no change in functionality, to make names more consistent.
...
Updated all the MS/TP datalink layer implementations that use Ringbuf library.
2013-01-08 20:48:34 +00:00
skarg
d9877756bf
Added checks to detect and work with faulty SEEPROM.
2012-12-22 05:41:38 +00:00
skarg
4c0599f104
cleaned up some warnings and errors when compiled for MS/TP on Linux
2012-12-16 04:42:22 +00:00
skarg
934fcbf012
A function in example device.c, Device_Object_List_Identifier, uses an array index, which starts at 1, not 0. Fixes WhoHas for last name in object list. Thank you, Peter van der Stok!
2012-12-07 16:28:01 +00:00