Cordio Stack and Cordio Profiles
r2p3-02rel0
Main Page
Usage and Description
Reference
app_cfg.h
Go to the documentation of this file.
1
/*************************************************************************************************/
2
/*!
3
* \file
4
*
5
* \brief Application framework configuration.
6
*
7
* Copyright (c) 2011-2018 Arm Ltd. All Rights Reserved.
8
* ARM Ltd. confidential and proprietary.
9
*
10
* IMPORTANT. Your use of this file is governed by a Software License Agreement
11
* ("Agreement") that must be accepted in order to download or otherwise receive a
12
* copy of this file. You may not use or copy this file for any purpose other than
13
* as described in the Agreement. If you do not agree to all of the terms of the
14
* Agreement do not use this file and delete all copies in your possession or control;
15
* if you do not have a copy of the Agreement, you must contact ARM Ltd. prior
16
* to any use, copying or further distribution of this software.
17
*/
18
/*************************************************************************************************/
19
#ifndef APP_CFG_H
20
#define APP_CFG_H
21
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
27
/**************************************************************************************************
28
Macros
29
**************************************************************************************************/
30
31
/*! \addtogroup APP_FRAMEWORK_DB_API
32
* \{ */
33
34
/** \name App Configuration
35
* Build-time configuration constants
36
*/
37
/**@{*/
38
39
/*! \brief Number of application database device records */
40
#ifndef APP_DB_NUM_RECS
41
#define APP_DB_NUM_RECS 3
42
#endif
43
44
/*! \brief Number of client characteristic configuration descriptor handles per record */
45
#ifndef APP_DB_NUM_CCCD
46
#define APP_DB_NUM_CCCD 10
47
#endif
48
49
/*! \brief Number of ATT client cached handles per record */
50
#ifndef APP_DB_HDL_LIST_LEN
51
#define APP_DB_HDL_LIST_LEN 20
52
#endif
53
54
/*! \} */
/* APP_FRAMEWORK_DB_API */
55
56
/*! \addtogroup APP_FRAMEWORK_API
57
* \{ */
58
59
/*! \brief Number of scan results to store (used only when operating as master) */
60
#ifndef APP_SCAN_RESULT_MAX
61
#define APP_SCAN_RESULT_MAX 10
62
#endif
63
64
/**@}*/
65
66
/*! \} */
/*! APP_FRAMEWORK_API */
67
68
#ifdef __cplusplus
69
};
70
#endif
71
72
#endif
/* APP_CFG_H */
Copyright © 2017-2018 Arm Ltd. All rights reserved.
Arm Confidential
Cordio Stack and Cordio Profiles