User | Revision | Line number | New contents of line |
jinu |
0:6ba9b94b8997
|
1
|
/* Copyright (c) Nordic Semiconductor ASA
|
jinu |
0:6ba9b94b8997
|
2
|
* All rights reserved.
|
jinu |
0:6ba9b94b8997
|
3
|
*
|
jinu |
0:6ba9b94b8997
|
4
|
* Redistribution and use in source and binary forms, with or without modification,
|
jinu |
0:6ba9b94b8997
|
5
|
* are permitted provided that the following conditions are met:
|
jinu |
0:6ba9b94b8997
|
6
|
*
|
jinu |
0:6ba9b94b8997
|
7
|
* 1. Redistributions of source code must retain the above copyright notice, this
|
jinu |
0:6ba9b94b8997
|
8
|
* list of conditions and the following disclaimer.
|
jinu |
0:6ba9b94b8997
|
9
|
*
|
jinu |
0:6ba9b94b8997
|
10
|
* 2. Redistributions in binary form must reproduce the above copyright notice, this
|
jinu |
0:6ba9b94b8997
|
11
|
* list of conditions and the following disclaimer in the documentation and/or
|
jinu |
0:6ba9b94b8997
|
12
|
* other materials provided with the distribution.
|
jinu |
0:6ba9b94b8997
|
13
|
*
|
jinu |
0:6ba9b94b8997
|
14
|
* 3. Neither the name of Nordic Semiconductor ASA nor the names of other
|
jinu |
0:6ba9b94b8997
|
15
|
* contributors to this software may be used to endorse or promote products
|
jinu |
0:6ba9b94b8997
|
16
|
* derived from this software without specific prior written permission.
|
jinu |
0:6ba9b94b8997
|
17
|
*
|
jinu |
0:6ba9b94b8997
|
18
|
* 4. This software must only be used in a processor manufactured by Nordic
|
jinu |
0:6ba9b94b8997
|
19
|
* Semiconductor ASA, or in a processor manufactured by a third party that
|
jinu |
0:6ba9b94b8997
|
20
|
* is used in combination with a processor manufactured by Nordic Semiconductor.
|
jinu |
0:6ba9b94b8997
|
21
|
*
|
jinu |
0:6ba9b94b8997
|
22
|
*
|
jinu |
0:6ba9b94b8997
|
23
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
jinu |
0:6ba9b94b8997
|
24
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
jinu |
0:6ba9b94b8997
|
25
|
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
jinu |
0:6ba9b94b8997
|
26
|
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
jinu |
0:6ba9b94b8997
|
27
|
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
jinu |
0:6ba9b94b8997
|
28
|
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
jinu |
0:6ba9b94b8997
|
29
|
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
jinu |
0:6ba9b94b8997
|
30
|
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
jinu |
0:6ba9b94b8997
|
31
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
jinu |
0:6ba9b94b8997
|
32
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
jinu |
0:6ba9b94b8997
|
33
|
*/
|
jinu |
0:6ba9b94b8997
|
34
|
|
jinu |
0:6ba9b94b8997
|
35
|
/** @cond To make doxygen skip this file */
|
jinu |
0:6ba9b94b8997
|
36
|
|
jinu |
0:6ba9b94b8997
|
37
|
/** @file
|
jinu |
0:6ba9b94b8997
|
38
|
*
|
jinu |
0:6ba9b94b8997
|
39
|
* @defgroup ble_sdk_app_proximity_bondmngr_cfg Proximity Bond Manager Configuration
|
jinu |
0:6ba9b94b8997
|
40
|
* @{
|
jinu |
0:6ba9b94b8997
|
41
|
* @ingroup ble_sdk_app_proximity
|
jinu |
0:6ba9b94b8997
|
42
|
* @brief Definition of bond manager configurable parameters
|
jinu |
0:6ba9b94b8997
|
43
|
*/
|
jinu |
0:6ba9b94b8997
|
44
|
|
jinu |
0:6ba9b94b8997
|
45
|
#ifndef BLE_BONDMNGR_CFG_H__
|
jinu |
0:6ba9b94b8997
|
46
|
#define BLE_BONDMNGR_CFG_H__
|
jinu |
0:6ba9b94b8997
|
47
|
|
jinu |
0:6ba9b94b8997
|
48
|
/**@brief Number of CCCDs used in the proximity application. */
|
jinu |
0:6ba9b94b8997
|
49
|
#define BLE_BONDMNGR_CCCD_COUNT 2
|
jinu |
0:6ba9b94b8997
|
50
|
|
jinu |
0:6ba9b94b8997
|
51
|
/**@brief Maximum number of bonded centrals. */
|
jinu |
0:6ba9b94b8997
|
52
|
#define BLE_BONDMNGR_MAX_BONDED_CENTRALS 7
|
jinu |
0:6ba9b94b8997
|
53
|
|
jinu |
0:6ba9b94b8997
|
54
|
/**< Bit mask that defines an empty address in flash. */
|
jinu |
0:6ba9b94b8997
|
55
|
#define PSTORAGE_FLASH_EMPTY_MASK 0x00000000
|
jinu |
0:6ba9b94b8997
|
56
|
|
jinu |
0:6ba9b94b8997
|
57
|
#endif // BLE_BONDMNGR_CFG_H__
|
jinu |
0:6ba9b94b8997
|
58
|
|
jinu |
0:6ba9b94b8997
|
59
|
/** @} */
|
jinu |
0:6ba9b94b8997
|
60
|
/** @endcond */
|
jinu |
0:6ba9b94b8997
|
61
|
|