- This topic has 2 replies, 2 voices, and was last updated 16 years, 9 months ago by .
-
Topic
-
Hi, I need to write a new PDL that will strip out a start character hex <0x2> and a stop string hex <0x3> which is the last string in the message. I have the following existing code but it is not working because there may exist a message with a hex <0x3> string in the middle of the message that is not the ETX.
Does anybody have any documentation on PDL or know how I can change the following?
define phrase basic-msg;
; field data = variable-array( not(
) ); ; end phrase;
#{#
# This can be handled completely using the “basic” style.
hci_pd_msg_style basic phrase:basic-msg
field:data
resync:\xb
#}#
Viewing 1 reply thread
Viewing 1 reply thread
- The forum ‘Cloverleaf’ is closed to new topics and replies.