aboutsummaryrefslogtreecommitdiff
path: root/comport/comport.c
AgeCommit message (Collapse)Author
2010-08-17debianized using the library templateHans-Christoph Steiner
svn path=/trunk/externals/iem/comport/; revision=13824
2010-03-18switched %f to %g in warning/error messages so that trailing 0s don't get ↵Hans-Christoph Steiner
printed svn path=/trunk/externals/iem/comport/; revision=13227
2010-03-18added support for 'Abstract Control Model' tty's for things like the Arduino ↵Hans-Christoph Steiner
Teensy that use USB-CDC svn path=/trunk/externals/iem/comport/; revision=13225
2010-03-17Checks that the port is open before writing to its buffer.Martin Peach
svn path=/trunk/externals/iem/comport/; revision=13221
2010-02-04seems MinGW and VC don't agree on the content of an OVERLAPPED struct. Martin Peach
svn path=/trunk/externals/iem/comport/; revision=13143
2010-02-03Got rid of some more warnings in the MinGW version. Martin Peach
svn path=/trunk/externals/iem/comport/; revision=13142
2010-02-02Got rid of a warning about the float com_num being printed as int by ↵Martin Peach
printing it as float. svn path=/trunk/externals/iem/comport/; revision=13133
2010-02-02sprintf_s only works on MSVC. MinGW uses sprintf.Martin Peach
svn path=/trunk/externals/iem/comport/; revision=13132
2010-02-01Changed some sprintf calls to sprintf_s in the _WIN32 sections.Martin Peach
svn path=/trunk/externals/iem/comport/; revision=13129
2010-02-01Use a 16384-byte buffer for send and another for receive. Read and write ↵Martin Peach
occur during comport_tick(), the clock callback, so any data written since the previous tick will be sent in a single write. Callback rate is now adjustable via the [pollintervall( message which defaults to 1ms (usually that's faster than the dsp block rate so the dsp rate takes precedence.) svn path=/trunk/externals/iem/comport/; revision=13128
2010-01-31fix build-bug introduced by mrpeach's multibyte readIOhannes m zmölnig
svn path=/trunk/externals/iem/comport/; revision=13121
2010-01-29Attempt to make reception more efficient in linux by reading the number of ↵Martin Peach
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
2009-05-14removed extraneous testHans-Christoph Steiner
svn path=/trunk/externals/iem/comport/; revision=11368
2009-05-14made [comport] handle arguments more gracefully and made it throw an error ↵Hans-Christoph Steiner
if it can't open the serial port svn path=/trunk/externals/iem/comport/; revision=11367
2008-09-21fixed mrpeach's changes so that now it compiles again on non-win32IOhannes m zmölnig
svn path=/trunk/externals/iem/comport/; revision=10305
2008-09-16Fixed Windows stop bit settings (tracker# 1944125) so that 1, 1.5 or 2 stop ↵Martin Peach
bits can be set. svn path=/trunk/externals/iem/comport/; revision=10289
2007-11-13Correctly set port index when opened by name on linux & OSX.Martin Peach
svn path=/trunk/externals/iem/comport/; revision=8991
2007-10-12made set_hupcl() dummy function so things build on WIN32Hans-Christoph Steiner
svn path=/trunk/externals/iem/comport/; revision=8804
2007-10-12Slight change at line 1017 to avoid unsigned/signed warning.Martin Peach
svn path=/trunk/externals/iem/comport/; revision=8803
2007-10-11Added list method and modified help patch. Changed hupcl so Windows doesn't ↵Martin Peach
see it. svn path=/trunk/externals/iem/comport/; revision=8802
2007-10-10added HUPCL support in an attempt to get things working better with the ↵Hans-Christoph Steiner
Arduino Diecimila svn path=/trunk/externals/iem/comport/; revision=8794
2007-07-22The ports message now outputs index / path pairs on the status outlet.Martin Peach
svn path=/trunk/externals/iem/comport/; revision=8209
2007-07-19Added 'ports' method to output list of available ports on status outlet.Martin Peach
svn path=/trunk/externals/iem/comport/; revision=8155
2006-12-29made devicename kludge more readableHans-Christoph Steiner
svn path=/trunk/externals/iem/comport/; revision=7098
2006-11-02added open status to the [info( reportHans-Christoph Steiner
svn path=/trunk/externals/iem/comport/; revision=6213
2006-10-16write_serial:Martin Peach
Windows version checks GetOverlappedResult to avoid Tx overruns CVSCVS: Committing in . svn path=/trunk/externals/iem/comport/; revision=6117
2006-10-04baud settings include all posix names, windows allows any divisorMartin Peach
svn path=/trunk/externals/iem/comport/; revision=6072
2006-09-26added devices message to enumerate available devicesMartin Peach
info message outputs realtime status svn path=/trunk/externals/iem/comport/; revision=6028
2006-09-24Added comport_enum for Windows versionMartin Peach
svn path=/trunk/externals/iem/comport/; revision=6011
2006-09-11default baud rate was being set to 14400 while the message was saying 9600. ↵Hans-Christoph Steiner
It is now set to 9600 properly svn path=/trunk/externals/iem/comport/; revision=5918
2006-08-26added quick function to display the available ports using the [info( ↵Hans-Christoph Steiner
message. Yes, this is a quick hack svn path=/trunk/externals/iem/comport/; revision=5751
2006-08-24Added call to clock_delay in comport_devicenameMartin Peach
svn path=/trunk/externals/iem/comport/; revision=5733
2006-07-31Mac OS X less than 10.4 doesn't have some of these macros, so test for them ↵Hans-Christoph Steiner
before using them svn path=/trunk/externals/iem/comport/; revision=5438
2006-07-09all status is output on second outletMartin Peach
svn path=/trunk/externals/iem/comport/; revision=5362
2006-06-21*** empty log message ***Martin Peach
svn path=/trunk/externals/iem/comport/; revision=5282
2006-06-18*** empty log message ***Martin Peach
svn path=/trunk/externals/iem/comport/; revision=5253
2006-05-22made [devicename( message open the port by devicename directly; commented ↵Hans-Christoph Steiner
out code for 2nd inlet for status because it was causing segfaults :-/ svn path=/trunk/externals/iem/comport/; revision=5107
2006-05-21added serial port device name globbing for UNIX; added Piotr Majdak's Win32 ↵Hans-Christoph Steiner
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-01help and verbose method for debugWinfried Ritsch
svn path=/trunk/externals/iem/comport/; revision=5043
2006-05-01no LF after last line, which some compilers complain ???Winfried Ritsch
svn path=/trunk/externals/iem/comport/; revision=5042
2006-04-28turned off asynchronous mode since this object is implemented to use ↵Hans-Christoph Steiner
synchronous mode; added up to COM40 (I wonder what the limit is?) svn path=/trunk/externals/iem/comport/; revision=5035
2006-01-27Text changes release 1.0Winfried Ritsch
svn path=/trunk/externals/iem/comport/; revision=4500
2005-12-20replaced #elif with #else to fix compilation bugHans-Christoph Steiner
svn path=/trunk/externals/iem/comport/; revision=4262
2005-11-21cleaned up some extra spaces, and changed LICENSE from GPL to LGPL because ↵Winfried Ritsch
requested recently. svn path=/trunk/externals/iem/comport/; revision=3999
2005-11-21comments are now C- comments not C++Winfried Ritsch
svn path=/trunk/externals/iem/comport/; revision=3998
2005-11-21bracket in #ifdef wrongWinfried Ritsch
variable declaration on wrong position svn path=/trunk/externals/iem/comport/; revision=3997
2005-11-07iohannes said i have to do a splash text, so i did .....Winfried Ritsch
svn path=/trunk/externals/iem/comport/; revision=3855
2005-10-27optional WINDOWS2000 Patch und commentsWinfried Ritsch
svn path=/trunk/externals/iem/comport/; revision=3767
2005-04-13Dont fail if no serial device, but dont open.Winfried Ritsch
svn path=/trunk/externals/iem/comport/; revision=2758
2005-04-12This commit was generated by cvs2svn to compensate for changes in r2726,svn2git-rootWinfried Ritsch
which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/iem/comport/; revision=2727