Skip to content

uniot-io/uniot-coap

 
 

Repository files navigation

uniot-coap

This repository is part of the Uniot project. All necessary changes have been made so that it can exist as a module for the uniot-core.

Original repositories: microcoap, YaCoAP

The following is the original readme.

microcoap

example

tests

Build all tests by simply running make within subdirectory /tests. This will create the following test applications, + use Firefox+Copper.

piggyback

This tests is a CoAP server application which provides distinct resources:

  • /.well-known/core: as per standard you receive resources in link-format
  • /piggyback: the response is combined with the ACK
  • /separate: if request is CON it sends separate acknowledgement and response messages, if request is NONCON you get a response message only (no ACK)

request_get

This test application sends a GET request to a chosen server, it retrieves and prints /.well-known/core.

./request_get host|ip

request_put

This test application sends a PUT request to a chosen server for any path with any content.

./request_put host|ip "path" "content"

About

No description, website, or topics provided.

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.microcoap

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 97.0%
  • Makefile 3.0%