File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -644,6 +644,7 @@ class SecurityManager {
644
644
*/
645
645
ble_error_t setKeypressNotification (bool enabled = true );
646
646
647
+ #if BLE_FEATURE_SIGNING
647
648
/* *
648
649
* Request generation and exchange of signing keys so that packet signing can be utilised
649
650
* on this connection.
@@ -655,6 +656,7 @@ class SecurityManager {
655
656
* @return BLE_ERROR_NONE or appropriate error code indicating the failure reason.
656
657
*/
657
658
ble_error_t enableSigning (ble::connection_handle_t connectionHandle, bool enabled = true );
659
+ #endif // BLE_FEATURE_SIGNING
658
660
659
661
/* *
660
662
* Give a hint to the stack that the master/slave role might change in the future.
Original file line number Diff line number Diff line change @@ -137,13 +137,15 @@ ble_error_t SecurityManager<Impl>::setKeypressNotification(bool enabled) {
137
137
return impl ()->setKeypressNotification_ (enabled);
138
138
}
139
139
140
+ #if BLE_FEATURE_SIGNING
140
141
template <class Impl >
141
142
ble_error_t SecurityManager<Impl>::enableSigning(
142
143
ble::connection_handle_t connectionHandle,
143
144
bool enabled
144
145
) {
145
146
return impl ()->enableSigning_ (connectionHandle, enabled);
146
147
}
148
+ #endif // BLE_FEATURE_SIGNING
147
149
148
150
template <class Impl >
149
151
ble_error_t SecurityManager<Impl>::setHintFutureRoleReversal(bool enable) {
You can’t perform that action at this time.
0 commit comments