Commit graph

259 commits

Author SHA1 Message Date
Martin Peach
6fa08ba7a3 Attempt to make reception more efficient in linux by reading the number of bytes actually available instead of one at a time. Added an rxerrors output for the info message. First 10 rxerrors print to console with errno/LastError.
svn path=/trunk/externals/iem/comport/; revision=13118
2010-01-29 03:56:46 +00:00
Hans-Christoph Steiner
ebc39b9349 replaced -export_dynamic with --export-dynamic and -Wl,--export-dynamic where
appropriate.  It seems that once upon a time -export_dynamic was a real flag.
Now it means -e xport_dynamic, meaning set the entry symbol to xport_dynamic,
giving this error message:

/usr/bin/ld: warning: cannot find entry symbol xport_dynamic; defaulting to 0000000000001b60

svn path=/trunk/externals/iem/comport/; revision=11724
2009-06-09 17:34:48 +00:00
musil
2d25fda968 win return
svn path=/trunk/externals/iem/comport/; revision=11388
2009-05-16 02:09:59 +00:00
musil
ca7d56b329 win return
svn path=/trunk/externals/iem/comport/; revision=11387
2009-05-16 02:09:13 +00:00
Hans-Christoph Steiner
d0c8651f69 removed extraneous test
svn path=/trunk/externals/iem/comport/; revision=11368
2009-05-14 20:19:39 +00:00
Hans-Christoph Steiner
c29a8fa5a1 made [comport] handle arguments more gracefully and made it throw an error if it can't open the serial port
svn path=/trunk/externals/iem/comport/; revision=11367
2009-05-14 20:17:33 +00:00
IOhannes m zmölnig
34873c90ba fixed mrpeach's changes so that now it compiles again on non-win32
svn path=/trunk/externals/iem/comport/; revision=10305
2008-09-21 13:23:12 +00:00
Martin Peach
1b05e2f7a4 cleaned up the help patch some more...
svn path=/trunk/externals/iem/comport/; revision=10290
2008-09-16 20:20:33 +00:00
Martin Peach
9fb73a2023 Fixed Windows stop bit settings (tracker# 1944125) so that 1, 1.5 or 2 stop bits can be set.
svn path=/trunk/externals/iem/comport/; revision=10289
2008-09-16 20:17:56 +00:00
Martin Peach
790cf21a9b Correctly set port index when opened by name on linux & OSX.
svn path=/trunk/externals/iem/comport/; revision=8991
2007-11-13 18:31:45 +00:00
IOhannes m zmölnig
d774d0fefc removed the "-Werror"
svn path=/trunk/externals/iem/comport/; revision=8830
2007-10-17 16:15:04 +00:00
Hans-Christoph Steiner
22575380ba made set_hupcl() dummy function so things build on WIN32
svn path=/trunk/externals/iem/comport/; revision=8804
2007-10-12 02:56:08 +00:00
Martin Peach
ef4e9582e1 Slight change at line 1017 to avoid unsigned/signed warning.
svn path=/trunk/externals/iem/comport/; revision=8803
2007-10-12 00:40:13 +00:00
Martin Peach
ea14c0fe89 Added list method and modified help patch. Changed hupcl so Windows doesn't see it.
svn path=/trunk/externals/iem/comport/; revision=8802
2007-10-11 21:06:09 +00:00
Hans-Christoph Steiner
dd2de83ed4 added HUPCL support in an attempt to get things working better with the Arduino Diecimila
svn path=/trunk/externals/iem/comport/; revision=8794
2007-10-10 00:20:56 +00:00
Martin Peach
f423522228 The ports message now outputs index / path pairs on the status outlet.
svn path=/trunk/externals/iem/comport/; revision=8209
2007-07-22 19:10:50 +00:00
Martin Peach
419fbce170 Added 'ports' method to output list of available ports on status outlet.
svn path=/trunk/externals/iem/comport/; revision=8155
2007-07-19 15:26:57 +00:00
Hans-Christoph Steiner
8fe1c3925c made devicename kludge more readable
svn path=/trunk/externals/iem/comport/; revision=7098
2006-12-29 05:41:10 +00:00
musil
f44fcefa9b for windows
svn path=/trunk/externals/iem/comport/; revision=6915
2006-12-15 13:36:13 +00:00
Hans-Christoph Steiner
34ea71056f added open status to the [info( report
svn path=/trunk/externals/iem/comport/; revision=6213
2006-11-02 04:25:54 +00:00
Martin Peach
1377d5dcf5 write_serial:
Windows version checks GetOverlappedResult to avoid Tx overruns


CVSCVS: Committing in .

svn path=/trunk/externals/iem/comport/; revision=6117
2006-10-16 21:30:29 +00:00
Martin Peach
8aae014491 baud settings include all posix names, windows allows any divisor
svn path=/trunk/externals/iem/comport/; revision=6072
2006-10-04 01:24:20 +00:00
Martin Peach
509a44d087 update to reflect new comport messages
svn path=/trunk/externals/iem/comport/; revision=6071
2006-10-04 01:22:47 +00:00
Martin Peach
a746afaa35 added devices message to enumerate available devices
info message outputs realtime status

svn path=/trunk/externals/iem/comport/; revision=6028
2006-09-26 04:12:11 +00:00
Martin Peach
766a32ebce update help file to match new messages
svn path=/trunk/externals/iem/comport/; revision=6027
2006-09-26 04:07:20 +00:00
Martin Peach
6def035410 Added comport_enum for Windows version
svn path=/trunk/externals/iem/comport/; revision=6011
2006-09-24 21:18:43 +00:00
Hans-Christoph Steiner
c2b89cde8e default baud rate was being set to 14400 while the message was saying 9600. It is now set to 9600 properly
svn path=/trunk/externals/iem/comport/; revision=5918
2006-09-11 22:36:50 +00:00
Hans-Christoph Steiner
3eedcabd4a added quick function to display the available ports using the [info( message. Yes, this is a quick hack
svn path=/trunk/externals/iem/comport/; revision=5751
2006-08-26 20:30:32 +00:00
Martin Peach
efb7b3b469 Added call to clock_delay in comport_devicename
svn path=/trunk/externals/iem/comport/; revision=5733
2006-08-24 16:48:49 +00:00
Hans-Christoph Steiner
69ceaa6384 Mac OS X less than 10.4 doesn't have some of these macros, so test for them before using them
svn path=/trunk/externals/iem/comport/; revision=5438
2006-07-31 03:12:37 +00:00
IOhannes m zmölnig
b528364600 added -fPIC for pd_linux to compile on amd64
svn path=/trunk/externals/iem/comport/; revision=5430
2006-07-29 14:18:23 +00:00
Martin Peach
72a8a5a77e updated to reflect new comport status
svn path=/trunk/externals/iem/comport/; revision=5363
2006-07-09 19:56:53 +00:00
Martin Peach
c087edd878 all status is output on second outlet
svn path=/trunk/externals/iem/comport/; revision=5362
2006-07-09 19:50:37 +00:00
Martin Peach
bb01aa88da *** empty log message ***
svn path=/trunk/externals/iem/comport/; revision=5283
2006-06-21 23:56:12 +00:00
Martin Peach
dd962bf7d8 *** empty log message ***
svn path=/trunk/externals/iem/comport/; revision=5282
2006-06-21 23:42:00 +00:00
Martin Peach
5b5d56d168 *** empty log message ***
svn path=/trunk/externals/iem/comport/; revision=5253
2006-06-18 19:20:48 +00:00
Hans-Christoph Steiner
44e9f1bc1a created stress test to look for bugs
svn path=/trunk/externals/iem/comport/; revision=5109
2006-05-22 18:14:38 +00:00
Hans-Christoph Steiner
8b90624de8 made [devicename( message open the port by devicename directly; commented out code for 2nd inlet for status because it was causing segfaults :-/
svn path=/trunk/externals/iem/comport/; revision=5107
2006-05-22 13:55:14 +00:00
Hans-Christoph Steiner
df122aae6a added serial port device name globbing for UNIX; added Piotr Majdak's Win32 improvements, they compile, but aren't tested yet; still need to update [devicename( message handling
svn path=/trunk/externals/iem/comport/; revision=5102
2006-05-21 13:35:20 +00:00
Winfried Ritsch
c022f3ec08 help and verbose method for debug
svn path=/trunk/externals/iem/comport/; revision=5043
2006-05-01 20:23:03 +00:00
Winfried Ritsch
b45704a38c no LF after last line, which some compilers complain ???
svn path=/trunk/externals/iem/comport/; revision=5042
2006-05-01 17:43:55 +00:00
Hans-Christoph Steiner
79b8f996c6 turned off asynchronous mode since this object is implemented to use synchronous mode; added up to COM40 (I wonder what the limit is?)
svn path=/trunk/externals/iem/comport/; revision=5035
2006-04-28 23:55:37 +00:00
Winfried Ritsch
6b4bddf139 release 1.0
svn path=/trunk/externals/iem/comport/; revision=4501
2006-01-27 09:43:09 +00:00
Winfried Ritsch
cb96304368 Text changes release 1.0
svn path=/trunk/externals/iem/comport/; revision=4500
2006-01-27 09:34:51 +00:00
Winfried Ritsch
61bcf94197 makefile updated
svn path=/trunk/externals/iem/comport/; revision=4499
2006-01-27 09:30:37 +00:00
Winfried Ritsch
fa52310976 mac makefile extension
svn path=/trunk/externals/iem/comport/; revision=4497
2006-01-26 15:48:28 +00:00
Hans-Christoph Steiner
eb87f5f946 replaced #elif with #else to fix compilation bug
svn path=/trunk/externals/iem/comport/; revision=4262
2005-12-20 21:27:56 +00:00
Winfried Ritsch
e7a3a98865 cleaned up some extra spaces, and changed LICENSE from GPL to LGPL because requested recently.
svn path=/trunk/externals/iem/comport/; revision=3999
2005-11-21 12:49:30 +00:00
Winfried Ritsch
a91fc99080 comments are now C- comments not C++
svn path=/trunk/externals/iem/comport/; revision=3998
2005-11-21 12:29:07 +00:00
Winfried Ritsch
663d95f64d bracket in #ifdef wrong
variable declaration  on wrong position

svn path=/trunk/externals/iem/comport/; revision=3997
2005-11-21 12:20:44 +00:00