RawHl7Ack.tcl (with matching proc name)
Inbound, delivered I’m sure, or gleaned from the mailing list. It precedes my time. (I did remove a superfluous x1c from the end of the ack it generates.)
For fun, here is a very simple script that resends inbound messages and takes advantage of the message priority trick to avoid flooding ack’s back to the connected system. Used for testing, mostly.
#!/bin/ksh
# Resend new-line delimited file, inbound side.
# Args: {new-line file} {thread name} {process name}
# NOTE: File should be full path or relative to process’ work directory.
# WARNING: Use with caution.
hcicmd -p $3 -c “$2 resend ib data 5119 $1 nl” 2>&1