mkovatsc / Copper4Cr

Copper (Cu) CoAP user-agent for Chrome (JavaScript implementation)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Copper for Chrome (Cu4Cr) CoAP user-agent

Implements RFC7252

A Chrome app+extension to browse the Internet of Things

How to integrate the Copper sources into Chrome:

  1. Clone the repository (git clone https://github.com/mkovatsc/Copper4Cr.git) or simply download and unzip somewhere
  2. Prepare shared code by running install.bat (Windows) or install.sh (Linux)
    • Links the shared folder into the two other folders
  3. Install App & Extension in Chrome:
    1. Start Chrome and go to chrome://extensions/
    2. Ensure that the Developer mode checkbox in the top right-hand corner is checked
    3. Click "Load unpacked" and locate the app folder
    4. Click "Load unpacked" and locate the extension folder
  4. Set app ID of the Chrome App in the file extension/endpoint/ClientPortChrome.js:
    1. Under chrome://extensions/ scroll to Chrome Apps
    2. Copy the ID field of the Copper (Cu4Cr) Application tile (not Extension)
    3. Paste as value of appId in line 41 of extension/endpoint/ClientPortChrome.js
  5. Use the Cu icon under the Extensions puzzle icon to open CoAP resources

About

Copper (Cu) CoAP user-agent for Chrome (JavaScript implementation)

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:JavaScript 90.3%Language:HTML 6.0%Language:CSS 3.6%Language:Shell 0.0%Language:Batchfile 0.0%