Название: [РЕШЕНО] QextSerialPort bugged? (неправильное открытие порта)
Отправлено: Maquefel от Март 05, 2011, 13:24
Добрый день. Вопрос в следующем : добавлено Qt 4.6.3 QextSerialPort 1.2 OS: Windows 7 x64 rs232: Moschip - STlab usb2serial Открываю порт QextSerialPort *port; port = new QextSerialPort("COM9", QextSerialPort::EventDriven); port->setBaudRate(BAUD9600); port->setFlowControl(FLOW_HARDWARE); port->setStopBits(STOP_2); port->setParity(PAR_NONE); port->setDataBits(DATA_8); port->setTimeout(500);
В логах вижу 00000002 05.03.2011 12:37:25.521 +75.241 IRP_MJ_CREATE - process 3972 () DOWN 0x00000000 00000003 05.03.2011 12:37:25.536 +0.015 IRP_MJ_CREATE UP 0x00000000 00000022 05.03.2011 12:37:25.536 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_TIMEOUTS DOWN 0x00000000 f4 01 00 00 00 00 00 00 f4 01 00 00 f4 01 00 00 00 00 00 00 .................... 00000023 05.03.2011 12:37:25.536 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_TIMEOUTS UP 0x00000000 00000032 05.03.2011 12:37:25.536 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_BAUD_RATE DOWN 0x00000000 b0 04 00 00 .... 00000033 05.03.2011 12:37:25.536 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_BAUD_RATE UP 0x00000000 00000034 05.03.2011 12:37:25.536 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_RTS DOWN 0x00000000 00000035 05.03.2011 12:37:25.536 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_RTS UP 0x00000000 00000036 05.03.2011 12:37:25.536 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_DTR DOWN 0x00000000 00000037 05.03.2011 12:37:25.536 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_DTR UP 0x00000000 00000038 05.03.2011 12:37:25.536 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_LINE_CONTROL DOWN 0x00000000 00 00 07 ... 00000039 05.03.2011 12:37:25.536 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_LINE_CONTROL UP 0x00000000 00000040 05.03.2011 12:37:25.536 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_CHARS DOWN 0x00000000 00 00 00 00 11 13 ...... 00000041 05.03.2011 12:37:25.536 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_CHARS UP 0x00000000 00000042 05.03.2011 12:37:25.536 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_HANDFLOW DOWN 0x00000000 01 00 00 00 40 00 00 00 00 20 00 00 00 08 00 00 ....@.... ...... 00000043 05.03.2011 12:37:25.536 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_HANDFLOW UP 0x00000000
Обратите внимание на строчку IOCTL_SERIAL_SET_LINE_CONTROL DOWN 0x00000000 00 00 07 QextSerialPort - неправильно его открывает? Должно быть 0x00000000 02 00 08 2 stop bits 8 data bits
Название: Re: QextSerialPort bugged? (неправильное открытие порта)
Отправлено: kuzulis от Март 05, 2011, 13:44
Получается что так, хотя, может это особенность win 7 x 64?
PS: Попробуй другую библиотеку, например эту: http://gitorious.org/qserialdevice
;)
Название: Re: QextSerialPort bugged? (неправильное открытие порта)
Отправлено: Maquefel от Март 05, 2011, 13:50
Получается что так, хотя, может это особенность win 7 x 64?
PS: Попробуй другую библиотеку, например эту: http://gitorious.org/qserialdevice
;)
С твоей библиотекой всё в порядке я её уже протестировал :-D. Но она мне не подходит по религиозным причинам =).
Название: Re: QextSerialPort bugged? (неправильное открытие порта)
Отправлено: kuzulis от Март 05, 2011, 13:54
Кстати, я только что проверил как гипертерминал открывает порт, так вот, установка "Апаратного контроля" в нём (судя по логу HDD Free Serial Port Monitor) происходит несколько иначе чем в QSerialDevice и чем то что ты выложил. Т.е. три разных варианта получается :)
А где брал QextSerialPort 1.2? Последние "свежие" версии теперь лежат в гугле: http://code.google.com/p/qextserialport/ может там это исправили, попробуй.
Название: Re: QextSerialPort bugged? (неправильное открытие порта)
Отправлено: Maquefel от Март 05, 2011, 14:24
Кстати, я только что проверил как гипертерминал открывает порт, так вот, установка "Апаратного контроля" в нём (судя по логу HDD Free Serial Port Monitor) происходит несколько иначе чем в QSerialDevice и чем то что ты выложил. Т.е. три разных варианта получается :)
А где брал QextSerialPort 1.2? Последние "свежие" версии теперь лежат в гугле: http://code.google.com/p/qextserialport/ может там это исправили, попробуй.
Там и брал. Судя по всему разные инициализации. С другой стороны у тебя инициализация происходит четыре раза фактически - с чем это связано? 00000066 05.03.2011 12:39:06.528 +33.683 IRP_MJ_CREATE - process 3396 () DOWN 0x00000000 00000067 05.03.2011 12:39:06.535 +0.007 IRP_MJ_CREATE UP 0x00000000 00000086 05.03.2011 12:39:06.535 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_BAUD_RATE DOWN 0x00000000 b0 04 00 00 .... 00000087 05.03.2011 12:39:06.535 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_BAUD_RATE UP 0x00000000 00000088 05.03.2011 12:39:06.535 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_RTS DOWN 0x00000000 00000089 05.03.2011 12:39:06.535 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_RTS UP 0x00000000 00000090 05.03.2011 12:39:06.535 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_DTR DOWN 0x00000000 00000091 05.03.2011 12:39:06.535 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_DTR UP 0x00000000 00000092 05.03.2011 12:39:06.535 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_LINE_CONTROL DOWN 0x00000000 00 00 07 ... 00000093 05.03.2011 12:39:06.536 +0.001 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_LINE_CONTROL UP 0x00000000 00000094 05.03.2011 12:39:06.536 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_CHARS DOWN 0x00000000 00 00 00 00 11 13 ...... 00000095 05.03.2011 12:39:06.536 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_CHARS UP 0x00000000 00000096 05.03.2011 12:39:06.536 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_HANDFLOW DOWN 0x00000000 01 00 00 00 40 00 00 00 00 20 00 00 00 08 00 00 ....@.... ...... 00000097 05.03.2011 12:39:06.536 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_HANDFLOW UP 0x00000000 00000098 05.03.2011 12:39:06.536 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_TIMEOUTS DOWN 0x00000000 ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................... 00000099 05.03.2011 12:39:06.536 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_TIMEOUTS UP 0x00000000 00000100 05.03.2011 12:39:06.536 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_WAIT_MASK DOWN 0x00000000 01 00 00 00 .... 00000101 05.03.2011 12:39:06.536 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_WAIT_MASK UP 0x00000000 00000103 05.03.2011 12:39:06.536 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_WAIT_MASK DOWN 0x00000000 05 00 00 00 .... 00000105 05.03.2011 12:39:06.536 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_WAIT_MASK UP 0x00000000 00000107 05.03.2011 12:39:06.536 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_WAIT_MASK DOWN 0x00000000 01 00 00 00 .... 00000109 05.03.2011 12:39:06.536 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_WAIT_MASK UP 0x00000000 00000111 05.03.2011 12:39:06.536 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_WAIT_MASK DOWN 0x00000000 19 01 00 00 .... 00000113 05.03.2011 12:39:06.536 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_WAIT_MASK UP 0x00000000 00000123 05.03.2011 12:39:06.544 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_BAUD_RATE DOWN 0x00000000 80 25 00 00 .%.. 00000124 05.03.2011 12:39:06.555 +0.011 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_BAUD_RATE UP 0x00000000 00000125 05.03.2011 12:39:06.555 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_RTS DOWN 0x00000000 00000126 05.03.2011 12:39:06.555 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_RTS UP 0x00000000 00000127 05.03.2011 12:39:06.555 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_DTR DOWN 0x00000000 00000128 05.03.2011 12:39:06.555 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_DTR UP 0x00000000 00000129 05.03.2011 12:39:06.555 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_LINE_CONTROL DOWN 0x00000000 00 00 07 ... 00000130 05.03.2011 12:39:06.555 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_LINE_CONTROL UP 0x00000000 00000131 05.03.2011 12:39:06.555 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_CHARS DOWN 0x00000000 00 00 00 00 11 13 ...... 00000132 05.03.2011 12:39:06.555 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_CHARS UP 0x00000000 00000133 05.03.2011 12:39:06.555 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_HANDFLOW DOWN 0x00000000 01 00 00 00 40 00 00 00 00 20 00 00 00 08 00 00 ....@.... ...... 00000134 05.03.2011 12:39:06.555 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_HANDFLOW UP 0x00000000 00000143 05.03.2011 12:39:06.555 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_BAUD_RATE DOWN 0x00000000 80 25 00 00 .%.. 00000144 05.03.2011 12:39:06.555 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_BAUD_RATE UP 0x00000000 00000145 05.03.2011 12:39:06.555 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_RTS DOWN 0x00000000 00000146 05.03.2011 12:39:06.555 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_RTS UP 0x00000000 00000147 05.03.2011 12:39:06.555 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_DTR DOWN 0x00000000 00000148 05.03.2011 12:39:06.556 +0.001 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_DTR UP 0x00000000 00000149 05.03.2011 12:39:06.556 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_LINE_CONTROL DOWN 0x00000000 00 00 08 ... 00000150 05.03.2011 12:39:06.556 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_LINE_CONTROL UP 0x00000000 00000151 05.03.2011 12:39:06.556 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_CHARS DOWN 0x00000000 00 00 00 00 11 13 ...... 00000152 05.03.2011 12:39:06.556 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_CHARS UP 0x00000000 00000153 05.03.2011 12:39:06.556 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_HANDFLOW DOWN 0x00000000 01 00 00 00 40 00 00 00 00 20 00 00 00 08 00 00 ....@.... ...... 00000154 05.03.2011 12:39:06.556 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_HANDFLOW UP 0x00000000 00000163 05.03.2011 12:39:06.556 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_BAUD_RATE DOWN 0x00000000 80 25 00 00 .%.. 00000164 05.03.2011 12:39:06.556 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_BAUD_RATE UP 0x00000000 00000165 05.03.2011 12:39:06.556 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_RTS DOWN 0x00000000 00000166 05.03.2011 12:39:06.556 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_RTS UP 0x00000000 00000167 05.03.2011 12:39:06.556 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_DTR DOWN 0x00000000 00000168 05.03.2011 12:39:06.556 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_DTR UP 0x00000000 00000169 05.03.2011 12:39:06.556 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_LINE_CONTROL DOWN 0x00000000 00 00 08 ... 00000170 05.03.2011 12:39:06.556 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_LINE_CONTROL UP 0x00000000 00000171 05.03.2011 12:39:06.556 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_CHARS DOWN 0x00000000 00 00 00 00 11 13 ...... 00000172 05.03.2011 12:39:06.556 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_CHARS UP 0x00000000 00000173 05.03.2011 12:39:06.556 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_HANDFLOW DOWN 0x00000000 01 00 00 00 40 00 00 00 00 20 00 00 00 08 00 00 ....@.... ...... 00000174 05.03.2011 12:39:06.557 +0.001 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_HANDFLOW UP 0x00000000 00000183 05.03.2011 12:39:06.557 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_BAUD_RATE DOWN 0x00000000 80 25 00 00 .%.. 00000184 05.03.2011 12:39:06.557 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_BAUD_RATE UP 0x00000000 00000185 05.03.2011 12:39:06.557 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_RTS DOWN 0x00000000 00000186 05.03.2011 12:39:06.557 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_RTS UP 0x00000000 00000187 05.03.2011 12:39:06.557 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_DTR DOWN 0x00000000 00000188 05.03.2011 12:39:06.558 +0.001 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_DTR UP 0x00000000 00000189 05.03.2011 12:39:06.558 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_LINE_CONTROL DOWN 0x00000000 02 00 08 ... 00000190 05.03.2011 12:39:06.558 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_LINE_CONTROL UP 0x00000000 00000191 05.03.2011 12:39:06.558 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_CHARS DOWN 0x00000000 00 00 00 00 11 13 ...... 00000192 05.03.2011 12:39:06.558 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_CHARS UP 0x00000000 00000193 05.03.2011 12:39:06.558 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_HANDFLOW DOWN 0x00000000 01 00 00 00 40 00 00 00 00 20 00 00 00 08 00 00 ....@.... ...... 00000194 05.03.2011 12:39:06.558 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_HANDFLOW UP 0x00000000 00000203 05.03.2011 12:39:06.558 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_BAUD_RATE DOWN 0x00000000 80 25 00 00 .%.. 00000204 05.03.2011 12:39:06.558 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_BAUD_RATE UP 0x00000000 00000205 05.03.2011 12:39:06.558 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_DTR DOWN 0x00000000 00000206 05.03.2011 12:39:06.558 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_DTR UP 0x00000000 00000207 05.03.2011 12:39:06.558 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_LINE_CONTROL DOWN 0x00000000 02 00 08 ... 00000208 05.03.2011 12:39:06.558 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_LINE_CONTROL UP 0x00000000 00000209 05.03.2011 12:39:06.558 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_CHARS DOWN 0x00000000 00 00 00 00 11 13 ...... 00000210 05.03.2011 12:39:06.558 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_CHARS UP 0x00000000 00000211 05.03.2011 12:39:06.558 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_HANDFLOW DOWN 0x00000000 09 00 00 00 80 00 00 00 00 20 00 00 00 08 00 00 ......... ...... 00000212 05.03.2011 12:39:06.560 +0.002 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_HANDFLOW UP 0x00000000 00000213 05.03.2011 12:39:06.560 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_TIMEOUTS DOWN 0x00000000 ff ff 00 00 00 00 00 00 64 00 00 00 00 00 00 00 00 00 00 00 ........d........... 00000214 05.03.2011 12:39:06.560 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_TIMEOUTS UP 0x00000000
Название: Re: QextSerialPort bugged? (неправильное открытие порта)
Отправлено: kuzulis от Март 05, 2011, 14:37
С другой стороны у тебя инициализация происходит четыре раза фактически - с чем это связано? Хз с наскока не скажу, нужно вспомнить что я там накодил. -- Не, один раз происходит. Что-то ты не то привел. Я сужу по примеру /test/guiapp
Название: Re: QextSerialPort bugged? (неправильное открытие порта)
Отправлено: Maquefel от Март 05, 2011, 14:39
С другой стороны у тебя инициализация происходит четыре раза фактически - с чем это связано? Хз с наскока не скажу, нужно вспомнить что я там накодил. Жаль, но все равно спасибо болшое. Сам попробую посмотреть.
Название: Re: [РЕШЕНО] QextSerialPort bugged? (неправильное открытие порта)
Отправлено: Maquefel от Март 05, 2011, 17:10
port->open(QIODevice::ReadWrite); port->setBaudRate(BAUD9600); port->setStopBits(STOP_2); port->setParity(PAR_NONE); port->setDataBits(DATA_8); port->setFlowControl(FLOW_HARDWARE); port->setTimeout(500); 00000434 05.03.2011 17:06:54.164 +10.420 IRP_MJ_CREATE - process 4084 (QESPTA.exe) DOWN 0x00000000 00000435 05.03.2011 17:06:54.180 +0.015 IRP_MJ_CREATE UP 0x00000000 00000454 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_TIMEOUTS DOWN 0x00000000 f4 01 00 00 00 00 00 00 f4 01 00 00 f4 01 00 00 00 00 00 00 .................... 00000455 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_TIMEOUTS UP 0x00000000 00000464 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_BAUD_RATE DOWN 0x00000000 80 25 00 00 .%.. 00000465 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_BAUD_RATE UP 0x00000000 00000466 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_RTS DOWN 0x00000000 00000467 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_RTS UP 0x00000000 00000468 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_DTR DOWN 0x00000000 00000469 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_DTR UP 0x00000000 00000470 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_LINE_CONTROL DOWN 0x00000000 02 00 08 ... 00000471 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_LINE_CONTROL UP 0x00000000 00000472 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_CHARS DOWN 0x00000000 00 00 00 00 11 13 ...... 00000473 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_CHARS UP 0x00000000 00000474 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_HANDFLOW DOWN 0x00000000 09 00 00 00 40 00 00 00 00 20 00 00 00 08 00 00 ....@.... ...... 00000475 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_HANDFLOW UP 0x00000000 00000484 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_BAUD_RATE DOWN 0x00000000 80 25 00 00 .%.. 00000485 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_BAUD_RATE UP 0x00000000 00000486 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_RTS DOWN 0x00000000 00000487 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_RTS UP 0x00000000 00000488 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_DTR DOWN 0x00000000 00000489 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_DTR UP 0x00000000 00000490 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_LINE_CONTROL DOWN 0x00000000 02 00 08 ... 00000491 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_LINE_CONTROL UP 0x00000000 00000492 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_CHARS DOWN 0x00000000 00 00 00 00 11 13 ...... 00000493 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_CHARS UP 0x00000000 00000494 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_HANDFLOW DOWN 0x00000000 09 00 00 00 40 00 00 00 00 20 00 00 00 08 00 00 ....@.... ...... 00000495 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_HANDFLOW UP 0x00000000 00000504 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_BAUD_RATE DOWN 0x00000000 80 25 00 00 .%.. 00000505 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_BAUD_RATE UP 0x00000000 00000506 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_RTS DOWN 0x00000000 00000507 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_RTS UP 0x00000000 00000508 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_DTR DOWN 0x00000000 00000509 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_DTR UP 0x00000000 00000510 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_LINE_CONTROL DOWN 0x00000000 02 00 08 ... 00000511 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_LINE_CONTROL UP 0x00000000 00000512 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_CHARS DOWN 0x00000000 00 00 00 00 11 13 ...... 00000513 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_CHARS UP 0x00000000 00000514 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_HANDFLOW DOWN 0x00000000 09 00 00 00 40 00 00 00 00 20 00 00 00 08 00 00 ....@.... ...... 00000515 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_HANDFLOW UP 0x00000000 00000524 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_BAUD_RATE DOWN 0x00000000 80 25 00 00 .%.. 00000525 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_BAUD_RATE UP 0x00000000 00000526 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_RTS DOWN 0x00000000 00000527 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_RTS UP 0x00000000 00000528 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_DTR DOWN 0x00000000 00000529 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_DTR UP 0x00000000 00000530 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_LINE_CONTROL DOWN 0x00000000 02 00 08 ... 00000531 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_LINE_CONTROL UP 0x00000000 00000532 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_CHARS DOWN 0x00000000 00 00 00 00 11 13 ...... 00000533 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_CHARS UP 0x00000000 00000534 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_HANDFLOW DOWN 0x00000000 09 00 00 00 40 00 00 00 00 20 00 00 00 08 00 00 ....@.... ...... 00000535 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_HANDFLOW UP 0x00000000 00000544 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_BAUD_RATE DOWN 0x00000000 80 25 00 00 .%.. 00000545 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_BAUD_RATE UP 0x00000000 00000546 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_RTS DOWN 0x00000000 00000547 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_RTS UP 0x00000000 00000548 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_DTR DOWN 0x00000000 00000549 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_DTR UP 0x00000000 00000550 05.03.2011 17:06:54.180 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_LINE_CONTROL DOWN 0x00000000 02 00 08 ... 00000551 05.03.2011 17:06:54.195 +0.015 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_LINE_CONTROL UP 0x00000000 00000552 05.03.2011 17:06:54.195 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_CHARS DOWN 0x00000000 00 00 00 00 11 13 ...... 00000553 05.03.2011 17:06:54.195 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_CHARS UP 0x00000000 00000554 05.03.2011 17:06:54.195 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_HANDFLOW DOWN 0x00000000 09 00 00 00 40 00 00 00 00 20 00 00 00 08 00 00 ....@.... ...... 00000555 05.03.2011 17:06:54.195 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_HANDFLOW UP 0x00000000 00000564 05.03.2011 17:06:54.195 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_BAUD_RATE DOWN 0x00000000 80 25 00 00 .%.. 00000565 05.03.2011 17:06:54.195 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_BAUD_RATE UP 0x00000000 00000566 05.03.2011 17:06:54.195 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_DTR DOWN 0x00000000 00000567 05.03.2011 17:06:54.195 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_DTR UP 0x00000000 00000568 05.03.2011 17:06:54.195 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_LINE_CONTROL DOWN 0x00000000 02 00 08 ... 00000569 05.03.2011 17:06:54.195 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_LINE_CONTROL UP 0x00000000 00000570 05.03.2011 17:06:54.195 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_CHARS DOWN 0x00000000 00 00 00 00 11 13 ...... 00000571 05.03.2011 17:06:54.195 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_CHARS UP 0x00000000 00000572 05.03.2011 17:06:54.195 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_HANDFLOW DOWN 0x00000000 09 00 00 00 80 00 00 00 00 20 00 00 00 08 00 00 ......... ...... 00000573 05.03.2011 17:06:54.195 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_HANDFLOW UP 0x00000000 00000574 05.03.2011 17:06:54.195 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_TIMEOUTS DOWN 0x00000000 f4 01 00 00 00 00 00 00 f4 01 00 00 f4 01 00 00 00 00 00 00 .................... 00000575 05.03.2011 17:06:54.195 +0.0 IRP_MJ_DEVICECONTROL: IOCTL_SERIAL_SET_TIMEOUTS UP 0x00000000
опять же четыре раза. В общем понятно, почему на снифе rs232 я наблюдал постоянно такую картину под Windows, оказываеться так и надо.
|