Changed set to 115200 command to be in line with Flexi.

This commit is contained in:
2026-01-14 09:41:07 +00:00
parent 62554d7fd6
commit f30c35c02a
2 changed files with 18 additions and 18 deletions

View File

@@ -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);