diff --git a/package.json b/package.json index 08b364ec0..65e87f383 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "saildata-server", - "version": "0.1.5", + "version": "0.1.6", "description": "An implementation of a [Signal K](http://signalk.github.io) central server for boats.", "main": "index.js", "scripts": { @@ -27,7 +27,7 @@ "e-json": "0.0.4", "express": "3.x", "lodash": "^2.4.1", - "nmea0183-signalk": "^0.1.9", + "nmea0183-signalk": "^0.1.12", "node-uuid": "^1.4.1", "socket.io": "^1.0.6", "stream-throttle": "^0.1.3" diff --git a/providers/filerunner/index.js b/providers/filerunner/index.js index 92bf7cbb7..74b6e9009 100644 --- a/providers/filerunner/index.js +++ b/providers/filerunner/index.js @@ -25,19 +25,18 @@ if(typeof process.send !== 'function') { var Parser, fs, reader, filestream, parser, mw, colors, counter, Throttle, throttled, last, path, vessel, FILE; -FILE = 'gofree-merrimac.log'; +// FILE = 'gofree-merrimac.log'; // FILE = 'gps.log'; +FILE = 'plaka.log'; + path = require('path'); vessel = require(path.normalize(__dirname + '/../../settings.json')).vessel; colors = require('colors'); -// mw = require('memwatch'); fs = require('fs'); Parser = require('nmea0183-signalk').Parser; Throttle = require('stream-throttle').Throttle; -// counter = Date.now(); -// last = Date.now(); - +/* SEND IDENTITY ON FORK START */ process.send({ messageType: 'identity', // in order to find out if the message contains actual data or the Provider's identity payload: {