Hans-Christoph Steiner
89c6b6c6a7
added siretart's gbp.conf file to force prisine-tar with git-buildpackage
...
svn path=/trunk/externals/iem/comport/; revision=13840
2010-08-19 16:33:59 +00:00
Hans-Christoph Steiner
fd7993e98a
get building with debuild
...
svn path=/trunk/externals/iem/comport/; revision=13831
2010-08-18 23:21:15 +00:00
Hans-Christoph Steiner
4b0297cb1d
debianized using the library template
...
svn path=/trunk/externals/iem/comport/; revision=13824
2010-08-17 19:32:22 +00:00
Hans-Christoph Steiner
87b596349f
switched %f to %g in warning/error messages so that trailing 0s don't get printed
...
svn path=/trunk/externals/iem/comport/; revision=13227
2010-03-18 03:03:30 +00:00
Hans-Christoph Steiner
756fc5b17b
added support for 'Abstract Control Model' tty's for things like the Arduino Teensy that use USB-CDC
...
svn path=/trunk/externals/iem/comport/; revision=13225
2010-03-18 02:03:27 +00:00
Martin Peach
6609bc6fbd
Checks that the port is open before writing to its buffer.
...
svn path=/trunk/externals/iem/comport/; revision=13221
2010-03-17 20:39:20 +00:00
Martin Peach
ad24c79d3e
seems MinGW and VC don't agree on the content of an OVERLAPPED struct.
...
svn path=/trunk/externals/iem/comport/; revision=13143
2010-02-04 16:25:38 +00:00
Martin Peach
217e4a430c
Got rid of some more warnings in the MinGW version.
...
svn path=/trunk/externals/iem/comport/; revision=13142
2010-02-03 17:39:14 +00:00
Martin Peach
14e6f856c5
Got rid of a warning about the float com_num being printed as int by printing it as float.
...
svn path=/trunk/externals/iem/comport/; revision=13133
2010-02-02 17:52:41 +00:00
Martin Peach
1315bde6fb
sprintf_s only works on MSVC. MinGW uses sprintf.
...
svn path=/trunk/externals/iem/comport/; revision=13132
2010-02-02 17:40:22 +00:00
Martin Peach
331644089a
Changed some sprintf calls to sprintf_s in the _WIN32 sections.
...
svn path=/trunk/externals/iem/comport/; revision=13129
2010-02-01 21:31:12 +00:00
Martin Peach
0c9dd479c6
Use a 16384-byte buffer for send and another for receive. Read and write 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-02-01 21:13:58 +00:00
IOhannes m zmölnig
7e89880e44
fix build-bug introduced by mrpeach's multibyte read
...
svn path=/trunk/externals/iem/comport/; revision=13121
2010-01-31 14:10:12 +00:00
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