B4J Question More than one virtual com port at the same time?

positrom2

Active Member
Licensed User
Longtime User
Is it possible to have two virtual com ports open at the same time and transfering data through both (using asyncstreams)?
 

positrom2

Active Member
Licensed User
Longtime User
That's good, thank you.
Apparently, it is not necessary to set the baud rate, they even could be different for both channels.
What makes the difference to a terminal emulator that needs the baud rate to be set?
 
Upvote 0

positrom2

Active Member
Licensed User
Longtime User
Experimenting I found out:
When you run a terminal emulator (Hterm) prior to the B4J application then the baud rates you have set in Hterm to individual com ports is known to the B4J apllication. I used com3 (9600 baud) and com4 (38400), and other rates. I was wondering why B4J did not need to set the baud rate. So, that was the solution - but who knows why.
 
Upvote 0
Top