docs: function Device (device, sp) {
    if (!(device && sp))
      throw new Error('a Device and a SerialPort must be passed');
  
    for (var i in device)
      this[i] = device[i];
  
    this._open = false;
    this._sp = sp;
  
    EventEmitter.call(this);
  }