Changed set to 115200 command to be in line with Flexi.
This commit is contained in:
@@ -395,7 +395,7 @@ namespace AiQ_GUI
|
||||
{
|
||||
try
|
||||
{
|
||||
string Cmd = "sudo sh -c \"stty -F /dev/ttyInfrared 9600 cs8 -cstopb -parenb -ixon -ixoff -crtscts -icanon -echo -opost; echo '81 01 04 01 03 FF' | xxd -r -p > /dev/ttyInfrared\"";
|
||||
string Cmd = "sudo sh -c \"stty -F /dev/ttyInfrared 9600 raw -echo -echoe -echok -echoctl -echoke -iexten -onlcr ignbrk cs8 -cstopb -parenb; echo '81 01 04 01 04 FF' | xxd -r -p > /dev/ttyInfrared\"";
|
||||
SshClient client = SshConnect(IPAddress);
|
||||
|
||||
SshCommand checkDevice = client.RunCommand(Cmd);
|
||||
|
||||
Reference in New Issue
Block a user