Announcement

Collapse
No announcement yet.

Strange Connection

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Strange Connection

    Hi,

    I have an instrument that I am connecting to where messages have after every character a <NUL> char, in order to make the message work in Mirth I am stripping the <NUL> chars and I can then receive the message.

    1. However I need to send back a message to same connection, which connector do I use? Channel Sender?

    2. And in that case since the instrument expects every char to be followed by <NUL> in my response, how do I change the message start and message end chars...

    (I can do it in a TCP Sender MLLP destination... but I need to send to the same connection, so can't use TCP Sender.)

    I already have the script in place to add <NUL> after each char in the body.

    Just need help now changing <VT> to <VT><NUL>
    and <FS><CR> to <FS><NUL><CR><NUL>

    Thank you,
    Lenroc

  • #2
    Can't help you with sending back messages on the same connection, but your <NUL> character issue might be solved by changing your character encoding to UTF-16. If the NULs are coming after rather than before, you might need to use UTF-16LE (little endian) instead.

    Comment


    • #3
      thank you agermano, that worked. And I figured out the rest.

      Lenroc

      Comment

      Working...
      X