Commit a3e59c58 by Chavee Issariyapat

remove mode option

parent 2dbeaa5d
......@@ -6,9 +6,7 @@ const localBrokerURI = require('url').parse(config.get('config.local_broker_uri'
const flowagent = require('./flowagent').create({
broker_uri : config.get('config.remote_broker_uri'),
flowagentid: config.get('config.flowagent_username'),
flowagentsecret: config.get('config.flowagent_password'),
//mode : 'mqtt'
mode : 'emitter'
flowagentsecret: config.get('config.flowagent_password')
});
flowagent.start();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment