Git Product home page Git Product logo

copper4cr's Introduction

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

copper4cr's People

Contributors

arthurkurath avatar chriscuts avatar hagedoch avatar mkovatsc avatar yurenchen000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

copper4cr's Issues

opt length encode error if uri-path length == 13

version

9a015d6

tests

get coap://10.1.1.30/123456789abc/123456789abc
OK

get coap://10.1.1.30/123456789abc/123456789abcd
FAIL: malformed PDU

get coap://10.1.1.30/123456789abc/123456789abcde
OK

package error

malformed package from copper-chrome
image

normal package from coap-client

image

Published version

Do you have plans to publish the extension and app to the Chrome Web Store?

Error while sending: net::ERR_ACCESS_DENIED (-10)

It seems like this message pops up for every request (Ping, Discover, GET, ....).
I tried it on the eclipse coap site, coap.me and a localhost coap server

Is there somewhere a parameter value, that I have to change?

Plugin doesn't work with IPv6

Hello,

I've noticed that the Copper Plugin for Chrome doesn't work with coap server which use IPv6. When i enter e.g. coap://[2000:620:190:ffff:300:4b00:66:1]:5683/ and i click on any command, i get the message "Error while sending: net::ERR_NAME_NOT_RESOLVED (-105)". The plugin for Mozilla Firefox on the other hand works fine. Is there a specific problem with chrome or are you working on that?

Error with Copper extension instructions from Github

My name is Shaurya Doger and I am a student at IUPUI studying Computer Science. I noticed your GitHub webpage and I have almost downloaded the Cooper extension for my chrome but I seem to be running into the following errors. I will post the screen shots below. If I currently click on the copper extension from chrome, it does take me to page where I need to type my IP address but then throws me an error saying that app is not installed. As per one of my screenshots, both my app and extensions have been installed. Now, even though I have them, I am still confused as to why the error keeps occurring. I have tried both appID and extensionID into the “ClientPortChrome.js” but none of them work as they are still throwing me error “UNEXPECTED TOKEN” on step 4. Let me know soon if there are steps that can be taken to resolve this issue because I really need this working as I am trying to use raspberry pi with this for one of my class projects.

2020-11-03 (1)

2020-11-03 (2)

2020-11-03

Regards,
Shaurya Doger

Is Copper4Cr CoAP User-Agent / Client still supported and updated?

Hi everyone,

I have installed Copper4Cr following the Readme.md with the copy of appID in the JS file under extension, but an error occurred:
Copper App not installed

Some one solve this problem? Is this project under development or anyone can suggest another CoAP Client / User-Agent?
Thanks

Copper App not installed

I got appId "incnkikhjmmhligicpbaalagdmaeebaa" on chrome://extensions/ and is replaced the previous appId at extension/endpoint/ClientPortChrome.js according to step 4. Then I tried to access an example url at the very first popup and found a error as below.

URI:

coap://californium.eclipse.org/

Error:

This extension needs the Copper application to send Coap-Messages. Please install the app (Chrome Web Store) and reload.

Web store link:

web store link is https://chrome.google.com/webstore/detail/incnkikhjmmhligicpbaalagdmaeebaa

Any help or instructions?

NB: I think, no extention is available for "incnkikhjmmhligicpbaalagdmaeebaa". Firefox has removed copper extension for some security issues from their official extension list (I found this in a blog post).

Endpoint Error: Invocation of form sockets.udp.send doesn't match function definition

Hello Everyone!

I'm facing one issue while trying to click on the Discover button. Below is the error.

Endpoint Error: Invocation of form sockets.udp.send(integer, binary, string, integer, string, function) doesn't match definition sockets.udp.send(integer socketId, binary data, string address, integer port, function callback)

01

02

03

I'm not sure whether it's is a genuine issue or I'm making some mistakes.

Need to move extension from manifest v2 to manifest v3?

Manifest v2 extensions are being deprecated in 2023 in both Chrome and Edge, and so v2 manifest extensions (such as Copper) will soon stop working. (The latest version of Chrome might already be doing this.) Do you plan to move Copper to v3 manifests? Thanks!

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.