This adds fixes for handing for Company ID and Vendor Codec ID
while adding PAC record to database and responding to Attribute
Read Request for Sink/Source PAC Characteristics.
p = util_iov_push(iov, sizeof(*p));
p->codec.id = pac->codec.id;
+ p->codec.cid = pac->codec.cid;
+ p->codec.vid = pac->codec.vid;
if (pac->data) {
p->cc_len = pac->data->iov_len;
if (!bdb)
return NULL;
+ if ((id != 0xff) && ((cid != 0U) || (vid != 0U)))
+ return NULL;
+
codec.id = id;
codec.cid = cid;
codec.vid = vid;
struct bt_bap_codec {
uint8_t id;
- uint16_t vid;
uint16_t cid;
+ uint16_t vid;
} __packed;
struct bt_ltv {