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.