yurenchen000 / 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)
  2. Prepare shared code by either:
    • Copying the shared folder into the root directory of the app and in the root directory of the extension or
    • Running install.bat (Windows) or install.sh (Linux) in order to link the shared folder into the two 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 extension…" and locate the app folder
    4. Click "Load unpacked extension…" and locate the extension folder
  4. Set app ID of the Chrome App in the file extension/endpoint/ClientPortChrome.js. You can read the ID in the Copper Application entry in chrome://extensions/
  5. Use the Cu icon next to the address bar 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.4%Language:HTML 6.0%Language:CSS 3.6%Language:Shell 0.0%Language:Batchfile 0.0%