mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-08 12:50:52 +00:00
test/pts/l2cap_test: fix ERTM state console output
This commit is contained in:
parent
43ec931d38
commit
742075fcc3
@ -106,10 +106,10 @@ static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *pack
|
|||||||
case L2CAP_EVENT_INCOMING_CONNECTION: {
|
case L2CAP_EVENT_INCOMING_CONNECTION: {
|
||||||
uint16_t l2cap_cid = little_endian_read_16(packet, 12);
|
uint16_t l2cap_cid = little_endian_read_16(packet, 12);
|
||||||
if (l2cap_ertm){
|
if (l2cap_ertm){
|
||||||
printf("L2CAP Accepting incoming connection request in Basic Mode\n");
|
printf("L2CAP Accepting incoming connection request in ERTM\n");
|
||||||
l2cap_accept_ertm_connection(l2cap_cid);
|
l2cap_accept_ertm_connection(l2cap_cid);
|
||||||
} else {
|
} else {
|
||||||
printf("L2CAP Accepting incoming connection request in ERTM\n");
|
printf("L2CAP Accepting incoming connection request in Basic Mode\n");
|
||||||
l2cap_accept_connection(l2cap_cid);
|
l2cap_accept_connection(l2cap_cid);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user