How Virtual Serial Port Driver Mobile solves it
With this serial port mobile software you can emulate COM port on mobile, i.e. create virtual pair of COM ports and assign them to two interacting applications. Now all data sent by one application to assigned port will be received on the other side of the pair and by another application in result. And vice versa.