mikeage.net Logo
mikeage.net/content/software/toser/

mikeage.net @ ז' אייר תשס"ח

ToSer

As a followup to my LogSer application, I had a need to send data to the serial port. I came up with the following solution, which works for Windows only (b/c 90% of the interesting code is the low level serial interface, it would be totally different on Linux).

The code can be downloaded in either Source Code form, or as a Compiled EXE . To compile the source for yourself, simply run cl ToSer.cpp to compile with MS's Visual Studio command line compilers.

Anything sent to stdin will simply be dumped to the designed serial port.

Usage:
Run toser.exe <com port> <options> where options are:

  • -b Specify the bitrate
  • -p Specify parity settings (8n1, 7e2, etc)

Download:

Leave a Reply

Verification Image

Please type the letters you see in the picture. This field is case-insensitive, and valid letters are A-Z (no numbers)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Quicktags:

Quick Map
Content +
Personal +
Archives +
Site Stuff +
RBS Weather +
Search +
New Images
Visitors
Clustermap
Blogroll

Valid XHTML 1.1!
Printer Friendly Page
 

Last Modified: September 04, 2006 @ 09:11 CST