mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-01 22:20:58 +00:00
test/pts: select single remote stream endpoint in avdtp_source for config commands
This commit is contained in:
parent
4a24e821b7
commit
f13e45796a
@ -470,6 +470,14 @@ static void packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packe
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case AVDTP_SUBEVENT_SIGNALING_SEP_DICOVERY_DONE:
|
||||||
|
// select remote if there's only a single remote
|
||||||
|
if (num_remote_seps == 1){
|
||||||
|
media_tracker.remote_seid = remote_seps[0].sep.seid;
|
||||||
|
printf("Only one remote Stream Endpoint with SEID %u, select it for initiator commands\n", media_tracker.remote_seid);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
case AVDTP_SUBEVENT_SIGNALING_MEDIA_TRANSPORT_CAPABILITY:
|
case AVDTP_SUBEVENT_SIGNALING_MEDIA_TRANSPORT_CAPABILITY:
|
||||||
printf("CAPABILITY - MEDIA_TRANSPORT supported on remote.\n");
|
printf("CAPABILITY - MEDIA_TRANSPORT supported on remote.\n");
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user