lib/serial/device.js
function SerialDevice(port, settings, Connection) {

  // call super class
  Device.call(this, Connection);

  this.set('portName', port);
  this.set('settings', settings);

  this.set('state', 'close');
}
function SerialDevice(port, settings, Connection) {

  // call super class
  Device.call(this, Connection);

  this.set('portName', port);
  this.set('settings', settings);

  this.set('state', 'close');
}
function SerialDevice ( port , settings , Connection ) { // call super class Device . call ( this , Connection ) ; this . set ( 'portName' , port ) ; this . set ( 'settings' , settings ) ; this . set ( 'state' , 'close' ) ; }
SerialDevice represents your physical device.
Extends Device.
@param {string} port       The Com Port path or name for Windows.
@param {Object} settings   The Com Port Settings.
@param {Object} Connection The constructor function of the connection.
SerialDevice represents your physical device . Extends Device .