Make MTU configurable.

Use static or stack storage for coap_packet_t.
This commit is contained in:
jcmichelou committed 2017-06-26 17:34:01 +02:00
1 parent 6e97dbafcf
commit b2fe4a64de
29 files changed
+303 -165

No files matched your search

+2 -2
View File
@@ -22,9 +22,9 @@
#ifndef COAP_MAX_BLOCK_SZX
/**
* The largest value for the SZX component in a Block option. Note that
* 1 << (COAP_MAX_BLOCK_SZX + 4) should not exceed COAP_MAX_PDU_SIZE.
* 1 << (COAP_MAX_BLOCK_SZX + 4) should not exceed COAP_DEFAULT_PDU_SIZE.
*/
#define COAP_MAX_BLOCK_SZX 4
#define COAP_MAX_BLOCK_SZX 6
#endif /* COAP_MAX_BLOCK_SZX */
/**