Skip to content

Commit 054b780

Browse files
committed
BLE - Cordio PAL SM: implement set_authentication_timeout
1 parent a057e5c commit 054b780

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioPalSecurityManager.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,10 @@ ble_error_t CordioSecurityManager::get_secure_connections_support(
118118
//
119119

120120
ble_error_t CordioSecurityManager::set_authentication_timeout(
121-
connection_handle_t, uint16_t timeout_in_10ms
121+
connection_handle_t connection, uint16_t timeout_in_10ms
122122
) {
123-
return BLE_ERROR_NOT_IMPLEMENTED;
123+
DmWriteAuthPayloadTimeout(connection, timeout_in_10ms);
124+
return BLE_ERROR_NONE;
124125
}
125126

126127
ble_error_t CordioSecurityManager::get_authentication_timeout(

0 commit comments

Comments
 (0)