Comments (4)
Yes, resource creation is illustrated in the function init_resources() in examples/coap-server.c.
from libcoap.
Hello, how it is possible make new resources on server, I mean create request to create new resources, always I get reposned Not Allowed method.
from libcoap.
There is example code in examples/coap-server.c
(Try out with coap-server -d 10
). Basically, you need to register a handler for requests to unknown resources using coap_resource_unknown_init().
from libcoap.
from libcoap.
Related Issues (20)
- Hopefully libcoap will be added to Microsoft's vcpkg HOT 1
- session created for multicast NON request getting updated after receiving response HOT 9
- Question about multicast test. HOT 10
- Setting observe lifetime HOT 8
- Listing current observers on a resource HOT 1
- How does a CoAP client detect an unsuccessful Put or Get HOT 1
- Missing symbol 'coap_accept_endpoint' error when compiling with ENABLE_TCP=OFF HOT 4
- "invalid use of incomplete type" when I try to access members under struct coap_pdu_t in my code. HOT 3
- Is it possible to receive CON message in one process and reply ACK in another one? HOT 3
- Global-buffer-overflow in `coap_parse_oscore_conf_mem` function in `src/coap_oscore.c` HOT 3
- Does libcoap support get server response when using broadcast HOT 2
- Are there any security measures that must be done for pdu's set or get functions? HOT 5
- Server can't respond to the client's request HOT 34
- Receive multicast coap request sent by myself HOT 4
- Question:can coap_add_data_large_response() send over 1000 bytes' json value? HOT 2
- Installing libcoap on ubuntu comes down to difficulties HOT 50
- Doesn't libcoap support concurrency? HOT 2
- libcoap 4.3.0 build with libcoap HOT 30
- coap_nack_handler_t function was executed incorrectly HOT 21
- Frequent sending of client requests leads to memory leaks? 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 libcoap.