I have recently crafted my own device template for a new product and was having a little bit of an issue with the RegEx option. When I want to upload a configuration file, I execute the /bin/config_importer.sh script. It outputs a "cfg>" prompt and waits for text ending in a newline before processing that line. My device template UploadConfig command looks like:
<Command Name="UploadConfig" Value="/bin/config_importer.sh${CRLF}${ConfigText}exit${CRLF}" RegEx="cfg>*" />
This works very smoothly with little-to-no delays in between lines. I am happy with it. However, I would prefer to not have a prompt ("" instead of "cfg>"), mainly because I have another application, one that I did not write, that I want to try and use and it does not have a prompt. I changed the prompt in the config_importer.sh script and then I tried using a RegEx="" and RegEx="*" but both of those still resulted in painfully slow delays.
I've been looking through several session-traces over the past week trying to make sense of the situation but haven't been successful. I tried several combinations of VirtualPrompt and VirtualPromptEnable, too, but couldn't get the desired result.
Does anyone know how to speed up the transfer of the ${ConfigText} when the prompt is null/empty?