libcoap  4.3.0
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  * SPDX-License-Identifier: BSD-2-Clause
6  *
7  * This file is part of the CoAP library libcoap. Please see
8  * README for terms of use.
9  */
10 
11 #ifndef COAP_RIOT_H_
12 #define COAP_RIOT_H_
13 
14 #ifndef LIBCOAP_MSG_QUEUE_SIZE
18 #define LIBCOAP_MSG_QUEUE_SIZE (32U)
19 #endif /* LIBCOAP_MSG_QUEUE_SIZE */
20 
21 #ifndef LIBCOAP_MAX_SOCKETS
25 #define LIBCOAP_MAX_SOCKETS (16U)
26 #endif /* LIBCOAP_MAX_SOCKETS */
27 
32 void coap_riot_startup(void);
33 
34 #endif /* COAP_RIOT_H_ */
void coap_riot_startup(void)
This function must be called in the RIOT CoAP thread for RIOT-specific initialization.