[Com0com-cvs] hub4com/plugins/trace filter.cpp,1.6,1.7
The virtual serial port driver for Windows.
Brought to you by:
vfrolov
From: Vyacheslav F. <vf...@us...> - 2008-11-12 08:46:48
|
Update of /cvsroot/com0com/hub4com/plugins/trace In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv18672 Modified Files: filter.cpp Log Message: Fixed TYPE_LC and SET_LSR tracing Index: filter.cpp =================================================================== RCS file: /cvsroot/com0com/hub4com/plugins/trace/filter.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** filter.cpp 16 Oct 2008 16:02:34 -0000 1.6 --- filter.cpp 12 Nov 2008 08:46:39 -0000 1.7 *************** *** 20,23 **** --- 20,26 ---- * * $Log$ + * Revision 1.7 2008/11/12 08:46:39 vfrolov + * Fixed TYPE_LC and SET_LSR tracing + * * Revision 1.6 2008/10/16 16:02:34 vfrolov * Added LBR_STATUS and LLC_STATUS *************** *** 579,586 **** break; case HUB_MSG_VAL_TYPE_LC: ! tout << (unsigned)LC2VAL_BYTESIZE(val) << '-'; ! PrintCode(tout, codeNameTableParity, LC2VAL_PARITY(val)); tout << '-'; ! PrintCode(tout, codeNameTableStopBits, LC2VAL_STOPBITS(val)); break; default: --- 582,603 ---- break; case HUB_MSG_VAL_TYPE_LC: ! if (val & LC_MASK_BYTESIZE) ! tout << (unsigned)LC2VAL_BYTESIZE(val); ! else ! tout << 'x'; ! tout << '-'; ! ! if (val & LC_MASK_PARITY) ! PrintCode(tout, codeNameTableParity, LC2VAL_PARITY(val)); ! else ! tout << 'x'; ! ! tout << '-'; ! ! if (val & LC_MASK_STOPBITS) ! PrintCode(tout, codeNameTableStopBits, LC2VAL_STOPBITS(val)); ! else ! tout << 'x'; break; default: *************** *** 620,623 **** --- 637,641 ---- break; case HUB_MSG_TYPE_LINE_STATUS: + case HUB_MSG_TYPE_SET_LSR: PrintMaskedFields(tout, fieldNameTableLineStatus, pMsg->u.val); break; |