Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of nRF51822 by
device_manager_cnfg.h
00001 /* Copyright (C) 2013 Nordic Semiconductor. All Rights Reserved. 00002 * 00003 * The information contained herein is property of Nordic Semiconductor ASA. 00004 * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. 00005 * 00006 * Licensees are granted free, non-transferable use of the information. NO 00007 * WARRANTY of ANY KIND is provided. This heading must NOT be removed from 00008 * the file. 00009 * 00010 */ 00011 00012 /** 00013 * @file device_manager_cnfg.h 00014 * 00015 * @cond 00016 * @defgroup device_manager_cnfg Device Manager Configuration 00017 * @ingroup device_manager 00018 * @{ 00019 * 00020 * @brief Defines application specific configuration for Device Manager. 00021 * 00022 * @details All configurations that are specific to application have been defined 00023 * here. Application should configuration that best suits its requirements. 00024 */ 00025 00026 #ifndef DEVICE_MANAGER_CNFG_H__ 00027 #define DEVICE_MANAGER_CNFG_H__ 00028 00029 /** 00030 * @defgroup device_manager_inst Device Manager Instances 00031 * @{ 00032 */ 00033 /** 00034 * @brief Maximum applications that Device Manager can support. 00035 * 00036 * @details Maximum application that the Device Manager can support. 00037 * Currently only one application can be supported. 00038 * Minimum value : 1 00039 * Maximum value : 1 00040 * Dependencies : None. 00041 */ 00042 #define DEVICE_MANAGER_MAX_APPLICATIONS 1 00043 00044 /** 00045 * @brief Maximum connections that Device Manager should simultaneously manage. 00046 * 00047 * @details Maximum connections that Device Manager should simultaneously manage. 00048 * Minimum value : 1 00049 * Maximum value : Maximum links supported by SoftDevice. 00050 * Dependencies : None. 00051 */ 00052 #define DEVICE_MANAGER_MAX_CONNECTIONS 1 00053 00054 00055 /** 00056 * @brief Maximum bonds that Device Manager should manage. 00057 * 00058 * @details Maximum bonds that Device Manager should manage. 00059 * Minimum value : 1 00060 * Maximum value : 254. 00061 * Dependencies : None. 00062 * @note In case of GAP Peripheral role, the Device Manager will accept bonding procedure 00063 * requests from peers even if this limit is reached, but bonding information will not 00064 * be stored. In such cases, application will be notified with DM_DEVICE_CONTEXT_FULL 00065 * as event result at the completion of the security procedure. 00066 */ 00067 #define DEVICE_MANAGER_MAX_BONDS 7 00068 00069 00070 /** 00071 * @brief Maximum Characteristic Client Descriptors used for GATT Server. 00072 * 00073 * @details Maximum Characteristic Client Descriptors used for GATT Server. 00074 * Minimum value : 1 00075 * Maximum value : 254. 00076 * Dependencies : None. 00077 */ 00078 #define DM_GATT_CCCD_COUNT 2 00079 00080 00081 /** 00082 * @brief Size of application context. 00083 * 00084 * @details Size of application context that Device Manager should manage for each bonded device. 00085 * Size had to be a multiple of word size. 00086 * Minimum value : 4. 00087 * Maximum value : 256. 00088 * Dependencies : Needed only if Application Context saving is used by the application. 00089 * @note If set to zero, its an indication that application context is not required to be managed 00090 * by the module. 00091 */ 00092 #define DEVICE_MANAGER_APP_CONTEXT_SIZE 0 00093 00094 /* @} */ 00095 /* @} */ 00096 /** @endcond */ 00097 #endif // DEVICE_MANAGER_CNFG_H__ 00098
Generated on Tue Jul 12 2022 16:21:02 by
