nano-client API Reference
nano_client_config.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* (c) 2020 Copyright, Real-Time Innovations, Inc. (RTI)
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
******************************************************************************/
17
24
#ifndef nano_client_config_h
25
#define nano_client_config_h
26
27
#include "
nano/nano_core.h
"
28
34
/******************************************************************************
35
* Optional Features
36
******************************************************************************/
37
38
#ifndef NANO_FEAT_EXTENDED_API
39
/*e
40
* @brief Enable Client's extended API
41
*
42
*/
43
#define NANO_FEAT_EXTENDED_API 1
44
#endif
/* NANO_FEAT_EXTENDED_API */
45
46
#ifndef NANO_FEAT_AGENT_DISCOVERY
47
/*e
48
* @brief Enable support for dynamically discovering Agent's location.
49
*
50
*/
51
#define NANO_FEAT_AGENT_DISCOVERY 1
52
#endif
/* NANO_FEAT_AGENT_DISCOVERY */
53
54
55
/******************************************************************************
56
* Resource Limits
57
******************************************************************************/
58
59
#ifndef NANO_LIMIT_CLIENT_MAX_PENDING_REQUESTS
60
/*e
61
* @brief Default maximum number of pending requests for a client.
62
*
63
*/
64
#define NANO_LIMIT_CLIENT_MAX_PENDING_REQUESTS 4
65
#endif
/* NANO_LIMIT_CLIENT_MAX_PENDING_REQUESTS */
66
67
#ifndef NANO_LIMIT_CLIENT_INCLUDE_KEY_IN_MESSAGE_DEFAULT
68
72
#define NANO_LIMIT_CLIENT_INCLUDE_KEY_IN_MESSAGE_DEFAULT NANO_BOOL_FALSE
73
#endif
/* NANO_LIMIT_CLIENT_INCLUDE_KEY_IN_MESSAGE_DEFAULT */
74
75
#ifndef NANO_LIMIT_CLIENT_SESSION_ID_WITH_KEY_DEFAULT
76
80
#define NANO_LIMIT_CLIENT_SESSION_ID_WITH_KEY_DEFAULT 0x01
81
#endif
/* NANO_LIMIT_CLIENT_SESSION_ID_WITH_KEY_DEFAULT */
82
83
#ifndef NANO_LIMIT_CLIENT_SESSION_ID_WITHOUT_KEY_DEFAULT
84
88
#define NANO_LIMIT_CLIENT_SESSION_ID_WITHOUT_KEY_DEFAULT 0x81
89
#endif
/* NANO_LIMIT_CLIENT_SESSION_ID_WITHOUT_KEY_DEFAULT */
90
/* nano_api_libcfg_client */
92
93
#endif
/* nano_client_config_h */
nano_core.h
Nano Core API.
nano-agent
nano-client
include
nano
nano_client_config.h
Generated by
1.8.13