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
vasyl-tkhir
2f73bcae44
BACnet router added.
2012-09-27 14:36:11 +00:00
skarg
a51298876f
changed public function from static in Linux port of BACnet/IP.
2012-05-22 19:29:00 +00:00
skarg
9e8c2b0927
Added explicit datalink_cleanup to all demo applications.
...
Moved bip_cleanup() to port specific files.
This works better for bacnet-stack DLLs.
2012-02-10 22:12:15 +00:00
bacpack
a639864cc8
In bip.c getter and setter functions of IP address and Port number expect and return values in the network byte order. All ntoh and hton were eliminated from bip.c.
...
All other modules changed to be consistent.
arm7 port left unchanged.
2010-11-04 13:30:26 +00:00
skarg
710cfccfef
Indented using indent script.
2010-05-04 21:06:26 +00:00
tbrennan3
f92316649b
Started a Doxygen module for DataLink layer, for the default DataLink templates and for BACnet/IP.
2010-03-24 03:41:39 +00:00
tbrennan3
a18ca597e5
Added ability to get "my" netmask from the OS-specific network code, so we could construct subnet broadcasts from source addresses.
...
(Haven't hooked up code to actually do that, yet.)
2010-02-15 21:18:57 +00:00
tbrennan3
53d0a1510c
The beginning of doxygenation, for the Linux port:
...
As a first step, added an @file description for each file.
2010-02-14 05:46:31 +00:00
skarg
5ced5d6f1f
Fixed a socket leak. Thanks Piotr!
2009-12-30 15:16:14 +00:00
skarg
cf9d15631a
Indented using indent script. Corrected any C++ comments using the comment script.
2008-03-10 21:00:48 +00:00
skarg
5bef9a18e2
Modified the WhoIs demo to use BBMD if configured for BACnet/IP. Corrected the BVLC code.
2008-01-22 01:18:12 +00:00
skarg
1477603af6
indented.
2007-11-29 16:39:48 +00:00
skarg
411d6c1b24
Indented.
2007-11-29 15:56:53 +00:00
skarg
cf3f881f7a
Changed BIP debug from define to variable since we are using a lib. Affects Win32 and Linux.
2007-10-25 02:13:02 +00:00
skarg
69ed8a16c5
2007-10-25 02:01:48 +00:00
skarg
46ab0030c8
Fiddling with the MAX_MDPU and datalink stuff.
2007-09-01 00:42:12 +00:00
skarg
722b183f98
Updated handling of port without IP address.
2007-08-11 17:16:22 +00:00
skarg
9069c939da
Fixing indent oops which removed the contents of all these files.
2007-06-14 05:33:15 +00:00
skarg
ea4863ca25
Indented.
2007-06-14 05:14:26 +00:00
skarg
5084d3f50d
Consolidated the debug print information for the linux server demo.
2007-06-01 17:48:34 +00:00
skarg
f618f21715
Corrected default ethernet interface for Linux port.
2007-06-01 16:15:00 +00:00
skarg
57af6b6551
fixed the default interface for Linux to be eth0.
2007-05-30 21:48:12 +00:00
skarg
8026dc003b
Combined the interface set into the datalink_init for all the datalink layers. Changed all the demo programs to use datalink_init instead of specific datalink functions.
2007-05-25 01:08:42 +00:00
skarg
b686fa7ca7
changed c++ comments to c comments using comment.sh script.
2006-02-19 01:33:30 +00:00
skarg
d6a891f0d1
running the indent on the files.
2006-02-18 23:11:25 +00:00
skarg
7f2adf1c57
added DEBUG_BIP define to keep debug out of demos.
2006-02-09 23:58:43 +00:00
skarg
ca72bf7f9f
modified the BACnet/IP init code for the win32 platform to make it work on my system. It seems that something else is intercepting the packets when the bind was set to INADDR_ANY, so I just bind to the host default adapter.
2005-12-07 17:01:26 +00:00
skarg
4ba79baf1e
Added handling for ARCNET on the Linux port.
2005-09-06 20:41:01 +00:00
skarg
2e87236e9b
Added externs declarations to header files to handle C++ compilation.
...
Cleaned up BACnet/IP API a little.
2005-08-13 14:10:21 +00:00
skarg
bc21625461
refactored the BACnet/IP for each of the ports
2005-08-12 15:44:42 +00:00