nRF5 SDK v15.0.0
Macros
Peer Manager configuration

Macros

#define PEER_MANAGER_ENABLED
 Enable Peer Manager module. More...
 
#define PM_MAX_REGISTRANTS
 Number of event handlers that can be registered. More...
 
#define PM_FLASH_BUFFERS
 Number of internal buffers for flash operations. More...
 
#define PM_CENTRAL_ENABLED
 Enable/disable central-specific Peer Manager functionality. More...
 
#define PM_SERVICE_CHANGED_ENABLED
 Enable/disable the service changed management for GATT server in Peer Manager. More...
 
#define PM_PEER_RANKS_ENABLED
 Enable/disable the peer rank management in Peer Manager. More...
 

Detailed Description

Macro Definition Documentation

#define PEER_MANAGER_ENABLED

Enable Peer Manager module.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.
#define PM_CENTRAL_ENABLED

Enable/disable central-specific Peer Manager functionality.

Enable/disable central-specific Peer Manager functionality.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.
#define PM_FLASH_BUFFERS

Number of internal buffers for flash operations.

Decrease this value to lower RAM usage.

Note
This is an NRF_CONFIG macro.
#define PM_MAX_REGISTRANTS

Number of event handlers that can be registered.

Note
This is an NRF_CONFIG macro.
#define PM_PEER_RANKS_ENABLED

Enable/disable the peer rank management in Peer Manager.

Set this to false to save code space if not using the peer rank API.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.
#define PM_SERVICE_CHANGED_ENABLED

Enable/disable the service changed management for GATT server in Peer Manager.

If not using a GATT server, or using a server wihout a service changed characteristic, disable this to save code space.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.

Documentation feedback | Developer Zone | Subscribe | Updated