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...
|
|
| #define | PM_LESC_ENABLED |
|
Enable/disable LESC support in Peer Manager.
More...
|
|
| #define | PM_RA_PROTECTION_ENABLED |
|
Enable/disable protection against repeated pairing attempts in Peer Manager.
More...
|
|
| #define | PM_RA_PROTECTION_TRACKED_PEERS_NUM |
|
Maximum number of peers whose authorization status can be tracked.
More...
|
|
| #define | PM_RA_PROTECTION_MIN_WAIT_INTERVAL |
|
Minimum waiting interval (in ms) before a new pairing attempt can be initiated.
More...
|
|
| #define | PM_RA_PROTECTION_MAX_WAIT_INTERVAL |
|
Maximum waiting interval (in ms) before a new pairing attempt can be initiated.
More...
|
|
| #define | PM_RA_PROTECTION_REWARD_PERIOD |
|
Reward period (in ms).
More...
|
|
| #define | PM_HANDLER_SEC_DELAY_MS |
|
Delay before starting security.
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_HANDLER_SEC_DELAY_MS |
Delay before starting security.
This might be necessary for interoperability reasons, especially as peripheral.
- Note
- This is an NRF_CONFIG macro.
| #define PM_LESC_ENABLED |
Enable/disable LESC support in Peer Manager.
If set to true, you need to call nrf_ble_lesc_request_handler() in the main loop to respond to LESC-related BLE events. If LESC support is not required, set this to false to save code space.
Set to 1 to activate.
- 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_RA_PROTECTION_ENABLED |
Enable/disable protection against repeated pairing attempts in Peer Manager.
Set to 1 to activate.
- Note
- This is an NRF_CONFIG macro.
| #define PM_RA_PROTECTION_MAX_WAIT_INTERVAL |
Maximum waiting interval (in ms) before a new pairing attempt can be initiated.
- Note
- This is an NRF_CONFIG macro.
| #define PM_RA_PROTECTION_MIN_WAIT_INTERVAL |
Minimum waiting interval (in ms) before a new pairing attempt can be initiated.
- Note
- This is an NRF_CONFIG macro.
| #define PM_RA_PROTECTION_REWARD_PERIOD |
Reward period (in ms).
The waiting interval is gradually decreased when no new failed pairing attempts are made during reward period.
- Note
- This is an NRF_CONFIG macro.
| #define PM_RA_PROTECTION_TRACKED_PEERS_NUM |
Maximum number of peers whose authorization status can be tracked.
- 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.