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:
parent
be825dca1e
commit
dd364efc58
2 changed files with 3 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue