Lines Matching refs:l2cap
1205 struct bt_gatt_ots_l2cap *l2cap; in oacp_read() local
1220 err = bt_gatt_ots_l2cap_connect(conn, &l2cap); in oacp_read()
1226 l2cap->tx_done = tx_done; in oacp_read()
1227 l2cap->rx_done = rx_done; in oacp_read()
1228 l2cap->closed = chan_closed; in oacp_read()
1265 struct bt_gatt_ots_l2cap *l2cap; in oacp_write() local
1276 err = bt_gatt_ots_l2cap_connect(conn, &l2cap); in oacp_write()
1282 l2cap->tx_done = write_obj_tx_done; in oacp_write()
1283 l2cap->rx_done = rx_done; in oacp_write()
1284 l2cap->closed = chan_closed; in oacp_write()
1285 l2cap->tx.data = (uint8_t *)buf; in oacp_write()
1286 l2cap->tx.len = len; in oacp_write()