diff --git a/doc/manual/docs-template/how_to.md b/doc/manual/docs-template/how_to.md index f746cf25f..1948909f8 100644 --- a/doc/manual/docs-template/how_to.md +++ b/doc/manual/docs-template/how_to.md @@ -111,6 +111,7 @@ ENABLE_SEGGER_RTT | Use SEGGER RTT for console output and packet ENABLE_EXPLICIT_CONNECTABLE_MODE_CONTROL | Disable calls to control Connectable Mode by L2CAP ENABLE_EXPLICIT_IO_CAPABILITIES_REPLY | Let application trigger sending IO Capabilities (Negative) Reply ENABLE_EXPLICIT_LINK_KEY_REPLY | Let application trigger sending Link Key (Negative) Response, allows for asynchronous link key lookup +ENABLE_EXPLICIT_BR_EDR_SECURITY_MANAGER | Report BR/EDR Security Manager support in L2CAP Information Response ENABLE_CLASSIC_OOB_PAIRING | Enable support for classic Out-of-Band (OOB) pairing ENABLE_A2DP_SOURCE_EXPLICIT_CONFIG | Let application configure stream endpoint (skip auto-config of SBC endpoint) ENABLE_AVDTP_ACCEPTOR_EXPLICIT_START_STREAM_CONFIRMATION | allow accept or reject of stream start on A2DP_SUBEVENT_START_STREAM_REQUESTED diff --git a/src/l2cap.c b/src/l2cap.c index 41a3386bc..4170f6bfe 100644 --- a/src/l2cap.c +++ b/src/l2cap.c @@ -1748,11 +1748,11 @@ static void l2cap_run_signaling_response(void) { memset(map, 0, 8); // L2CAP Signaling Channel (bit 1) + Connectionless reception (bit 2) map[0] = (1 << 1) | (1 << 2); -#ifdef ENABLE_BLE +#if defined(ENABLE_BLE) || defined (ENABLE_EXPLICIT_BR_EDR_SECURITY_MANAGER) // BR/EDR Security Manager (bit 7) map[0] |= (1 << 7); #endif - l2cap_send_classic_signaling_packet(handle, INFORMATION_RESPONSE, sig_id, info_type, 0, + l2cap_send_classic_signaling_packet(handle, INFORMATION_RESPONSE, sig_id, info_type, 0, sizeof(map), &map); } break;