nRF51 SDK: Device Manager Configuration

| nRF51 SDK

- Home
- Related Pages
- API Reference
- Data Structures

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Macros
Device Manager Configuration
Device Manager

Defines application specific configuration for Device Manager. More...

## Macros

#define | DEVICE_MANAGER_MAX_APPLICATIONS 1
| Maximum applications that Device Manager can support. More...
#define | DEVICE_MANAGER_MAX_CONNECTIONS 1
| Maximum connections that Device Manager should simultaneously manage. More...
#define | DEVICE_MANAGER_MAX_BONDS 7
| Maximum bonds that Device Manager should manage. More...
#define | DM_GATT_CCCD_COUNT 1
| Maximum Characteristic Client Descriptors used for GATT Server. More...
#define | DEVICE_MANAGER_APP_CONTEXT_SIZE 20
| Size of application context. More...

## Detailed Description

Defines application specific configuration for Device Manager.

All configurations that are specific to application have been defined here. Application should configuration that best suits its requirements.

## Macro Definition Documentation

#define DEVICE_MANAGER_APP_CONTEXT_SIZE 20

Size of application context.

Size of application context that Device Manager should manage for each bonded device. Size had to be a multiple of word size. Minimum value : 4. Maximum value : 256. Dependencies : Needed only if Application Context saving is used by the application.

Note
  If set to zero, its an indication that application context is not required to be managed by the module.

#define DEVICE_MANAGER_MAX_APPLICATIONS 1

Maximum applications that Device Manager can support.

Maximum application that the Device Manager can support. Currently only one application can be supported. Minimum value : 1 Maximum value : 1 Dependencies : None.

#define DEVICE_MANAGER_MAX_BONDS 7

Maximum bonds that Device Manager should manage.

Maximum bonds that Device Manager should manage. Minimum value : 1 Maximum value : 254. Dependencies : None.

#define DEVICE_MANAGER_MAX_CONNECTIONS 1

Maximum connections that Device Manager should simultaneously manage.

Maximum connections that Device Manager should simultaneously manage. Minimum value : 1 Maximum value : Maximum links supported by SoftDevice. Dependencies : None.

#define DM_GATT_CCCD_COUNT 1

Maximum Characteristic Client Descriptors used for GATT Server.

Maximum Characteristic Client Descriptors used for GATT Server. Minimum value : 1 Maximum value : 254. Dependencies : None.