Good day. There is a task. Receive / send data from Arduino MC to computer. There is a bunch of comp (Windows) -> routers with OpenWrt -> and an Arduino connected to it via USB.
Access to the router from a computer via SSH. I checked using putty:
echo 123 > /dev/ttyACM0 // отправить строку cat /dev/ttyACM0 // получить ответ Everything works fine. But I need to get to do this in my application written in C # WPF. Now I understand the connection via SSH to the router. Tell me how to do this? Tried to use the Tamir.SharpSsh library , but with
SshStream ssh = new SshStream(host, user, pass); hangs and does not react.
Tell me how to implement it or at least in which direction to dig?!
Thank.