Commit Graph

416 Commits

Author SHA1 Message Date
skarg 23d2cd6592 Corrected compilation on linux - added conditional min macros. 2008-10-29 03:49:43 +00:00
skarg 2797764d65 Corrected the MS/TP capture to limit data to the input buffer. (again) 2008-10-28 18:14:00 +00:00
skarg 4dd074630b Corrected the MS/TP capture to limit data to the input buffer. 2008-10-27 19:53:11 +00:00
skarg 6073793013 updated hardware BOM for ATmega168 port. 2008-10-22 20:05:08 +00:00
skarg 313e5cb0d6 Updated demo to include environment settings. 2008-09-30 15:30:22 +00:00
skarg 67a7cdbc12 Added port for ATmega8 - but not quite small enough yet. Compiled for ATmega168 (but at 8734 bytes of flash). 2008-09-27 22:19:23 +00:00
skarg 437de29ce7 Added splintrc and lint checking. 2008-09-26 15:21:13 +00:00
skarg 3a0f109d66 Added h_npdu to demo lib and example projects. 2008-09-07 04:23:44 +00:00
skarg 4d4b7a1904 Updated to compile with current code base. 2008-08-28 17:35:49 +00:00
skarg 5617052532 Made comment match MSDN documentation. 2008-08-25 21:55:17 +00:00
skarg 10191b70de Changed _Bool to be int8_t type rather than enum type. This should fix size compatibility with C++. 2008-08-25 15:34:16 +00:00
skarg 2ab30fc981 Corrected Visual C++ win32/net.h include file define. 2008-08-25 01:50:21 +00:00
skarg 0ffbb64c13 Indented with standard indent rules. 2008-08-23 12:38:26 +00:00
skarg 9c316a65dc Moved APDU Timeout and Retries to apdu module. 2008-08-17 02:12:58 +00:00
skarg 0326112c68 Created MS/TP capture tool that captures from USB->RS485 converter and sends data to SNAP Protocol for Wireshark capture. 2008-08-17 00:35:18 +00:00
skarg 2328f0fe59 Updated makefiles and build scripts for Borland tools. 2008-08-14 16:35:26 +00:00
skarg 1142eb7202 Converted the Linux MS/TP datalink module to use semaphores (pthread conditions) instead of sockets or queues. Copied module from Win32. Untested. 2008-08-10 13:51:32 +00:00
skarg b310bd055a Indented with indent.sh script. 2008-08-05 13:53:57 +00:00
skarg 10e74470a5 Updated the MS/TP Capture tool, and cleaned up the net.h defines. 2008-08-02 16:23:29 +00:00
skarg 6328b51cbc Merging the dlmstp for Windows and Linux, so that a common module can be used for building. Untested. 2008-08-02 15:41:51 +00:00
skarg a81814147a Added some print info the mstpcap demo like packet count, baud rate, and interface. 2008-07-30 20:33:00 +00:00
skarg df89a0ec2c Added demo/mstpcap application for capturing MS/TP data from a serial port and saving it to PCAP format to mstp.cap file. 2008-07-30 19:58:16 +00:00
skarg 96c140eda2 Added PCAP file saving for MS/TP captures, which can use a USB->RS485 converter.and be viewed in Wireshark. 2008-07-30 01:35:33 +00:00
skarg 49e83f4b5f Added MS/TP Capture to PCAP format for Wireshark viewing to the rx_fsm program in ports/win32. 2008-07-29 14:45:25 +00:00
skarg 0e521b7a05 Adding PCAP file support. 2008-07-28 22:40:58 +00:00
skarg 2b55f1aabf Testing MS/TP on Linux. Queues not working yet... 2008-07-27 17:29:37 +00:00
skarg c6b60cc676 Testing MS/TP on Linux. 2008-07-27 15:27:17 +00:00
skarg a8c36762db Converted the MS/TP FSM src module to use the debug printf. 2008-07-21 16:05:55 +00:00
skarg f0ae21f367 Corrected uninitialized variable. 2008-06-23 00:18:38 +00:00
skarg 2338f3b3a3 Updated project files, makefiles, and the demo debug info. 2008-06-23 00:17:51 +00:00
skarg 3728b74f85 Centralized the readme.txt from ports/win32 to doc/ directory. 2008-05-07 18:35:36 +00:00
skarg 800993aecc Updated files to be able to build under mingw32 for linux. 2008-04-25 19:35:04 +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 df310edca6 Updated Visual Studio ports project, cleaning up compile warnings. 2008-04-10 05:31:08 +00:00
skarg dff2ef777b Updated the readme for AVR. 2008-04-09 15:39:01 +00:00
skarg be315cc392 Changed the default APDU size to reduce stack requirements. 2008-04-04 16:00:08 +00:00
skarg be7cfceb41 Updated readme file for Atmel AVR ATmega168 port. 2008-03-28 14:18:07 +00:00
skarg 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. 2008-03-28 02:47:33 +00:00
skarg 919f4b67bd Fixed IAR embedded workbench atmega168 project by allocating more CSTACK space. Simplified the iar/gcc compatibility. 2008-03-25 22:14:38 +00:00
skarg a174b9bf59 Added more functionality to the ATmega168 demo. 2008-03-20 21:32:39 +00:00
skarg 944cb46e51 Enhanced the ATmega168 demo project to include WriteProperty service to the Analog Value and Device objects. 2008-03-19 23:17:19 +00:00
skarg 80023d79db Corrected indentation using the indent tool. 2008-03-19 21:26:54 +00:00
skarg 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) 

avr-gcc (GCC) 4.2.2 (WinAVR 20071221rc1)
Program:   12052 bytes (73.6% Full)
Data:        481 bytes (47.0% Full)
2008-03-19 20:21:44 +00:00
skarg c8677814a6 Corrected bug in ATmega168 port demo project, which required some code reduction to fit using GCC compiler. 2008-03-14 22:15:49 +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 25b4979a28 Shorted the device name to give me a few more bytes. 2008-03-10 20:45:41 +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 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! 2008-03-09 13:52:48 +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