From e8bde1e163b46840f6867845d76d518277fdf2a4 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 4 Dec 2020 18:27:16 +0100 Subject: [PATCH] sm: deprecated sm_send_security_request --- example/sm_pairing_peripheral.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/sm_pairing_peripheral.c b/example/sm_pairing_peripheral.c index d15933ff2..d9398b728 100644 --- a/example/sm_pairing_peripheral.c +++ b/example/sm_pairing_peripheral.c @@ -194,7 +194,7 @@ static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *pack // for testing, choose one of the following actions // manually start pairing - // sm_send_security_request(con_handle); + // sm_request_pairing(con_handle); // gatt client request to authenticated characteristic in sm_pairing_central (short cut, uses hard-coded value handle) // gatt_client_read_value_of_characteristic_using_value_handle(&packet_handler, con_handle, 0x0009);