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

351 Commits

Author SHA1 Message Date
Mike Purvis
d8a1ef4ecf Rename now function to timespec_now and timeout_time to expiry, for greater clarity. 2013-10-31 19:43:49 -04:00
Mike Purvis
6747711632 Implement MillisecondTimer in the unix read() and write() functions. 2013-10-31 19:43:49 -04:00
Mike Purvis
16a024691b Add MillisecondTimer class. 2013-10-31 19:43:49 -04:00
William Woodall
dd7259149f if not windows guard for unix.h 2013-10-30 11:54:59 -07:00
William Woodall
e8f913b4a4 Contributor notice 2013-10-30 11:53:06 -07:00
William Woodall
348cb9bdc5 fix broken ifdef _WIN32 2013-10-30 11:42:59 -07:00
William Woodall
092836d78f [style] whitespace changes only 2013-10-30 11:42:35 -07:00
William Woodall
5a43c628df Merge branch 'master' of https://github.com/bakercp/serial into bakercp-master 2013-10-30 10:49:07 -07:00
William Woodall
22f5e302be fix warnings about uninitialized class members 2013-10-28 15:10:38 -07:00
William Woodall
32b3631285 [style] white space clean up 2013-10-28 15:09:53 -07:00
Christopher Baker
0e5f7fa317 Fix broken ioctl calls, add exception handling. 2013-10-27 18:50:06 -05:00
Christopher Baker
9d04c09f10 Code guards for platform-specific implementations.
(when not using cmake / catkin)
2013-10-27 18:49:07 -05:00
Christopher Baker
5bcbbfb09c Explicit using. 2013-10-27 18:42:53 -05:00
William Woodall
d06b2f94dd "1.1.6" 1.1.6 2013-10-17 11:13:00 -07:00
William Woodall
3d0537ceb8 update changelog 2013-10-17 11:12:18 -07:00
William Woodall
863aee8795 Merge pull request #41 from clearpathrobotics/one-point-five-fix
Fix aliasing of stopbits_one_point_five
2013-10-09 10:47:57 -07:00
Mike Purvis
8f01d23249 Move stopbits_one_point_five to the end of the enum, so that it doesn't alias with stopbits_two. 2013-10-06 01:24:42 -04:00
William Woodall
0c7a1f59c3 1.1.5 1.1.5 2013-09-23 21:20:33 -07:00
William Woodall
dc9282862c updating changelogs 2013-09-23 21:20:22 -07:00
William Woodall
f1885c60c0 Merge pull request #38 from wmhilton/master
Windows build instructions
2013-08-28 16:30:17 -07:00
William Woodall
bed25fd8a2 Fix license labeling, I put BSD, but the license has always been MIT... 2013-08-28 15:01:13 -07:00
William Hilton
737cf2a04d Added Microsoft Visual Studio 2010 project to make compiling on Windows easier. 2013-08-25 19:22:11 -04:00
William Woodall
ae34a17364 Merge pull request #33 from wjwwood/fix_custom_baudrate_osx
Update how custom baudrates are handled on OS X
2013-08-13 13:53:14 -07:00
William Woodall
a20acb2a00 Merge pull request #35 from daniser/patch-1
Implemented Serial::available() for Windows
2013-08-06 17:38:24 -07:00
daniser
079615f11f Update win.cc 2013-08-06 02:08:22 +03:00
daniser
125c105e3f Implemented Serial::available() for Windows 2013-08-06 01:28:46 +03:00
William Woodall
c455d053bf Fixup unix case for strerror 2013-08-02 14:24:39 -07:00
William Woodall
e11abb04f2 Fix compiler warnings on Windows 2013-08-02 21:20:25 -07:00
William Woodall
3db36faa14 Update how custom baudrates are handled on OS X
This is taken from the example serial program
on Apple's developer website, see:

http://free-pascal-general.1045716.n5.nabble.com/Non-standard-baud-rates-in-OS-X-IOSSIOSPEED-IOCTL-td4699923.html
2013-07-31 16:54:15 -07:00
William Woodall
3292f2b682 Fix up linking on Linux for the tests
Conflicts:
	CMakeLists.txt
	tests/serial_tests.cc
2013-07-31 16:52:19 -07:00
William Woodall
e1138fda9e Merge pull request #32 from wjwwood/fix_timeout_windows
Setting timeout throws an exception on Windows
2013-07-30 16:17:00 -07:00
William Woodall
2143e8d475 Apply the timeout settings with reconfigurePort 2013-07-30 14:08:06 -07:00
William Woodall
a0a586cf5b [style] always use curly braces with if statements 2013-07-30 14:04:30 -07:00
William Woodall
329545b282 Merge pull request #30 from wjwwood/fix_wstring_windows
Fix wide string usage in Windows impl
2013-07-30 11:26:31 -07:00
William Woodall
9d20d1a07f convert wstring into string when printing 2013-07-30 11:06:47 -07:00
William Woodall
7e04501d99 Merge pull request #31 from nbigaouette/fix_doc
Fix a typo in documentation
2013-07-30 11:02:29 -07:00
Nicolas Bigaouette
1e09770d8b Fix typo in documentation 2013-07-30 13:45:47 -04:00
William Woodall
82884ca519 Pass LPCWSTR to CreateFile in Windows impl
This should fix #29
2013-07-30 10:31:15 -07:00
William Woodall
ffc3028289 Use wstring for port_ type in Windows impl 2013-07-30 10:30:46 -07:00
William Woodall
dca4bd163e 1.1.4 1.1.4 2013-06-20 14:10:49 -07:00
William Woodall
7f03d8d804 Fixing up CHANGELOG.rst for 1.1.4 2013-06-20 14:10:38 -07:00
William Woodall
db0947e242 Update package.xml 2013-06-12 00:13:18 -06:00
William Woodall
516a5c7e82 Fixed another Exception misspelling. 2013-06-11 17:05:24 -07:00
William Woodall
308be5b337 Merge pull request #25 from wjwwood/fix_exceptions
fix, by Thomas Hoppe <thomas.hoppe@cesys.com>
2013-06-11 14:40:18 -07:00
William Woodall
4291db0b30 Adding changelog 2013-06-11 14:18:23 -07:00
William Woodall
947f1937d6 Merge pull request #28 from wjwwood/issue_27
Potential timing fix for read and write.
2013-05-23 09:45:13 -07:00
William Woodall
060634bf91 Potential timing fix for read and write.
Fixes #27
2013-05-22 21:45:20 -07:00
William Woodall
4ed3889979 Merge pull request #26 from trainman419/master
Update list of exceptions thrown from constructor.
2013-05-22 11:43:39 -07:00
trainman419
31e07fdb99 Update list of exceptions thrown from constructor. 2013-05-21 00:00:31 -07:00
William Woodall
2b4bafbfd2 fix, by Thomas Hoppe <thomas.hoppe@cesys.com>
For SerialException's:

- The name was misspelled…
- Use std::string's for error messages to prevent corruption of messages on some platforms
2013-05-08 13:52:28 -07:00