5 Replies Latest reply on Jul 9, 2015 2:27 PM by RodrigoMM

    RXTX library and /dev/ttyMFD1

    RodrigoMM

      Hi,

      In my project I want to use a Java library for XBee. This library uses the RXTX library to communicate with the XBee module but the RXTX does not recognize the port /dev/ttyMFD1 as a serial port. My XBee module is connected to pins 0 and 1 and works well with this simple code in the Arduino:


      void setup()
      {
        Serial1.begin(9600);
        Serial.begin(9600);
      }
      
      void loop()
      {
        if (Serial.available())
          Serial1.write(Serial.read());
        }
        if (Serial1.available())
          Serial.write(Serial1.read());
        }
      }
      
      
      


      How to make the library RXTX recognize /dev/ttyMFD1 as a serial port?


      Thanks.