Commit Graph

440 Commits

Author SHA1 Message Date
skarg 75bd715bd4 corrected possible overflow in dlmstp.c for PIC and RTOS-32. Thank you Martin! 2009-03-06 11:04:51 +00:00
skarg 134bbade5d Removed extra debug printf in MS/TP module. 2009-02-27 22:36:49 +00:00
brayra 9a2f058623 Added usleep(30) to RS485_Check_UART_Data allowing the process to give up time to the system,
rather than hogging the processor.
2009-02-27 16:33:16 +00:00
skarg c23b6c2742 Corrected grammar. 2009-02-20 16:00:19 +00:00
skarg 552fe5e717 Added Added "--help" command line option to mstsnap. 2009-02-20 15:58:30 +00:00
skarg a42b63d5c7 Changed the data type of the MS/TP index for the receiving byte to allow an APDU of 480 bytes. 2009-02-16 18:53:15 +00:00
skarg e35cabd91d Updated mstpcap for win32, tested. 2009-02-15 22:19:14 +00:00
skarg 209f63b1dc Adding time stamp to mstpcap file name. Untested. 2009-02-15 13:27:41 +00:00
skarg 93826be9e5 Fixed MS/TP state MSTP_MASTER_STATE_WAIT_FOR_REPLY in ports/pic18f6720/mstp.c that prevented receiving the responses of your command to the peer. Thank you, Sungjune Lee! 2009-01-22 05:19:14 +00:00
skarg eb5838c3d5 Cleaned up some makefiles. 2009-01-17 12:49:47 +00:00
skarg bb39b745f3 Corrected compiler warning. 2008-12-05 21:50:14 +00:00
skarg 980f0145be Fixed line endings, and set EOL properties. 2008-12-05 21:26:24 +00:00
skarg f73344cfb2 Corrected compile warning. 2008-12-05 19:55:54 +00:00
skarg 16ce2b615f updated (apparently). 2008-12-01 15:27:08 +00:00
skarg 0b490d5440 Updated the PIC port for MS/TP. Tested on my hardware. 2008-11-30 04:39:53 +00:00
skarg a4cd23761c Added optional local print for mstp monitor. 2008-11-29 14:37:49 +00:00
skarg 1ad2da7895 Corrected compile errors in PIC port for MS/TP. Untested. 2008-11-28 22:05:46 +00:00
skarg 63f3f77552 Modified the PIC port MS/TP RS-485 handling to use an interrupt safe FIFO library (untested). 2008-11-28 13:37:42 +00:00
skarg cba4fdd1d2 Added avrdude support in ATmega Makefile. 2008-11-27 04:36:02 +00:00
skarg cee436eb45 Cleaned up PIC18F6720 project to enable mostly clean compile and build with latest MPLab (8.x) and MCC18 compiler (3.x). 2008-11-26 13:57:38 +00:00
skarg d1a1c1c8a6 Indented. 2008-11-24 12:48:09 +00:00
skarg 0e9a805f75 Moved the iam_send to demo/handler/s_iam.c to keep application code out of the core encode/decode library. 2008-11-14 14:41:28 +00:00
skarg c7a5c05ac7 Moved send I-Am to a send module and out of iam.c. 2008-11-12 15:38:43 +00:00
skarg 38dc91e540 Added WhoIs to bit string returned for Services Supported. 2008-10-30 21:09:39 +00:00
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