mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
coap/gcoap: unify CoAP ports
This commit is contained in:
parent
d2fa0c6ce1
commit
632837a0a8
@ -406,6 +406,7 @@
|
||||
#if IS_USED(MODULE_GCOAP_DTLS)
|
||||
#include "net/sock/dtls.h"
|
||||
#endif
|
||||
#include "net/coap.h"
|
||||
#include "net/nanocoap.h"
|
||||
#include "net/nanocoap/cache.h"
|
||||
#include "timex.h"
|
||||
@ -424,13 +425,13 @@ extern "C" {
|
||||
* @brief Server port; use RFC 7252 default if not defined
|
||||
*/
|
||||
#ifndef CONFIG_GCOAP_PORT
|
||||
#define CONFIG_GCOAP_PORT (5683)
|
||||
#define CONFIG_GCOAP_PORT (COAP_PORT)
|
||||
#endif
|
||||
/**
|
||||
* @brief Secure Server port; use RFC 7252 default if not defined
|
||||
*/
|
||||
#ifndef CONFIG_GCOAPS_PORT
|
||||
#define CONFIG_GCOAPS_PORT (5684)
|
||||
#define CONFIG_GCOAPS_PORT (COAPS_PORT)
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user