Initial revision.

This commit is contained in:
curt
1998-11-16 13:53:01 +00:00
parent 2091bf2144
commit 0b7d4c8c1e
4 changed files with 263 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#include <string>
#include "serial.hxx"
main () {
fgSERIAL port( "/dev/ttyS1", 4800);
string value;
port.write_port("ATDT 626-9800\n");
while ( true ) {
value = port.read_port();
if ( value.length() ) {
cout << "-> " << value << endl;
}
}
}