Emmanuel Ledoux
cdbba47eee
winpr-comm: CommWriteFile, completed support of WriteTotalTimeout
2014-05-28 17:18:33 +02:00
Emmanuel Ledoux
4715009965
winpr-comm: completing _purge() on write operations (SERIAL_PURGE_TXABORT)
...
winpr-comm: CommWriteFile, implemented the WriteTotalTimeout
2014-05-28 16:41:24 +02:00
Emmanuel Ledoux
1e9e8b68bf
winpr-comm: got IOCTL_SERIAL_GET_DTRRTS
2014-05-28 11:39:10 +02:00
Emmanuel Ledoux
f959590bd2
winpr-comm: _get_commstatus() just some comments about HoldReasons.
2014-05-28 10:44:52 +02:00
Emmanuel Ledoux
b8d00e41c4
- winpr-comm: fixed again the synchronization arround PendingEvents. Prefer to wait for the end of _wait_on_mask() inside _set_wait_mask()
2014-05-27 17:29:55 +02:00
Emmanuel Ledoux
ae3dd68b88
winpr-comm: fixed _set_wait_mask() on previous commit
2014-05-27 16:27:04 +02:00
Emmanuel Ledoux
1aeca8fbc7
- serial: terminates IRP threads more gracefully and avoiding warning messages.
2014-05-27 16:17:47 +02:00
Emmanuel Ledoux
b889ad7125
winpr-comm: reviewed the synchronization around counters, WaitMask and PendingEvents variables. Got rid of the semaphore PendingEventsSem.
2014-05-27 12:29:24 +02:00
Emmanuel Ledoux
9796224936
- winpr-comm: got a finalized version of IOCTL_SERIAL_WAIT_ON_MASK
...
- serial: cleaning up the code
2014-05-27 11:33:10 +02:00
Emmanuel Ledoux
13e10c5de9
winpr-comm: identified the ioctl 0x00220034 as IOCTL_USBPRINT_GET_1284_ID (support not yet implemented)
2014-05-26 16:31:56 +02:00
Emmanuel Ledoux
1b54ecfc00
winpr-comm: replaced the cumbersome hashtable for defined COM defines by a simpler array[128]
2014-05-23 17:46:05 +02:00
Emmanuel Ledoux
5dc21b5604
winpr-comm: renamed waitMask WaitEventMask
...
winpr-comm: removed ReadIrpQueue
2014-05-23 15:55:44 +02:00
Emmanuel Ledoux
a36467c353
winpr-comm: don't loop yet on IOCTL_SERIAL_WAIT_ON_MASK
2014-05-23 15:16:07 +02:00
Emmanuel Ledoux
1cb1fd6764
winpr-comm: IOCTL_SERIAL_SET_XON / IOCTL_SERIAL_SET_XOFF not supposed to be supported by SerCx2.sys
2014-05-23 15:06:15 +02:00
Emmanuel Ledoux
4feafcc40d
winpr-comm: got IOCTL_SERIAL_SET_XOFF and IOCTL_SERIAL_SET_XON
2014-05-23 13:04:43 +02:00
Emmanuel Ledoux
ee268a92ee
serial: got a thread per IRP
...
winpr-comm: got IOCTL_SERIAL_GET_COMMSTATUS, IOCTL_SERIAL_SET_BREAK_ON and IOCTL_SERIAL_SET_BREAK_OFF
winpr-comm: tcdrain called by CommWriteFile() :(
2014-05-23 12:27:09 +02:00
Emmanuel Ledoux
9639da0067
serial: first steps to get a thread per IRP as a proof of concept. A bit of synchronization is still required.
2014-05-21 10:36:55 +02:00
Emmanuel Ledoux
baf4896a38
serial: got rid of most the warning message with MAKE_BUILD_TYPE=Release
...
winpr-comm: consolidated _set_handflow()/_get_handflow()
winpr-comm: introduced a permissive mode
winpr-comm: implementation of IOCTL_SERIAL_WAIT_ON_MASK still in progress
2014-05-19 16:53:57 +02:00
Emmanuel Ledoux
8179affea9
winpr-comm: got IOCTL_SERIAL_PURGE
2014-05-14 21:21:31 +02:00
Emmanuel Ledoux
6cc44ff112
winpr-comm: got IOCTL_SERIAL_SET_QUEUE_SIZE
2014-05-14 17:30:29 +02:00
Emmanuel Ledoux
4243928c2e
winpr-comm: fixed _set_lines() / _clear_lines()
...
winpr-comm: got IOCTL_SERIAL_SET_WAIT_MASK / IOCTL_SERIAL_GET_WAIT_MASK and a non-blocking version of IOCTL_SERIAL_WAIT_ON_MASK
2014-05-14 16:29:10 +02:00
Emmanuel Ledoux
116995f865
wimpr-comm: got IOCTL_SERIAL_GET_MODEMSTATUS
2014-05-13 17:27:51 +02:00
Emmanuel Ledoux
7ec15d9683
serial: removed the Write thread (kept the read and main threads)
...
serial: better closing
2014-05-13 15:12:14 +02:00
Emmanuel Ledoux
7e36374a89
serial: attempt to use two additional threads for read and write requests
...
winpr-comm: fixed CommWriteFile
2014-05-13 14:55:30 +02:00
Emmanuel Ledoux
881370a338
winpr-comm: got IOCTL_SERIAL_SET_RTS / IOCTL_SERIAL_CLR_RTS
2014-05-12 20:33:33 +02:00
Emmanuel Ledoux
7684ff7bd4
winpr-comm: got IOCTL_SERIAL_SET_DTR / IOCTL_SERIAL_CLR_DTR
2014-05-12 20:16:13 +02:00
Emmanuel Ledoux
7f9545f12e
serial: removed the extra byte sent with an empty OutputBuffer. At least Windows 2008R2 SP1 works better without it. Need to figure out why...
2014-05-12 19:21:06 +02:00
Emmanuel Ledoux
4c743de69c
winpr-comm: got IOCTL_SERIAL_SET_TIMEOUTS / IOCTL_SERIAL_GET_TIMEOUTS
...
serial redirection: use of winpr-comm's functions and not serial_tty.* anymore
2014-05-12 17:33:56 +02:00
Emmanuel Ledoux
ff4d7d569b
winpr-comm: slightly improved GetCommProperties()
2014-05-06 16:45:05 +02:00
Emmanuel Ledoux
c2b024512a
winpr-comm: got IOCTL_SERIAL_SET_HANDFLOW / IOCTL_SERIAL_GET_HANDFLOW
2014-05-06 16:08:58 +02:00
Emmanuel Ledoux
494b7e8f93
winpr-comm: fixed DCB's fBinary and fParity flags
2014-05-01 00:04:55 +02:00
Emmanuel Ledoux
feb4405941
wimpr-comm: got IOCTL_SERIAL_SET_LINE_CONTROL and IOCTL_SERIAL_GET_LINE_CONTROL
2014-04-29 22:25:07 +02:00
Emmanuel Ledoux
ee2339addc
winpr-comm: implemented IOCTL_SERIAL_SET_CHARS and IOCTL_SERIAL_GET_CHARS
2014-04-29 04:04:09 +02:00
Emmanuel Ledoux
fff1f22f8c
winpr-comm: completed GetCommProperties() (the underlying ioctl remains unfinished)
2014-04-28 22:56:25 +02:00
Emmanuel Ledoux
18dd3d3141
winpr-comm: tests are done according the "remote serial driver" in TestGetCommState/TestSetCommState
2014-04-28 22:32:27 +02:00
Emmanuel Ledoux
69eeeebe67
winpr-comm: got IOCTL_SERIAL_GET_BAUD_RATE and IOCTL_SERIAL_GET_PROPERTIES (partial)
...
winpr-comm: cleant up unit tests
2014-04-28 19:57:17 +02:00
Emmanuel Ledoux
e7f0185e69
- firt use of winpr-comm by the serial channel (not tested and not finalized)
2014-04-27 19:41:25 +02:00
Emmanuel Ledoux
6fcc1b4478
winpr-comm: first import of comm_ioctl.h and the REMOTE_SERIAL_DRIVER type.
2014-04-25 00:20:48 +02:00
Emmanuel Ledoux
21f9bfeb6c
winpr-comm: First implementation of CommCreateFileA()
...
winpr-comm: Implementation of GetCommState()/SetCommState() in progress (BaudRate, fBinary and fParity done)
2014-04-22 17:04:07 +02:00
Emmanuel Ledoux
346c598bbe
Introduced RegisterHandleCreator() to be used with CreateFile()
2014-04-22 17:00:14 +02:00
Emmanuel Ledoux
7e44488e0a
winpr-file: introduced HANDLE_CREATOR type
...
winpr-comm: got a _CommHandleCreator
2014-04-18 19:25:25 +02:00
Emmanuel Ledoux
f9fc107c20
new functions: DefineCommDevice / QueryCommDevice / IsCommDevice
2014-04-18 17:18:08 +02:00
Emmanuel Ledoux
75ff8fd9a4
add tchar function: _tcsncmp
2014-04-18 15:04:11 +02:00
Emmanuel Ledoux
d866d37d3e
added TAGS to .gitignore
2014-04-09 16:43:41 +02:00
Marc-André Moreau
82ed4f0f38
libwinpr-comm: initial stubs
2014-04-02 15:51:28 -04:00
Marc-André Moreau
8bf5559f51
Merge pull request #1764 from awakecoding/ports
...
Serial Port Improvements
2014-04-01 21:37:25 -04:00
Marc-André Moreau
42a88b93dd
libfreerdp-crypto: fix tls_verify_certificate declaration
2014-04-01 21:17:44 -04:00
Marc-André Moreau
56d75ac892
libfreerdp-core: fix non-C89 declaration
2014-04-01 20:56:34 -04:00
Marc-André Moreau
8083350aaa
channels/serial: remove debug output
2014-04-01 16:49:09 -04:00
Marc-André Moreau
55e381696e
Merge branch 'master' of github.com:awakecoding/FreeRDP into ports
2014-04-01 16:28:39 -04:00