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