code: public void write(org.isoblue.isobus.Message out) {
          // Create temporary object
          ConnectedThread r;
          // Synchronize a copy of the ConnectedThread
          synchronized (this) {
              if (mState != STATE_CONNECTED)
                  return;
              r = mEngConnectedThread;
          }
          // Perform the write unsynchronized
          r.write(out);
      }
docs: Write to the ConnectedThread in an unsynchronized manner
  
  @param out
  The bytes to write
  @see ConnectedThread#write(byte[])