Skip to content

Commit

Permalink
Update config.js.example
Browse files Browse the repository at this point in the history
  • Loading branch information
skillor committed Nov 13, 2022
1 parent 8c89420 commit ac04bf2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion examples/json-live-data-server/config.js.example
Expand Up @@ -28,19 +28,28 @@ const config = {
loggingFilename: path.resolve(__dirname, 'live-data.json'),

/**
* The name of the `Connection` subclass to use for connecting to the VBus.
* Either 'TcpConnection' or 'SerialConnection' to connect to the VBus.
* @type {String}
*/
connectionClassName: 'TcpConnection',

connectionOptions: {
/**
* SerialConnection only:
* The serial port to which the Vbus/USB device is connected.
* @type {String}
*/
path: '/dev/ttyACM0',

/**
* TcpConnection only:
* The host name / IP address of the VBus/LAN or Datalogger device.
* @type {String}
*/
host: '192.168.13.21',

/**
* TcpConnection only:
* The password for the VBus/LAN or Datalogger device.
* @type {String}
*/
Expand Down

0 comments on commit ac04bf2

Please sign in to comment.