libcoap  4.3.0rc2
coap_riot.h
Go to the documentation of this file.
1 /* coap_riot.h -- RIOT-specific definitions for libcoap
2  *
3  * Copyright (C) 2019 Olaf Bergmann <bergmann@tzi.org>
4  *
5  * This file is part of the CoAP library libcoap. Please see
6  * README for terms of use.
7  */
8 
9 #ifndef COAP_RIOT_H_
10 #define COAP_RIOT_H_
11 
12 #ifndef LIBCOAP_MSG_QUEUE_SIZE
16 #define LIBCOAP_MSG_QUEUE_SIZE (32U)
17 #endif /* LIBCOAP_MSG_QUEUE_SIZE */
18 
19 #ifndef LIBCOAP_MAX_SOCKETS
23 #define LIBCOAP_MAX_SOCKETS (16U)
24 #endif /* LIBCOAP_MAX_SOCKETS */
25 
30 void coap_riot_startup(void);
31 
32 #endif /* COAP_RIOT_H_ */
void coap_riot_startup(void)
This function must be called in the RIOT CoAP thread for RIOT-specific initialization.