Originally posted by Jacques B
Hi,
I'm trying to pass PNG images. The problem is I'm receiving sometimes a x0b <vt> which means new message. Since the message is defined this way in the pdl:
define phrase basic-msg;
<vt>;
field data = variable-array( not( <fs> ) );
<fs>; <cr>;
end phrase;
I have this kind of problem:
32 33 7c 46 7c 89 50 4e |23|F|.PN|
47 0d 0a 1a 0a |G....|
03/06/2006 11:04:30
[pdl :PDL :ERR /0:conn_Radimage] no-match: no more phrases to try
--> Data received does not match MLP phrase (2 bytes):
0b 12 |..|
03/06/2006 11:04:30
[pdl :PDL :ERR /0:conn_Radimage] no-match: no more phrases to try
--> Data received does not match MLP phrase (7 bytes):
0b 12 01 d2 dd 7e fc |.....~.|
So I thought about some solutions:
1) Hoping I won't have an image with "<x0b>MSH|"
define phrase basic-msg;
<vt>; "MSH|";
field data = variable-array( not( <fs> ) );
<fs>; <cr>;
end phrase;
and since I want to have the field data with the MSH I add this to
hci_pd_msg_style acknak phrase:basic-msg
field:"MSH|" data
resync:\xb
instead of :
hci_pd_msg_style basic phrase:basic-msg
field:data
resync:\xb
2) never use image in interfaces. Use ftp instead.
3) ask my provider to change <vt> by something else.
Any other idea? Which solution I should use?