Bluetooth: ISO: Make it possible to setup unidirectional CIS

The current iso commands in the shell only supports setting up
a bidirectional stream or unidirectional for central role.
Adding rx/tx/rxtx option to iso listen command to allow for
peripheral side configuration of an iso connection.

Signed-off-by: Casper Bonde <casper_bonde@bose.com>
This commit is contained in:
Casper Bonde 2021-05-10 16:51:45 +02:00 committed by Carles Cufí
commit 3af1f4bac5
2 changed files with 30 additions and 8 deletions

View file

@ -140,10 +140,12 @@ struct bt_iso_chan_path {
/** @brief ISO Meta Data structure for received ISO packets. */
struct bt_iso_recv_info {
/** ISO timestamp - valid only if the Bluetooth controller includes it */
/** ISO timestamp - valid only if the Bluetooth controller includes it
* If time stamp is not pressent this value will be 0 on all iso packets
*/
uint32_t ts;
/** ISO Pkt Seq no of the first fragment in the SDU */
/** ISO packet sequence number of the first fragment in the SDU */
uint16_t sn;
};