AnsweredAssumed Answered

Is there a way to send shell commands from a script instead of manually typing them when using KSDK1.2.0 shell interface

Question asked by Rose Ersin on Mar 14, 2016
Latest reply on Mar 15, 2016 by David E Seymour

I am using shell MQX task to get the commands from serial port on FRDM-K22F board but I am unable to figure out how to automate this. I can manually type in the command and shell interface compares the command with the list I provided in SHELL_COMMAND_STRUCT but I would like to be able to send these commands using a script. I am currently using putty to type the commands but even if I use plink (which is a command line tool for putty), I still get the same shell interface and I couldn't figure out how I can automate this. Any help would be appreciated.