libcoap 4.3.5-develop-ea01661
Loading...
Searching...
No Matches
coap_riot.h
Go to the documentation of this file.
1/* coap_riot.h -- RIOT-specific definitions for libcoap
2 *
3 * Copyright (C) 2019-2025 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#ifdef __cplusplus
20extern "C" {
21#endif
22
23#ifndef LIBCOAP_MSG_QUEUE_SIZE
27#define LIBCOAP_MSG_QUEUE_SIZE (32U)
28#endif /* LIBCOAP_MSG_QUEUE_SIZE */
29
30#ifndef LIBCOAP_MAX_SOCKETS
34#define LIBCOAP_MAX_SOCKETS (16U)
35#endif /* LIBCOAP_MAX_SOCKETS */
36
42
43#ifdef __cplusplus
44}
45#endif
46
47#endif /* COAP_RIOT_H_ */
void coap_riot_startup(void)
This function must be called in the RIOT CoAP thread for RIOT-specific initialization.