@@ -18,46 +18,40 @@ menuconfig PEER_MANAGER
18
18
if PEER_MANAGER
19
19
20
20
config PM_BM_ZMS_SECTOR_SIZE
21
- int "Sector size"
21
+ int "BM_ZMS sector size"
22
22
default 1024
23
23
24
24
config PM_BLE_OBSERVER_PRIO
25
- int "Priority with which BLE events are dispatched to the Peer Manager module. "
25
+ int "BLE events priority "
26
26
default 1
27
27
help
28
28
Priority with which BLE events are dispatched to the Peer Manager module.
29
29
30
30
config PM_MAX_REGISTRANTS
31
- int "Number of event handlers that can be registered. "
31
+ int "Maximum number of event handlers that can be registered"
32
32
default 3
33
- help
34
- Number of event handlers that can be registered.
35
33
36
34
config PM_FLASH_BUFFERS
37
- int "Number of internal buffers for flash operations. "
35
+ int "Number of internal buffers for non-volatile storage operations"
38
36
default 4
39
37
help
40
- Number of internal buffers for flash operations.
41
- Decrease this value to lower RAM usage.
38
+ Decrease this value to reduce RAM usage.
42
39
43
- config PM_SERVICE_CHANGED_ENABLED
44
- bool "Enable/disable the service changed management for GATT server in Peer Manager. "
40
+ config PM_SERVICE_CHANGED
41
+ bool "Service changed management for GATT server"
45
42
default y
46
43
help
47
- Enable/disable the service changed management for GATT server in Peer Manager.
48
- If not using a GATT server, or using a server without a service changed characteristic,
49
- disable this to save code space.
44
+ Disable this option to reduce memory usage if not using a GATT server, or using a server
45
+ without a service changed characteristic.
50
46
51
- config PM_PEER_RANKS_ENABLED
52
- bool "Enable/disable the peer rank management in Peer Manager. "
47
+ config PM_PEER_RANKS
48
+ bool "Peer rank management"
53
49
default y
54
50
help
55
- Enable/disable the peer rank management in Peer Manager.
56
- Set this to false to save code space if not using the peer rank API.
51
+ Disable this option to reduce memory usage if not using the peer rank API.
57
52
58
- config PM_LESC_ENABLED
59
- bool "Enable/disable LESC support in Peer Manager."
60
- default n
53
+ config PM_LESC
54
+ bool "LE Secure Connections (LESC) support"
61
55
depends on PSA_WANT_ALG_ECDH
62
56
depends on PSA_WANT_GENERATE_RANDOM
63
57
depends on PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
@@ -68,16 +62,14 @@ config PM_LESC_ENABLED
68
62
MBEDTLS_ENABLE_HEAP
69
63
70
64
help
71
- Enable/disable LESC support in Peer Manager.
72
- If set to true, you need to call nrf_ble_lesc_request_handler() in the main loop to
73
- respond to LESC-related BLE events. If LESC support is not required, set this to false to
74
- save code space.
65
+ If enabled, you need to call nrf_ble_lesc_request_handler() in the main loop to
66
+ respond to LESC-related BLE events. If LESC support is not required, disable this option
67
+ to reduce memory usage.
75
68
76
- if PM_LESC_ENABLED
69
+ if PM_LESC
77
70
78
71
config PM_LESC_GENERATE_NEW_KEYS
79
72
bool "Generate new LESC key pair after every pairing attempt"
80
- default n
81
73
help
82
74
New LESC keys are generated on the auth status event.
83
75
@@ -87,45 +79,42 @@ config PM_LESC_PRIVATE_KEY_EXPORT
87
79
Export private key.
88
80
This is for for debugging purposes only and is not to be used in production!
89
81
90
- endif # PM_LESC_ENABLED
82
+ endif # PM_LESC
91
83
92
- config PM_RA_PROTECTION_ENABLED
93
- bool "Enable/disable protection against repeated pairing attempts in Peer Manager."
94
- default n
84
+ config PM_RA_PROTECTION
85
+ bool "Protection against repeated pairing attempts"
95
86
help
96
- Enable/disable protection against repeated pairing attempts in Peer Manager.
87
+ Enable protection against repeated Bluetooth pairing attempts from the same device.
88
+ Offending peers will be temporarily blacklisted with increasing backoff times to
89
+ prevent pairing spam or brute-force attacks.
90
+
91
+ if PM_RA_PROTECTION
97
92
98
93
config PM_RA_PROTECTION_TRACKED_PEERS_NUM
99
- int "Maximum number of peers whose authorization status can be tracked. "
94
+ int "Maximum number of peers whose authorization status can be tracked"
100
95
default 8
101
- help
102
- Maximum number of peers whose authorization status can be tracked.
103
96
104
97
config PM_RA_PROTECTION_MIN_WAIT_INTERVAL
105
- int "Minimum waiting interval (in ms) before a new pairing attempt can be initiated. "
98
+ int "Minimum waiting interval (in ms) before a new pairing attempt can be initiated"
106
99
default 4000
107
- help
108
- Minimum waiting interval (in ms) before a new pairing attempt can be initiated.
109
100
110
101
config PM_RA_PROTECTION_MAX_WAIT_INTERVAL
111
- int "Maximum waiting interval (in ms) before a new pairing attempt can be initiated. "
102
+ int "Maximum waiting interval (in ms) before a new pairing attempt can be initiated"
112
103
default 64000
113
- help
114
- Maximum waiting interval (in ms) before a new pairing attempt can be initiated.
115
104
116
105
config PM_RA_PROTECTION_REWARD_PERIOD
117
- int "Reward period (in ms). "
106
+ int "Reward period (in ms)"
118
107
default 10000
119
108
help
120
- Reward period (in ms).
121
109
The waiting interval is gradually decreased when no new failed pairing attempts are made
122
110
during reward period.
123
111
112
+ endif # PM_RA_PROTECTION
113
+
124
114
config PM_HANDLER_SEC_DELAY_MS
125
- int "Delay before starting security. "
115
+ int "Delay before starting security"
126
116
default 0
127
117
help
128
- Delay before starting security.
129
118
This might be necessary for interoperability reasons, especially as peripheral.
130
119
131
120
module=PEER_MANAGER
0 commit comments