On Tue, 2012-07-31 at 17:32 +1000, Ankur Sinha wrote: > Hi Shakti, > >
I think I managed to get it to work (completely by random
experimentation):
> [root@ankur ~]# stty -F /dev/ttyUSB0 921600 clocal
> [root@ankur ~]# chmod 0777 /dev/ttyUSB0
> [ankur@ankur Navchip]$ echo -ne "\xA5\x00\x5b" > /dev/ttyUSB0 #PING
>
> [ankur@ankur Navchip]$ echo -ne "\xA5\x05\x56" > /dev/ttyUSB0 # start
> streaming
I had cat /dev/ttyUSB0 > log.txt in another terminal, and the file is
full of data :D
I still need to understand what I exactly did, and why it worked etc.,
but I'm sure the web will have this info.
--
Thanks again,
Warm regards,
Ankur: "FranciscoD"
Please only print if necessary.
Looking to contribute to Fedora? Look here:
https://fedoraproject.org/wiki/Fedora_Join_SIG
http://fedoraproject.org/wiki/User:Ankursinha
http://dodoincfedora.wordpress.com/
signature.asc
Description: This is a digitally signed message part
_______________________________________________ electronic-lab mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/electronic-lab
