From 6521a5d516b87ea747b7db61fa525fe65e4b43d7 Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Tue, 8 Mar 2016 12:58:26 +0100 Subject: [PATCH] pdu.h: added coaps default port --- include/coap/pdu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/coap/pdu.h b/include/coap/pdu.h index e60dadca..ba211af4 100644 --- a/include/coap/pdu.h +++ b/include/coap/pdu.h @@ -22,6 +22,7 @@ #endif #define COAP_DEFAULT_PORT 5683 /* CoAP default UDP port */ +#define COAPS_DEFAULT_PORT 5684 /* CoAP default UDP port for secure transmission */ #define COAP_DEFAULT_MAX_AGE 60 /* default maximum object lifetime in seconds */ #ifndef COAP_MAX_PDU_SIZE #define COAP_MAX_PDU_SIZE 1400 /* maximum size of a CoAP PDU */