Difference between revisions of "M2M Bridge"

From AMTech WikiDocs
Jump to: navigation, search
(Configuration)
(Configuration)
Line 16: Line 16:
 
*Edge/Device(s) site configuration bridgeConfig.json #1
 
*Edge/Device(s) site configuration bridgeConfig.json #1
 
**located at M2MBridge root directory.
 
**located at M2MBridge root directory.
{
+
    {
     "description": "AMTech M2M Bridge", //text to label bridge instance
+
     "description": "AMTech M2M Bridge", //text to label bridge instance
    "dap":{
+
        "dap":{
         "dapUrl": "https://dap.amtech.mx", //amtech IoT DAP url
+
**//amtech IoT DAP url
        "userId": "xxxxxxx@amtech.mx", //userid for the m2mBridge instance  
+
         "dapUrl": "https://dap.amtech.mx",     //amtech IoT DAP url
        "tenant" : "xxxxxxx", // tenant where bridge been configured
+
            "userId": "xxxxxxx@amtech.mx",     //userid for the m2mBridge instance  
        "password" :"xxxxxxxx", //m2mBridge userId password
+
            "tenant" : "xxxxxxx",               // tenant where bridge been configured
        "crudCommandUrl" :"/xx/xx/" //topic to get crud and command observations
+
            "password" :"xxxxxxxx",             //m2mBridge userId password
    },  
+
            "crudCommandUrl" :"/xx/xx/" //topic to get crud and command observations
    "guestSecurity":{
+
        },
         "guesttenants":["progressnext2016"], //add guest tenants to observations send from bridge
+
        "guestSecurity":{
        "guestusers":[] //add guest users to observations send from bridge
+
         "guesttenants":["progressnext2016"],   //add guest tenants to observations send from bridge
    },
+
            "guestusers":[]         //add guest users to observations send from bridge
    "networkFailed" :{
+
        },
 +
        "networkFailed" :{
 
         "retries" : 5,
 
         "retries" : 5,
        "failedWait" : 3000,
+
            "failedWait" : 3000,
        "reconnectWait" : 60000 //reconnection delay after an instance of plug in failed  
+
            "reconnectWait" : 60000         //re-connection delay after an instance of plug in failed  
     },
+
        },
 +
        "pluginLoad" :{         //bridge startup configuration
 +
        "sendM2mBridgeError" : true //send observations error when errors occurred at bridge layer
 +
        },
 +
        "logger" :{
 +
        "colorize" : true, //colorize log console messages
 +
            "level": "debug" //log level
 +
        },
 +
        "address" :{ //Address use to geo locate m2mBridge instance
 +
        "country" : "usa",
 +
            "city": "Las Vegas",
 +
            "road": "Las Vegas Boulevard South",
 +
            "number":"3960"
 +
        },
 +
        "bridgeId":"m2mBridgeProgressNext",      //Id to uniquely identify m2m Bridge instance, in absence of this     property a unique identifier gets created
 +
        "autoDiscover":{
 +
        "execute" : false,                        //create things type instances at startup time
 +
            "instances":{"SNMPDevice":[{...}], ...} //Jsonld instances to be created
 +
        }
 +
    }
  
 
== Extensible ==
 
== Extensible ==

Revision as of 15:56, 3 March 2016

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

Example.jpg

Configuration

  • Edge/Device(s) site configuration bridgeConfig.json #1
    • located at M2MBridge root directory.
   {
   "description": "AMTech M2M Bridge", //text to label bridge instance
       "dap":{
    • //amtech IoT DAP url
       "dapUrl": "https://dap.amtech.mx",      //amtech IoT DAP url
           "userId": "xxxxxxx@amtech.mx",      //userid for the m2mBridge instance 
           "tenant" : "xxxxxxx",               // tenant where bridge been configured
           "password" :"xxxxxxxx",             //m2mBridge userId password
           "crudCommandUrl" :"/xx/xx/"		//topic to get crud and command observations
       },
       "guestSecurity":{
       "guesttenants":["progressnext2016"],    //add guest tenants to observations send from bridge
           "guestusers":[]		        //add guest users to observations send from bridge
       },
       "networkFailed" :{
       "retries" : 5,
           "failedWait" : 3000,
           "reconnectWait" : 60000	        //re-connection delay after an instance of plug in failed 
       },
       "pluginLoad" :{			         //bridge startup configuration
       "sendM2mBridgeError" : true		//send observations error when errors occurred at bridge layer 
       },
       "logger" :{
       "colorize" : true, //colorize log console messages
           "level": "debug"			//log level
       },
       "address" :{				//Address use to geo locate m2mBridge instance 
       "country" : "usa",
           "city": "Las Vegas",
           "road": "Las Vegas Boulevard South",
           "number":"3960"
       },
       "bridgeId":"m2mBridgeProgressNext",       //Id to uniquely identify m2m Bridge instance, in absence of this     property a unique identifier gets created
       "autoDiscover":{
       "execute" : false,                         //create things type instances at startup time
           "instances":{"SNMPDevice":[{...}], ...} //Jsonld instances to be created 
       }
   }

Extensible

Pluggable architecture

Existing plugins

LLRP

Bluetooth