mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-30 18:17:09 +03:00
Make MTU configurable.
Use static or stack storage for coap_packet_t.
This commit is contained in:
1 parent
6e97dbafcf
commit
b2fe4a64de
29 files changed
+303
-165
No files matched your search
@@ -371,7 +371,7 @@ unsigned short coap_opt_delta(const coap_opt_t *opt);
|
||||
|
||||
/** @deprecated { Use coap_opt_encode() instead. } */
|
||||
#define COAP_OPT_SETDELTA(opt,val) \
|
||||
coap_opt_encode((opt), COAP_MAX_PDU_SIZE, (val), NULL, 0)
|
||||
coap_opt_encode((opt), COAP_DEFAULT_PDU_SIZE, (val), NULL, 0)
|
||||
|
||||
/**
|
||||
* Returns the length of the given option. @p opt must point to an option jump
|
||||
|
||||
Reference in new issue
Block a user