net: lwm2m: share BUF_ALLOC_TIMEOUT setting w/ other lwm2m components

Signed-off-by: Michael Scott <michael.scott@linaro.org>
This commit is contained in:
Michael Scott 2017-10-19 15:45:38 -07:00 committed by Jukka Rissanen
commit dd364efc58
2 changed files with 3 additions and 2 deletions

View file

@ -75,8 +75,6 @@
#define REG_PREFACE "" #define REG_PREFACE ""
#endif #endif
#define BUF_ALLOC_TIMEOUT K_SECONDS(1)
#define MAX_TOKEN_LEN 8 #define MAX_TOKEN_LEN 8
struct observe_node { struct observe_node {

View file

@ -35,6 +35,9 @@
/* Use this value to skip token generation */ /* Use this value to skip token generation */
#define LWM2M_MSG_TOKEN_LEN_SKIP 0xFF #define LWM2M_MSG_TOKEN_LEN_SKIP 0xFF
/* length of time in milliseconds to wait for buffer allocations */
#define BUF_ALLOC_TIMEOUT K_SECONDS(1)
struct lwm2m_message; struct lwm2m_message;
/* Establish a message timeout callback */ /* Establish a message timeout callback */