Well you only need to print out the contents of the tty file and watch for it match a specific string. You should be able to do something like:
cat /dev/ttyS0 | grep response
is the line you are waiting for from the dish. That is of course assuming you have grep. If not, then that changes things. It might help to post a list of what commands you actually have available if the shell is really that minimal.