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
|
||||
#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
|
||||
|
||||
/**
|
||||
|
||||
@ -40,6 +40,13 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief The maximum number DTLS peers (i.e. sessions)
|
||||
*/
|
||||
#ifndef CONFIG_DTLS_PEER_MAX
|
||||
#define CONFIG_DTLS_PEER_MAX (1)
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user