mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-23 19:20:51 +00:00
l2cap: ENABLE_EXPLICIT_BR_EDR_SECURITY_MANAGER reports support for BR/EDR SM in information response
This commit is contained in:
parent
8f733c6f40
commit
3dc9ca3a1d
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user