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

+1 -1
View File
@@ -133,7 +133,7 @@ PROCESS_THREAD(coap_server_process, ev, data)
request = coap_pdu_init(COAP_MESSAGE_CON, COAP_REQUEST_GET,
coap_new_message_id(coap_context),
COAP_MAX_PDU_SIZE);
COAP_DEFFAULT_PDU_SIZE);
coap_split_uri((unsigned char *)resource, strlen(resource), &uri);