code: function FtdiDevice(settings) {
    if (typeof(settings) === 'number') {
      settings = { index: settings };
    }
  
    EventEmitter.call(this);
  
    this.deviceSettings = settings;
  
    this.FTDIDevice = new FTDIDevice(settings);
  }
docs: FtdiDevice represents your physical device.
  On error 'error' will be emitted.
  @param {Object || Number} settings The device settings (locationId, serial, index, description).