code: public void sendSerialMessage(String value) {
          Buffer buffer = new Buffer();
          try {
              buffer.write(value.getBytes("UTF-8"));
              sendMessage(BeanMessageID.SERIAL_DATA, buffer);
          } catch (UnsupportedEncodingException e) {
              throw new RuntimeException(e);
          }
      }
docs: Send a UTF-8 string to the Bean as a serial message.
  
  @param value the message to send as UTF-8 bytes