mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-14 10:21:49 +00:00
use 0x04 - no resources available, if incoming SDP connection while one is active
This commit is contained in:
parent
ee077b17f6
commit
1884ffcf20
@ -619,7 +619,7 @@ static void sdp_packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *p
|
||||
case L2CAP_EVENT_INCOMING_CONNECTION:
|
||||
if (l2cap_cid) {
|
||||
// CONNECTION REJECTED DUE TO LIMITED RESOURCES
|
||||
l2cap_decline_connection_internal(channel, 0x0d);
|
||||
l2cap_decline_connection_internal(channel, 0x04);
|
||||
break;
|
||||
}
|
||||
// accept
|
||||
|
Loading…
x
Reference in New Issue
Block a user