Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review request #1

Open
kb2ma opened this issue Jan 8, 2021 · 2 comments
Open

Review request #1

kb2ma opened this issue Jan 8, 2021 · 2 comments
Labels
question Further information is requested

Comments

@kb2ma
Copy link
Owner

kb2ma commented Jan 8, 2021

This issue really is for anyone interested, but particularly @obgm and @mrdeep1.

I have just created Release-0.2 of Cotel, and would appreciate your review. Cotel provides a GUI for CoAP messaging similar to Copper, but it is a standalone desktop application rather than a browser add-on. Since Copper hasn't been updated in a couple of years, it seemed like a good time to try a new approach. Release-0.2 includes a pre-built Linux x86_64 binary, which I hope is convenient.

Cotel uses libcoap internally via the Nim language. Nim is well suited to an app like Cotel because it provides garbage collection and generally a higher level of abstraction. At the same time it compiles to C, so it's easy to interface with libraries and it provides a responsive UI.

I would appreciate your reactions in a few areas:

Overall do you think it's a worthwhile/useful project? Do you have any general feedback on intuitiveness of design? Of course I'd appreciate hearing about any errors too. :-)

Where text data is required, I fall back to ASCII-only. Where would it be useful to include more Latin or full UTF-8? My keyboard doesn't use any other characters, so I don't feel the pain that others may from this restriction.

What features would you like to see next? Security is high on my list. Presently Cotel supports a single PSK key. IMO, the variety of security options in libcoap is one of its strengths. I think users would find it useful to be able to easily compare different types of security as well as different implementations.

I'm also personally interested in LwM2M, so I plan to add Observe capability as well.

Thanks for any feedback!

@kb2ma kb2ma added the question Further information is requested label Jan 8, 2021
@kb2ma kb2ma changed the title Review Request Review request Jan 8, 2021
@obgm
Copy link

obgm commented Jan 11, 2021

Thanks for sharing this. Having a Copper-like tool is definitely worth the effort.

  • IMO, the coding should allow UTF-8 character input as this is default in many places (text/plain but also CoAP URIs). I am not sure how good nim is at this but you could simply use the system's locale and convert internally to UTF-8 where required.
  • I think adding some basic functionality for public key crypto would be really nice to support testing of (1) raw public keys and (2) different certificate modes.
  • Output filters for pretty-printing JSON and CBOR would be nice to have.

@kb2ma
Copy link
Owner Author

kb2ma commented Jan 11, 2021

Thanks for the validation and feedback. That helps me prioritize.

FWIW, presently you can %-encode URI Path. So /bl%C3%A5b%C3%A6rsyltet%C3%B8y at coap://coap.me works. ImGui has good font/UTF-8 support so I should be able to make progress there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants