Originally posted by Bob Schmid
SIemens is indicating taht they want encap cahracters to be <STX>D..data..<ETX>
Iwould assume my resync character sholud be STX (X2) but an error occurs in testing :
invalid command name "resync:x2"
pdl is:
define phrase basic-msg;
<stx>;
field data = variable-array( not( <etx> ));
<etx>;
end phrase;
/**********************************************************************
* End of declarative section, TCL management functions start here. *
**********************************************************************/
#{#
# This can be handled completely using the "basic" style.
hci_pd_msg_style basic phrase:basic-msg
field:data
resync:\x2
#}#