Difference between revisions of "How to install & execute"

From AMTech WikiDocs
Jump to: navigation, search
(Os and core components)
Line 3: Line 3:
 
**Installs Ubuntu OS
 
**Installs Ubuntu OS
 
**Installs and configures Bluetooth core libraries
 
**Installs and configures Bluetooth core libraries
 +
***sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev
 
**Give access to node.js binary
 
**Give access to node.js binary
 
***sudo setcap 'cap_net_bind_service=+ep' /usr/bin/nodejs
 
***sudo setcap 'cap_net_bind_service=+ep' /usr/bin/nodejs

Revision as of 21:53, 5 May 2016

Os and core components

  • Ansible M2MBridge script
    • Installs Ubuntu OS
    • Installs and configures Bluetooth core libraries
      • sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev
    • Give access to node.js binary
      • sudo setcap 'cap_net_bind_service=+ep' /usr/bin/nodejs
    • Install nodejs version 5 or or higher using nvm Node Version Manager

M2MBridge installation

M2MBridge execution

  • Customize the bridge configuration bridgeConfig,json, defining the templateId with the bridge instance from DAP to clone Cloud Configuration
  • Execute node m2mbridge.js (located in the M2MBridge directory)