Commit Graph

  • 45d2c6247f Updated the demo application Code::Blocks projects to include iphlpapi library for Win32 builds. Thank you to Upside Down for reporting it! skarg 2008-05-02 21:28:35 +00:00
  • 800993aecc Updated files to be able to build under mingw32 for linux. skarg 2008-04-25 19:35:04 +00:00
  • d51b8f161d Updated readme. skarg 2008-04-24 01:22:35 +00:00
  • 3d3d7e420d Ran the comment and indent tools on the source code. skarg 2008-04-24 01:07:23 +00:00
  • 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! skarg 2008-04-16 23:05:00 +00:00
  • 140f9369fc Corrected the BACnet/IP code to accept packets Forwarded from BBMDs. Thank you Carl! skarg 2008-04-16 14:50:34 +00:00
  • df310edca6 Updated Visual Studio ports project, cleaning up compile warnings. skarg 2008-04-10 05:31:08 +00:00
  • f020c09d9b skarg 2008-04-09 20:27:50 +00:00
  • fc8c9c687c Added double to BACnet encoding/decoding. untested. skarg 2008-04-09 16:33:46 +00:00
  • dff2ef777b Updated the readme for AVR. skarg 2008-04-09 15:39:01 +00:00
  • be315cc392 Changed the default APDU size to reduce stack requirements. skarg 2008-04-04 16:00:08 +00:00
  • 7f6df4a69b Updated the version number. skarg 2008-03-30 17:13:58 +00:00
  • be7cfceb41 Updated readme file for Atmel AVR ATmega168 port. skarg 2008-03-28 14:18:07 +00:00
  • 69e7992cd1 Added CStack check to project by putting it into the device object as property 512. The compile shows 648 bytes of RAM used, and the device has 1024 bytes of RAM, leaving 376 for the CStack. Property 512 index 0 returns 376. So, my understanding is that the RAM that is not allocated to the variables is used for the CStack, something to keep in mind when developing. After some exercising, the stack shows 159 CStack bytes free, meaning that 216 bytes of CStack are used. Note that 0xC5 (197) was used to paint the CStack. skarg 2008-03-28 02:47:33 +00:00
  • 19910c90ce Corrected BBMD precompiler flag. Thanks, Paul! skarg 2008-03-28 02:35:19 +00:00
  • 919f4b67bd Fixed IAR embedded workbench atmega168 project by allocating more CSTACK space. Simplified the iar/gcc compatibility. skarg 2008-03-25 22:14:38 +00:00
  • a174b9bf59 Added more functionality to the ATmega168 demo. skarg 2008-03-20 21:32:39 +00:00
  • 944cb46e51 Enhanced the ATmega168 demo project to include WriteProperty service to the Analog Value and Device objects. skarg 2008-03-19 23:17:19 +00:00
  • fe0563f751 Updated slightly. skarg 2008-03-19 21:47:16 +00:00
  • 608db1e390 removed tsm unit test - which was doing nothing... skarg 2008-03-19 21:33:14 +00:00
  • 80023d79db Corrected indentation using the indent tool. skarg 2008-03-19 21:26:54 +00:00
  • fb453ae1aa Corrected bug in ATmega168 demo in the RS-485 driver. Also updated the IAR project for Embedded workbench 5.10. Stats: IAR Atmel AVR C/C++ Compiler V5.10A/W32 10191 bytes of CODE memory (+36 range fill) 775 bytes of DATA memory (+24 absolute) skarg 2008-03-19 20:21:44 +00:00
  • 6380985dc2 updated splint shell script for directory structure change. skarg 2008-03-17 15:01:41 +00:00
  • c8677814a6 Corrected bug in ATmega168 port demo project, which required some code reduction to fit using GCC compiler. skarg 2008-03-14 22:15:49 +00:00
  • 01438b7aa6 Corrected message in makefile. skarg 2008-03-13 15:25:30 +00:00
  • c8eb5cb012 Updated documentation. Moved built files to bin directory, and removed the utils directory. skarg 2008-03-11 15:43:20 +00:00
  • d373f3cc07 Updated website file. skarg 2008-03-11 14:47:00 +00:00
  • d8d39d6d30 updated version information skarg 2008-03-11 14:46:27 +00:00
  • 11be993b1f Added BACFILE to server demo. skarg 2008-03-10 22:10:10 +00:00
  • 5085e5bb69 Added info about the address cache file, and removed it from the utils directory. skarg 2008-03-10 21:45:49 +00:00
  • cf9d15631a Indented using indent script. Corrected any C++ comments using the comment script. skarg 2008-03-10 21:00:48 +00:00
  • 25b4979a28 Shorted the device name to give me a few more bytes. skarg 2008-03-10 20:45:41 +00:00
  • 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. skarg 2008-03-10 20:44:18 +00:00
  • f86a5847ac Corrected unit test. skarg 2008-03-09 14:14:13 +00:00
  • eb7196668c Corrected the MS/TP TEST REQUEST state such that it now returns the data from the request per BACnet 9.3.5 which says "The data, if present, shall be that which was present in the initiating Test_Request." Thank you to Martin Labbe! skarg 2008-03-09 13:52:48 +00:00
  • 17d307dd57 Removed extraneous semicolon. Thank you to Martin Labbe! skarg 2008-03-09 13:38:42 +00:00
  • 453272f255 Corrected makefile. skarg 2008-03-09 13:34:13 +00:00
  • 1cabf2ce2f Added support for actual subnet mask in Windows port. Thanks to Thomas Neumann! skarg 2008-03-08 15:11:32 +00:00
  • cff20d7669 Cleaned up compiler warnings for Borland 5.5 compile. skarg 2008-03-08 15:09:14 +00:00
  • a3e2d61f56 Modified linux makefiles for compiling with MinGW. Not successful yet (except under codeblocks). skarg 2008-03-08 15:08:27 +00:00
  • b2437a82ce Test cache. skarg 2008-03-03 20:33:26 +00:00
  • cc9377ae13 Corrected. skarg 2008-03-03 20:27:06 +00:00
  • f9329b793d Created project and unit test for object list. skarg 2008-03-03 15:10:40 +00:00
  • 17b556df69 Created module for holding object properties in a list. skarg 2008-03-03 15:09:47 +00:00
  • 29f022fce1 Modified the EPICS demo application to get the object list by element instead of as a whole array. skarg 2008-03-03 15:08:18 +00:00
  • 1d7b1b4b03 Modified define in makefile. skarg 2008-03-03 14:50:21 +00:00
  • b8ee7d6b9c Added ability to use static address binding in file address_cache. Useful for client applications binding to MS/TP slave devices. skarg 2008-03-01 06:42:46 +00:00
  • 9daa40131d Corrected the MS/TP monitor on Linux. skarg 2008-02-28 02:08:40 +00:00
  • bf353b0c56 Added MS/TP define for optional compile. skarg 2008-02-20 22:47:48 +00:00
  • 9bbac30cf4 Added defines to ease usage with demo applications. skarg 2008-02-20 22:47:16 +00:00
  • 584fe58b56 corrected compiler warnings when compiled for MS/TP on Linux. skarg 2008-02-20 22:39:55 +00:00
  • 741b208ef6 Corrected compiler warnings. skarg 2008-02-20 22:38:48 +00:00
  • 928c9fbbe1 Corrected compiler warnings. skarg 2008-02-20 22:36:59 +00:00
  • e208feedae Corrected a couple of comparisons, and made the socket init more complete. skarg 2008-02-20 22:35:20 +00:00
  • d330f2c7c8 Added MS/TP initialization functions to demo applications, along with BVLC initialization. skarg 2008-02-14 19:16:24 +00:00
  • 004ffdc11d Enhanced the MS/TP packet sniffer to allow configurable baud rate. skarg 2008-01-27 19:57:04 +00:00
  • b72da0bc4a Added BBMD environment setting for demo applications epics, server. skarg 2008-01-27 19:56:05 +00:00
  • d3ae827bf2 Corrected BVLC and BBMD code. skarg 2008-01-23 05:38:29 +00:00
  • c163a7cc93 Corrected forwarded NPDU bug. skarg 2008-01-22 02:01:53 +00:00
  • fd26838a54 added WhoIs demo to CodeBlocks demo workspace. skarg 2008-01-22 01:46:42 +00:00
  • a63ff67e18 Enhance the bbmd registration for demos. skarg 2008-01-22 01:43:18 +00:00
  • 5bef9a18e2 Modified the WhoIs demo to use BBMD if configured for BACnet/IP. Corrected the BVLC code. skarg 2008-01-22 01:18:12 +00:00
  • ef4f7bbf22 Added debug info. skarg 2008-01-21 04:53:41 +00:00
  • be9c36147e Change position of BBMD Enable. skarg 2008-01-21 03:05:19 +00:00
  • e4ccba8310 Added debugging. skarg 2008-01-21 03:03:43 +00:00
  • 1c4ac15cb0 Updated svn eol style. skarg 2008-01-20 21:55:59 +00:00
  • f92a6b10f0 Updated demo library to include BVLC file and functionality. skarg 2008-01-20 21:34:40 +00:00
  • e951f5ab0d Added todo item. skarg 2008-01-20 21:28:32 +00:00
  • 2e3436cb9e Changed BVLC_READ_BROADCAST_DISTRIBUTION_TABLE* into ..._DIST_... to match bacenum.h changes. bip_get_xxx() deliver address and port in host order. Used htonl,htons to marshal them into PDU. Fixed the BVLC beheading in the Forwarded Message case - Usually the BVLC header is 4 octets long. It's 10 octets in this case. Extracted source address from BVLC header for forwards since it contains the original MAC address we are supposed to talk to. Fixed the byte order of IP and port on unicast outgoing DA. Added BBMD_ENABLED to config.h file to allow enable and disable of BBMD at compile time. Thank you to Tomás Zerolo for the patch! skarg 2008-01-17 23:19:03 +00:00
  • a413b92afd Added COV subscription list to Device object. Untested. skarg 2008-01-16 21:35:26 +00:00
  • 50ecdd1241 Corrected error for subscribeCOV cancelation. skarg 2008-01-15 14:27:08 +00:00
  • 85d58bd688 Correcting COV subscribe - almost working... skarg 2008-01-14 23:26:20 +00:00
  • b698ba0cdd Corrected the COV lifetime to be seconds, not milliseconds. skarg 2008-01-14 22:03:15 +00:00
  • bfc5a52a6f Adding SubscribeCOV to demo/server for testing. skarg 2008-01-14 21:27:22 +00:00
  • 99860bd944 Created a protocol diagram. skarg 2008-01-11 16:48:48 +00:00
  • 280d8c8c51 Corrected makefile define. skarg 2008-01-10 20:15:53 +00:00
  • 9abf112d45 Moved the inline optimization to the Makefile. skarg 2008-01-09 16:50:44 +00:00
  • 1397585e71 Simplified the stricmp function. skarg 2008-01-09 15:46:05 +00:00
  • 83da7c5b3b Added back 2 bytes in MS/TP header size for CRC16 since it failed unit testing. skarg 2008-01-09 15:41:46 +00:00
  • a458bdce44 Added stricmp as replacement for compilers that didn't have it. skarg 2008-01-09 13:31:12 +00:00
  • 5eb6c9bc4d Added optional standards flag for c99 skarg 2008-01-09 13:30:17 +00:00
  • 89432a85c3 Applied standard indentation to files. skarg 2008-01-08 23:13:51 +00:00
  • 401dbaa89d Updated the version number. skarg 2008-01-08 23:12:32 +00:00
  • bfd4d71804 Corrected EOL on file. skarg 2008-01-08 21:35:24 +00:00
  • e17cb0559e Converted C++ comments to C comments. skarg 2008-01-08 21:30:50 +00:00
  • a8dffb5a12 added another to do item: MISRA C. skarg 2008-01-08 15:18:10 +00:00
  • ef8f9c7e8b fixed compile error in bactext after change to enumeration name. skarg 2008-01-08 15:16:31 +00:00
  • e79bd532af Updated atmega project. skarg 2008-01-07 23:01:44 +00:00
  • a8e679f8d7 Compiled ATmega16 port example project with IAR Embedded workbench. skarg 2008-01-07 21:41:15 +00:00
  • 9f1dc8223f Corrected read-property handler example for encoding ack without an extra buffer. skarg 2008-01-07 21:40:33 +00:00
  • f8adfe1f41 Added read-property methods to encode ack without an extra buffer. skarg 2008-01-04 23:06:46 +00:00
  • 72abef8e1d Corrected atmega port MS/TP code where APDU size > 255 caused APDU layer to not process packets. skarg 2008-01-03 18:49:38 +00:00
  • b6d4723ca2 Corrected at91sam7s port MS/TP code where APDU size > 255 caused APDU layer to not process packets. skarg 2008-01-03 18:46:17 +00:00
  • 62731da8cf added file. skarg 2008-01-03 18:42:17 +00:00
  • ab7fe095f4 Added comment for reducing code size. skarg 2008-01-02 14:28:31 +00:00
  • 767fe208e0 Added "static inline" to functions that were only used once, and reduced code usage by 6 bytes for each occurance. skarg 2008-01-02 14:27:41 +00:00
  • fe2e91f806 Added todo. skarg 2008-01-02 14:25:40 +00:00
  • 8b99c8c85b Updated output of whois demo. Began implementing the datalink-all concept. skarg 2008-01-01 23:17:28 +00:00
  • af6490c6cd Corrected compile error. skarg 2008-01-01 22:12:18 +00:00
  • 9ab6d4165f Adding COV support. skarg 2007-12-28 19:53:34 +00:00