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
skarg
e01d0d4cfd
Fixed strings that exceeded line length recommendations.
2011-04-07 17:22:59 +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
skarg
c4df15b39c
Corrected error message.
2010-03-07 10:22:05 +00:00
petermcs
bfa8936bf5
Changed a bunch of debug and information printfs so that they have a better chance of working on systems where int is smaller than 32 bits also fixed the signed/unsigned type of some to match the type of the arguments.
2010-01-26 21:30:38 +00:00
skarg
980f0145be
Fixed line endings, and set EOL properties.
2008-12-05 21:26:24 +00:00
skarg
d1a1c1c8a6
Indented.
2008-11-24 12:48:09 +00:00
skarg
5617052532
Made comment match MSDN documentation.
2008-08-25 21:55:17 +00:00
skarg
3d3d7e420d
Ran the comment and indent tools on the source code.
2008-04-24 01:07:23 +00:00
skarg
2ed87c2e0c
Corrected AdapterInfo subnet mask which was not correctly determined for IpAddresses that were assigned to second or one of the follow up network interfaces. Thank you Thomas!
2008-04-16 23:05:00 +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
e2f7234e7d
Modified the linux makefiles to work with MinGW by passing in BACNET_PORT=win32 from the make command. Corrected the AdapterInfo patch, and tested it.
2008-03-10 20:44:18 +00:00
skarg
1cabf2ce2f
Added support for actual subnet mask in Windows port. Thanks to Thomas Neumann!
2008-03-08 15:11:32 +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
b37c58e0bf
Updated stdint.h and stdbool.h which are used with compilers that are pre-C99 standard (i.e. borland). This also cleaned up warnings when built with codeblocks using MinGW.
2007-08-21 23:03:01 +00:00
skarg
bddafd3c86
Cleaned up duplicate defines.
2007-06-21 00:28:24 +00:00
skarg
a18d338f00
Set the EOL-style to native for most files using svn propset command. Some files also had inconsistent line endings. Seems that subversion doesn't set the eol-style automatically when files are created unless it is configured for autoprops. The autoprops setting is local to the subversion installation and not the project.
2007-06-18 16:22:24 +00:00
skarg
3656c352ce
Cleaned up compile warnings.
2007-06-15 22:50:25 +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
d144039df7
Added Winsock error text.
2007-06-01 18:51:33 +00:00
skarg
f02edb879e
2007-06-01 18:31:47 +00:00
skarg
f1ac491f5b
Fixed BACnet/IP debug message for Win32 port.
2007-05-30 23:29:17 +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
78cec1d8c4
Added ability to specify the BACnet/IP interface on multi-homed machines from the command line demo for demo/epics on a Win32 platform.
2007-05-22 00:19:05 +00:00
skarg
09c774418a
Added improved debug for Win32 BIP init (CN)
2007-04-04 12:42:08 +00:00
skarg
648af404d6
indented per coding standard using indent.sh
2006-05-24 19:57:35 +00:00
skarg
a6cd9d3967
Updated ports/win32 demo for Visual C++ to compile and run with the latest example objects (BI, BO, and LSP). Cleaned up a couple of compile warnings, which corrected a bug in the Binary Output object.
2006-05-02 14:06:16 +00:00
skarg
69289f8f88
applied patch for ports/win32 Visual C++ build from Peter Gsellmann:
...
Use relative search-path instead of absolute ones
Let you compile also the release configuration
Insert file dcc.c into project
define TSM_ENABLED in project settings
reduce warnings
Insert missing variable I_Am_Request
2006-03-01 17:49:05 +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
b364c03893
removed duplicate function
2006-02-08 17:09:47 +00:00
skarg
89e1d3cd70
Adjusted RTOS-32 port for common demo programs.
2006-02-05 03:02:49 +00:00
skarg
fa6cb596cb
Fixed up the USE_INADDR define and created a BIP_DEBUG define for Win32.
2006-02-03 21:54:26 +00:00
skarg
427eb31e8d
Added demo for BACnet simple server in the demo/server directory.
...
Added demo for BACnet ReadProperty service.
Added demo for BACnet WriteProperty service.
2006-01-23 13:04:29 +00:00
skarg
cabdeab081
Fixed up most warnings after bacdcode changes to unsigned and signed decoding.
...
Fixed up the Visual C++ demo in ports/win32/bacnet/
2006-01-16 15:00:22 +00:00
skarg
caf018f072
updated the read property demo.
2005-12-07 19:55:39 +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
b15fdebd83
updated BACnet-IP for the Borland C++ compiler, and added a makefile to make the demo.
2005-09-29 17:59:03 +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