[SATLUG] raw output to /dev/ttyUSB1?
Tweeks
tweeksjunk2 at theweeks.org
Wed Apr 2 01:05:45 CDT 2008
On Tuesday 01 April 2008 11:10:00 pm FIRESTORM_v1 wrote:
> Well, not much progress has been made with the Sprint Aircard and the GPS
> project that I have been working on. Stupid work keeps getting in the way.
> ;P
>
> I have a printout of the hex codes sent down the line to the aircard and
> the responses from the aircard in Windows and the printout is in hex/ASCII,
> but a lot of the codes are control codes that don't translate to any text
> commands.
>
> So, is there any way to directly write these unknown codes to the serial
> port using something like Minicom? (like Hex 00, 0F,01,05,etc?)
echo them out to the serial device...
First.. figure out your "message":
$ echo -e '\x54\x57\x45\x45\x4B\x53'
TWEEKS
Then point it where you want it:
$ echo -e '\x54\x57\x45\x45\x4B\x53' > /dev/ttyS0
(COM1 in PC weenie lingo)
This what you're looking for?
If you need to ref your ascii table.. see:
$ man ascii
Handy old time man page..
:)
Tweeks
More information about the SATLUG
mailing list