thsq-agent
Advanced tools
Comparing version 1.0.29 to 1.0.30
{ | ||
"name": "thsq-agent", | ||
"version": "1.0.29", | ||
"version": "1.0.30", | ||
"description": "Thingsquare agent for Linux gateways", | ||
@@ -5,0 +5,0 @@ "main": "thsq-agent.js", |
@@ -85,2 +85,3 @@ #!/usr/bin/env node | ||
var agentcreated = false; | ||
var agent; | ||
function createvirtualdevice() { | ||
@@ -93,3 +94,3 @@ if (agentcreated) { | ||
options.thsq = thsq; | ||
var agent = new Agent(options); | ||
agent = new Agent(options); | ||
agent.on('connected', function() { | ||
@@ -100,2 +101,4 @@ saveoptions(); | ||
}); | ||
setTimeout(createpppservice, 30 * 1000); | ||
new BLE(agent, options); | ||
@@ -106,3 +109,2 @@ } | ||
var createdpppservice = false; | ||
setTimeout(createdpppservice, 30 * 1000); | ||
function createpppservice() { | ||
@@ -109,0 +111,0 @@ if (createdpppservice) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46785
1102