1
0
mirror of https://github.com/wjwwood/serial.git synced 2026-01-22 11:44:53 +08:00

20 Commits

Author SHA1 Message Date
William Woodall
20f552bc80 Got some serial listener tests working 2012-01-24 12:20:46 -06:00
John Harrison
9b0fdfc2f5 Validate bauds and add the ability to set custom bauds. 2012-01-23 16:17:57 -06:00
John Harrison
49ae058770 Found an error in my buffering code and added a timeout
to write
2012-01-23 14:28:16 -06:00
John Harrison
8b2c7d4359 Updating the error handling. 2012-01-23 13:09:14 -06:00
William Woodall
241daf3073 working on tests and stuff 2012-01-23 09:54:31 -06:00
John Harrison
fe61b346da Fixing timeouts, there were not functioning correctly. 2012-01-17 12:35:32 -06:00
John Harrison
8f4b34cc03 Adding in an internal buffer to Serial, this is independent of the SerialImpl and buffers reads to help performance.
Also correcting my styles to match the style guide and adding in some documentation.
2012-01-15 02:06:38 -06:00
John Harrison
50972cbf41 Correcting some bad logic and making my test run forever to try to judge some basic performance characteristics. 2012-01-13 11:58:33 -06:00
John Harrison
f81268fdf0 Changed how the memory is allocated in the read operation and changed how the timeouts function. If the timeout is -1, then it will block until it finishes the reads. 2012-01-13 11:33:55 -06:00
William Woodall
0046f3f61f Cleanup of code base 2012-01-13 09:08:09 -06:00
John Harrison
c2ad2721f3 Fixing a number of warnings in the serial library. The SerialListener still needs some love. 2012-01-12 16:44:19 -06:00
John Harrison
8273b7e153 Correcting the behavior of Serial::setPort and anything that modifies stuff related to baud/parity/etc. 2012-01-12 13:03:26 -06:00
John Harrison
923cf7d14f Merge branch 'boostless' of github.com:wjwwood/serial into boostless
Conflicts:
	include/serial/impl/unix.h
	src/impl/unix.cc
	src/serial.cc
2012-01-12 12:54:45 -06:00
John Harrison
11807e407b Fixed some issues I found while testing my code, also implemented the drain, flush, set/send Break, get {CTS, RI, CD, DSR}, set {RTS, DTR} 2012-01-12 12:46:08 -06:00
William Woodall
48a30ec4ff Fixed some memory problems on destruction. Serial listener maybe working, serial's read doesn't seem to return anything or block at all. 2012-01-12 01:15:04 -06:00
William Woodall
65fc8fb2a4 Merge branch 'boostless' of github.com:wjwwood/serial into boostless
Conflicts:
	include/serial/impl/unix.h
	include/serial/serial.h
	serial.cmake
	src/impl/unix.cc
	src/serial.cc
2012-01-11 23:53:10 -06:00
William Woodall
7c0c976033 Still working on Serial listener refactor, not working, fixing to make big changes. 2012-01-11 23:07:58 -06:00
John Harrison
f14ac390bf Implemented write, readline, readlines and available 2012-01-11 21:53:26 -06:00
John Harrison
0a6aabe719 Adding in my unix implementation. reconfigurePort and read should probably work, but I haven't tested them yet. I am going to work on write later. 2012-01-11 17:48:31 -06:00
William Woodall
18284ae764 working on new boostless serial with a pimpl setup 2012-01-10 14:19:56 -06:00