Test concurrent access to the serial line by polling and additionally
using the
CastingRS485Server.writeCommand(java.lang.String) method to additionally write commands and
retrieve replies from the serial line. In the version prior to 14/08/02,
the
CastingRS485Server.writeCommand(java.lang.String) method released the lock between writing the
string and reading the reply which is a bug. This class is intended for
testing if synchronizing during the entire process (write and read)
solves the problem.