code: function FtdiDevice(deviceSettings, connectionSettings, Connection) {
  
    // call super class
    Device.call(this, Connection);
  
    if (deviceSettings instanceof ftdi.FtdiDevice) {
      this.ftdiDevice = deviceSettings;
      this.set(this.ftdiDevice.deviceSettings);
    } else {
      this.set(deviceSettings);
    }
  
    this.set('connectionSettings', connectionSettings);
  
    this.set('state', 'close');
  }
docs: FtdiDevice represents your physical device.
  Extends Device.
  @param {Object} deviceSettings     The device settings (locationId, serial, index, description).
  @param {Object} connectionSettings The connection settings (baudrate, databits, stopbits, parity).
  @param {Object} Connection         The constructor function of the connection.