wl-520gu usart - turn off echo

Discussion about my Wifi Radio project at http://mightyohm.com/wifiradio/ or my WL-520gU talk at NOTACON.
Post Reply
hub.martin
Posts: 13
Joined: Wed Oct 27, 2010 11:48 am

wl-520gu usart - turn off echo

Post by hub.martin »

Hello. I'm playing with serial line on the router. When I send text from the router I can read it on the computer. When I do it in the other way, from computer to router, the router sends me back all text that I sent to it. Do I forget something to turn off? I don't want echo from router because this will make parsing data on AVR more complicated. Any idea what's wrong?

The bash is disabled in inittab

Code: Select all

root@OpenWrt:~# cat /etc/inittab
::sysinit:/etc/init.d/rcS S boot
::shutdown:/etc/init.d/rcS K stop
#tts/0::askfirst:/bin/ash --login
#ttyS0::askfirst:/bin/ash --login
tty1::askfirst:/bin/ash --login
User avatar
mightyohm
Site Admin
Posts: 1064
Joined: Fri Apr 03, 2009 10:29 pm
Location: Seattle, WA
Contact:

Re: wl-520gu usart - turn off echo

Post by mightyohm »

Try stty -echo < /dev/tts/0
hub.martin
Posts: 13
Joined: Wed Oct 27, 2010 11:48 am

Re: wl-520gu usart - turn off echo

Post by hub.martin »

Thanks, I'll try it at the weekend.
User avatar
mightyohm
Site Admin
Posts: 1064
Joined: Fri Apr 03, 2009 10:29 pm
Location: Seattle, WA
Contact:

Re: wl-520gu usart - turn off echo

Post by mightyohm »

did it work?
hub.martin
Posts: 13
Joined: Wed Oct 27, 2010 11:48 am

Re: wl-520gu usart - turn off echo

Post by hub.martin »

Yes, absolutely! Thank you.
Post Reply