Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/automote/ESP-CoAP
This repo contains CoAP protocol for ESP-12E
https://github.com/automote/ESP-CoAP
arduino-ide arduino-library coap-client coap-protocol coap-server esp-coap esp8266
Last synced: 3 months ago
JSON representation
This repo contains CoAP protocol for ESP-12E
- Host: GitHub
- URL: https://github.com/automote/ESP-CoAP
- Owner: automote
- License: gpl-3.0
- Created: 2016-11-03T13:07:43.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-06-05T19:10:06.000Z (over 3 years ago)
- Last Synced: 2024-08-01T15:18:42.596Z (6 months ago)
- Topics: arduino-ide, arduino-library, coap-client, coap-protocol, coap-server, esp-coap, esp8266
- Language: C++
- Homepage: http://thingtronics.com
- Size: 53.7 KB
- Stars: 71
- Watchers: 15
- Forks: 28
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# thingTronics ESP8266 12E Arduino Library
This is a Arduino Library for the ESP8266 12E.## ESP-CoAP server/client library for Arduino
This repo contains CoAP protocol for operationg ESP-12E as CoAP server and as CoAp client.## IETF CoAP RFC 7252
RFC 7252 simple server library for Arduino.## Repository Contents
* **/examples** - Example sketches for the library (.ino). Run these from the Arduino IDE.
* **/src** - Source files for the library (.cpp, .h).
* **library.properties** - General library properties for the Arduino package manager.
* **library.json** - General library properties for the Arduino package manager in JSON format
* **keywords.txt** - Contains the keywords for Arduino IDE.This lightweight library source code have only 4 files. coapServer.cpp, coapServer.h, coapClient.cpp, coapClient.h .
## Example
Some sample sketches for Arduino included(/examples/).- coapserver.ino: simple server endpoint url callback sample.
- coapclient.ino: simple client response callback sample.## How to use
Download this source code branch zip file and extract to the Arduino libraries directory or checkout repository. Here is checkout on Ubuntu.cd $HOME/Downloads/Arduino/libraries/
git clone https://github.com/automote/ESP-CoAP
# restart Arduino IDE, you can find ESP-CoAP examples.### working with CoAP server
- Upload the server example code to ESP-12E and open Serial Monitor to get the IPaddress of ESP-12E(server)
- Run the coap client(web browser) with following URI coap://IPaddress:default port number/resource, to connect to ESP-12E server.### working with CoAP client
- Upload the client example cose to ESP-12E, check the working by taking ETH Zurich as server.For more information about this library please vist here.
## Where to Buy
You can buy the ESP-CoAP compatible modules from us by going to this URL here.### Features
- Server Side Working:
- Methods
- GET
- PUT
- POST (update working,creation not working)
- DELETE (not working)
- Ping
- Observe (only 1 resource; only 10 observers)
- Resource Discovery
- Block Transfer (WIP)- Client Side Working:
- Methods
- GET
- PUT
- POST
- DELETE
- Observe
- Ping## Maintainers
The ESP-CoAP is maintained by thingTronics Innovations.Main contributor:
* Poornima Nagesh @
* Lovelesh Patel @