From 1d927f3a774972a636314c3fb1f0143b3df05fb8 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 17 May 2019 18:33:14 +0200 Subject: [PATCH] dut_mode_classic: disable Secure Simple Pairing --- example/dut_mode_classic.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/example/dut_mode_classic.c b/example/dut_mode_classic.c index 15aedaad4..bdede71a3 100644 --- a/example/dut_mode_classic.c +++ b/example/dut_mode_classic.c @@ -110,6 +110,9 @@ int btstack_main(int argc, const char * argv[]) { (void)argc; (void)argv; + // disable Secure Simple Pairinng + gap_ssp_set_enable(0); + // make device connectable // @note: gap_connectable_control will be enabled when an L2CAP service // (e.g. RFCOMM) is initialized). Therefore, it's not needed in regular applications