Issue: Can’t communicate with RAK7201 button over usb using powershell or another serial communication tool
Details: I am writing a script to automate button setup. I would like to be able to send AT commands using powershell.
Here is the code I tried. The device did not restart.
$port= new-Object System.IO.Ports.SerialPort,COM3,15200
$port.DTREnable = $True
$port.ReadTimeout = 5000;
$port.WriteTimeout = 5000;
$port.Write(“at+set_config=device:restart\r\n”)
$port.Close()
Additionally, I tried sending “at+set_config=device:restart\r\n” using the cool term serial communication tool with no success.