Comments (3)
@srinadhpotnuru coap_server will not be able to generate GET, POST request, but with small tweak in the source code, you will be able to make it work.
I would not suggest to add this functionality as server should only serve the requests, but you can use a combination of coap server and client to cater to your requirement
from esp-coap.
@lovelesh In the industry level instruments, there is this functionality that server can send GET and POST methods. I'm working on one of the water meters that has this functionality. To communicate with the water meter we need act as both server and client.
from esp-coap.
@E12351 the easy way is to write a small client code inside the server. Logically servers are not designed to make new connections to other devices.
from esp-coap.
Related Issues (18)
- Is it possible to add some documentation? HOT 2
- Memory leakage with packet having a Token in it HOT 1
- How to make a resource observable? HOT 1
- #Define BUF MAX SIZE 250 HOT 3
- Packet splitting if payload bigger than 250 bytes HOT 1
- UDP6EndpointAddress when observing HOT 2
- Redfinition of password in coapclient.ino
- CoAP over DTLS HOT 1
- Resource not available in Copper
- How to get uri.path from observed packets arriving from 8266 CoAp Server?
- Payload length not set to 0 when there is no payload HOT 1
- Error compiling on ESP-12E HOT 2
- Compile errors HOT 1
- Is this code communicate with Arduino serial monitor ? or directly have to code in esp8266 HOT 1
- Micropython support HOT 1
- Compile error HOT 1
- How to add options in the packet? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp-coap.