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

112 Commits

Author SHA1 Message Date
John Harrison
119be4630e Testing the new buffer 2012-01-30 14:53:33 -06:00
John Harrison
7b027d39ef Merge branch 'stringbuffer' into boostless 2012-01-30 14:44:43 -06:00
William Woodall
cea751402e Adding some linux specific fixes. fixes #13 2012-01-29 15:41:38 -06:00
William Woodall
dc556c9f25 Merge branch 'boostless' into stringbuffer 2012-01-28 15:36:28 -06:00
William Woodall
c3a82750e6 Some small changes to fix things discovered while testing serial listener. 2012-01-28 14:39:55 -06:00
John Harrison
d8874120a5 Change the buffer to a generic C++ std::string 2012-01-27 20:21:10 -06:00
William Woodall
f610fb79ff fixing empty token bug, and adding some debugging stuff. 2012-01-24 23:05:28 -06:00
William Woodall
0d464469cc Serial listener tests complete and working 2012-01-24 14:19:09 -06:00
John Harrison
bca4eba672 Reverting the deletion of the baud rate validation. 2012-01-24 12:26:03 -06:00
William Woodall
20f552bc80 Got some serial listener tests working 2012-01-24 12:20:46 -06:00
John Harrison
6983d1145f Merge branch 'boostless' of github.com:wjwwood/serial into boostless 2012-01-23 16:18:04 -06:00
John Harrison
9b0fdfc2f5 Validate bauds and add the ability to set custom bauds. 2012-01-23 16:17:57 -06:00
William Woodall
35c93caf42 Still working on the tests 2012-01-23 15:28:01 -06:00
John Harrison
c5de0744e6 Merge branch 'boostless' of github.com:wjwwood/serial into boostless 2012-01-23 14:28:53 -06:00
William Woodall
2be24ab23c Merge branch 'boostless' of https://github.com/wjwwood/serial into boostless 2012-01-23 14:28:19 -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
William Woodall
0ea153a9b4 Updating tests while on the mac 2012-01-23 14:28:14 -06:00
Scott Martin
cac9ae42c0 Updating tests while testing on linux 2012-01-23 14:23:01 -06:00
John Harrison
8b2c7d4359 Updating the error handling. 2012-01-23 13:09:14 -06:00
John Harrison
382a7f68b0 Merge branch 'boostless' of github.com:wjwwood/serial into boostless 2012-01-23 11:55:34 -06:00
John Harrison
5324caf2a3 Updating the example to allow variable bauds 2012-01-23 11:55:17 -06:00
William Woodall
da2307c8a6 Fixing message in serial_example. 2012-01-23 11:05:19 -06:00
William Woodall
241daf3073 working on tests and stuff 2012-01-23 09:54:31 -06:00
John Harrison
976307626d Trying to do a first pass to make this thread safe… not sure… 2012-01-17 15:52:57 -06:00
John Harrison
fe61b346da Fixing timeouts, there were not functioning correctly. 2012-01-17 12:35:32 -06:00
William Woodall
04f81f23ed Fixing another issue with the default handler setter. 2012-01-15 20:54:39 -06:00
William Woodall
1bceb66e0e Fixing serial manifest.xml for ROS and replacing an accidental missing function 2012-01-15 20:48:21 -06:00
William Woodall
154ef46c20 Fixing exception handler setting function 2012-01-15 17:32:33 -06:00
William Woodall
214b763664 Merge branch 'boostless' of https://github.com/wjwwood/serial into boostless
Conflicts:
	include/serial/serial_listener.h
2012-01-15 16:19:51 -06:00
William Woodall
31d0913410 Removing dead code. 2012-01-15 16:18:42 -06:00
John Harrison
66036f21c2 Merge branch 'boostless' of github.com:wjwwood/serial into boostless
Conflicts:
	include/serial/serial_listener.h
	src/impl/unix.cc
2012-01-15 02:09:24 -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
William Woodall
5ec0707418 Changed the stopListening function, now it no longer removes filters, just stops listening and cleans the data buffer of partial messages. 2012-01-14 21:24:48 -06:00
William Woodall
ae3e4a1f51 Fixing compile errors with serial listener. 2012-01-14 21:01:55 -06:00
William Woodall
4afa6e2e7c Fixing Findserial.cmake and updating serial_listener.h to remove unused functions. 2012-01-14 20:52:50 -06:00
William Woodall
dc53f3d132 Fixing a warning. 2012-01-13 15:39:17 -06:00
John Harrison
87cd030615 Merge branch 'boostless' of github.com:wjwwood/serial into boostless 2012-01-13 11:58:40 -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
William Woodall
760784e730 Updating ROS make system. 2012-01-13 11:40:59 -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
6011f2847c Adding doxygen support. 2012-01-13 10:32:25 -06:00
William Woodall
a870d49b10 Fixed all of the warnings from serial_listener 2012-01-13 10:09:49 -06:00
William Woodall
0046f3f61f Cleanup of code base 2012-01-13 09:08:09 -06:00
William Woodall
4cdb42987f Removing vestigial files. 2012-01-13 09:03:39 -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
ea3e19a1a0 Enabling warnings, to make sure things are good. 2012-01-12 16:43:53 -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
368eb0d83c Quieting tests for now 2012-01-12 01:18:09 -06:00