I am trying to figure out if I should use blocking or non blocking communication with RxTx. I have to communicate with a device that accepts commands and reply.
- There are over 20+ commands
- Reply pakcets dont contain any information about which command was executed.
- I have to send for each packet ENQ/ACK and checksum checks.
So blocking seems the easiest solution.But isnt bad practice ? How could it be done without blocking ?