During testing at IOS, we found that the current code was sending two \n to the analyser for each command. Looking at the code, the ASYN port defines \n as the EOT. I removed the \n from the sprintf statement that formats the outgoing command and all works now. Please see stuwilkins/specsAnalyser@b8dc8a5