Implements RFC7252
- Clone the repository (
git clone https://github.com/mkovatsc/Copper4Cr.git
) - 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) orinstall.sh
(Linux) in order to link the shared folder into the two 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 extension…" and locate the app folder
- Click "Load unpacked extension…" and locate the extension folder
- 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/ - Use the Cu icon next to the address bar to open CoAP resources