dtls: set CONFIG_DTLS_PEER_MAX in dtls.h header
This commit is contained in:
parent
423da42d1c
commit
a2cd5ed903
@ -62,13 +62,6 @@
|
|||||||
*/
|
*/
|
||||||
#ifndef CONFIG_DTLS_CONTEXT_MAX
|
#ifndef CONFIG_DTLS_CONTEXT_MAX
|
||||||
#define CONFIG_DTLS_CONTEXT_MAX (2)
|
#define CONFIG_DTLS_CONTEXT_MAX (2)
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief The maximum number DTLS peers (i.e. sessions)
|
|
||||||
*/
|
|
||||||
#ifndef CONFIG_DTLS_PEER_MAX
|
|
||||||
#define CONFIG_DTLS_PEER_MAX (1)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -40,6 +40,13 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief The maximum number DTLS peers (i.e. sessions)
|
||||||
|
*/
|
||||||
|
#ifndef CONFIG_DTLS_PEER_MAX
|
||||||
|
#define CONFIG_DTLS_PEER_MAX (1)
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user