mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-02 16:05:50 +03:00
pdu.h: added coaps default port
This commit is contained in:
1 parent
3a127a3816
commit
9a538f43f4
1 file changed
+1
@@ -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 */
|
||||
|
||||
Reference in new issue
Block a user