Update default.toml to include tests for gps units
This commit is contained in:
@ -133,11 +133,10 @@ class Asset {
|
||||
|
||||
// Disconnect event
|
||||
hub.on('disconnect', () => {
|
||||
this._log('Socket disconnected from hub address');
|
||||
utils.writeLog(`Asset ${this.id} disconnected from HUB`)
|
||||
});
|
||||
let err = (e) => {
|
||||
this._log('Hub connected? ' + hub.connected)
|
||||
this._log(`Connection error to ${hubAddress}: ${e}`);
|
||||
utils.writeLog(`Asset ${this.id} HUB connection error ${e}`)
|
||||
}
|
||||
hub.on('connect_timeout', err);
|
||||
hub.on('connect_error', err);
|
||||
@ -250,7 +249,6 @@ class Asset {
|
||||
}
|
||||
|
||||
if(this.configs.settings.send_gps) {
|
||||
console.log('send gps')
|
||||
this._sendGPS();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user