libcoap 4.3.5-develop-19cef11
coap_riot.h
Go to the documentation of this file.
1/* coap_riot.h -- RIOT-specific definitions for libcoap
2 *
3 * Copyright (C) 2019-2024 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
16#ifndef COAP_RIOT_H_
17#define COAP_RIOT_H_
18
19#ifndef LIBCOAP_MSG_QUEUE_SIZE
23#define LIBCOAP_MSG_QUEUE_SIZE (32U)
24#endif /* LIBCOAP_MSG_QUEUE_SIZE */
25
26#ifndef LIBCOAP_MAX_SOCKETS
30#define LIBCOAP_MAX_SOCKETS (16U)
31#endif /* LIBCOAP_MAX_SOCKETS */
32
38
39#endif /* COAP_RIOT_H_ */
void coap_riot_startup(void)
This function must be called in the RIOT CoAP thread for RIOT-specific initialization.