Difference between revisions of "M2M Bridge"
From AMTech WikiDocs
(→Configuration) |
(→Configuration) |
||
Line 43: | Line 43: | ||
"reconnectWait" : 60000 | "reconnectWait" : 60000 | ||
}, | }, | ||
+ | <span style="color:red">//network failed configuration</span> | ||
"pluginLoad" :{ //bridge startup configuration | "pluginLoad" :{ //bridge startup configuration | ||
+ | <span style="color:red">//network failed configuration</span> | ||
"sendM2mBridgeError" : true //send observations error when errors occurred at bridge layer | "sendM2mBridgeError" : true //send observations error when errors occurred at bridge layer | ||
}, | }, | ||
+ | <span style="color:red">//network failed configuration</span> | ||
"logger" :{ | "logger" :{ | ||
+ | <span style="color:red">//network failed configuration</span> | ||
"colorize" : true, //colorize log console messages | "colorize" : true, //colorize log console messages | ||
+ | <span style="color:red">//network failed configuration</span> | ||
"level": "debug" //log level | "level": "debug" //log level | ||
}, | }, | ||
+ | <span style="color:red">//network failed configuration</span> | ||
"address" :{ //Address use to geo locate m2mBridge instance | "address" :{ //Address use to geo locate m2mBridge instance | ||
"country" : "usa", | "country" : "usa", | ||
Line 56: | Line 62: | ||
"number":"3960" | "number":"3960" | ||
}, | }, | ||
+ | <span style="color:red">//network failed configuration</span> | ||
+ | <span style="color:red">//network failed configuration</span> | ||
"bridgeId":"m2mBridgeProgressNext", //Id to uniquely identify m2m Bridge instance, in absence of this property a unique identifier gets created | "bridgeId":"m2mBridgeProgressNext", //Id to uniquely identify m2m Bridge instance, in absence of this property a unique identifier gets created | ||
+ | <span style="color:red">//network failed configuration</span> | ||
"autoDiscover":{ | "autoDiscover":{ | ||
+ | <span style="color:red">//network failed configuration</span> | ||
"execute" : false, //create things type instances at startup time | "execute" : false, //create things type instances at startup time | ||
+ | <span style="color:red">//network failed configuration</span> | ||
"instances":{"SNMPDevice":[{...}], ...} //Jsonld instances to be created | "instances":{"SNMPDevice":[{...}], ...} //Jsonld instances to be created | ||
} | } |
Revision as of 16:23, 3 March 2016
Contents
Functionality
- Configurable edge intelligence
- Bridges standard and proprietary protocols to AMTech IoT DAP.
- Device-to-device or device-to-server communications.
- MQTT, LLRP, CoAP, STOMP, SmartM2M, LWM2M, PLC, Zigbee and others
- Allow remote and centralized control of IoT devices and gateways.
- SNMP/MIB/TRAP, Reader Management and other
- Configurable autodiscover
- Implements common functionality and host the execution of the protocols
- Network failure detection and recovery
- Get centralized configuration information at startup and real time modifications
- Access control policies to manage observation production and consumption
Configuration
- Edge/Device(s) site configuration bridgeConfig.json #1
- located at M2MBridge root directory.
{ //text to label bridge instance "description": "AMTech M2M Bridge", "dap":{ //amtech IoT DAP ur "dapUrl": "https://dap.amtech.mx", //userid for the m2mBridge instance "userId": "xxxxxxx@amtech.mx", // tenant where bridge been configured "tenant" : "xxxxxxx", //m2mBridge userId password "password" :"xxxxxxxx", //topic to get crud and command observations "crudCommandUrl" :"/xx/xx/" }, //access control information add to send observations "guestSecurity":{ //add guest tenants to observations send from bridge "guesttenants":["progressnext2016"], //add guest users to observations send from bridge "guestusers":[] }, //network failed configuration "networkFailed" :{ //re-connection delay after an instance of plug in failed "reconnectWait" : 60000 }, //network failed configuration "pluginLoad" :{ //bridge startup configuration //network failed configuration "sendM2mBridgeError" : true //send observations error when errors occurred at bridge layer }, //network failed configuration "logger" :{ //network failed configuration "colorize" : true, //colorize log console messages //network failed configuration "level": "debug" //log level }, //network failed configuration "address" :{ //Address use to geo locate m2mBridge instance "country" : "usa", "city": "Las Vegas", "road": "Las Vegas Boulevard South", "number":"3960" }, //network failed configuration //network failed configuration "bridgeId":"m2mBridgeProgressNext", //Id to uniquely identify m2m Bridge instance, in absence of this property a unique identifier gets created //network failed configuration "autoDiscover":{ //network failed configuration "execute" : false, //create things type instances at startup time //network failed configuration "instances":{"SNMPDevice":[{...}], ...} //Jsonld instances to be created } }