Format of Expected property string for Command Script

Hi,

I am having a play with the Command Script editor in Developer Studio. One of the proprieties for a Command element is Expected. Which the online help describes as:

It appears that the response it is comparing too includes non printable characters such as and . My question is what is the short hand for this parameter so that I can just compare part of the response? Or how do I add the non printable characters to the parameter?

Thanks,

Ross

Please try regex format.

For example, if I want to check for network registration status using “AT+CREG?”, I can fill “Expected” as

.*0,1.*

so it pass only when registration status matched.

Hope this helps.

To get an exaustive list of what you can do with supported regular expressions, please have a look at docs.oracle.com/javase/7/docs/ap … ttern.html

Thank for that, must have missed the details in the help about the match string being regex format.