web stats
Mirth Community - View Single Post - Basic TCP - Dealing with variable end of message bytes
View Single Post
Old 10-31-2018, 06:58 AM
agermano agermano is offline
Mirth Guru
Join Date: Apr 2017
Location: Indiana, USA
Posts: 896
agermano is on a distinguished road

I think you are correct that you can't specify multiple End of Message byte sequences with an OR condition.

It should work to use <EOT> as your end of message byte, and then use a batch splitter on the <ETX><STX> bytes. The downside would be that it would have to read the entire transmission before it could start splitting it into messages, and I don't know how many there are in a single transmission or how big they are.

There are probably other ways to get it working, too, possibly by creating your own transmission mode, but if the above solution works, I would go with that.

EDIT: Nevermind. I just read the whole thing, and I see you need to ACK after each STX, so what I said above won't work.

Last edited by agermano; 10-31-2018 at 07:01 AM. Reason: correction
Reply With Quote