01.<Command Name>Get Bluetooth...</> Performs "Get Bluetooth.." command which is defined in "CommandList.xml" file. 02.<Timeout>20000</> Max timeout = 20 seconds before full response in. 03. <Response>...</Response> Response Check Block defines check scenario/method. 03.1 <HexStringRegEx>...</> This defines the response data check string pattern using "C# Regular Expression" method See MSDN description https://docs.microsoft.com/zh-tw/dotnet/standard/base-types/regular-expressions
04.<SavedName2>...</> This block defines how to strip-off the desired data, by removed prefix + postfix string patterns prefix pattern = RegexPrefix_Trim="...", C# Regular Express" style postfix pattern = RegexPostfix_Trim="...", C# Regular Express" style Note: You may see the Example from the xml comment block !!
CommandList.xml 01. This is xml file collecting all of used commands w/ their protocols (IDG/ATCMD/etc.) 02. <Command name="..."></> Name value is as the keyword name used in Production.xml/QC_TP.xml/QC_US.xml. 03. <MainPart>..</> This defines command part. Ex: IDG Ping Command = 18 01 = <MainPart>18 01</MainPart>
|