Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp309346lqo; Thu, 16 May 2024 07:05:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU18SnCfJuVSnUmDzF7ZlaZEAPijpwW1lrIX2FB0liYO7giBogYnM3v7ahMiHt3oqwh95R4Hg5g4A/ZJk//sdyU5d5aJhnc/IqPgYIc0A== X-Google-Smtp-Source: AGHT+IFO66GsnTr8CEctHzIJ23fS8BBjqeck/b4pcRb8+2uoyfY3zm0KyJgVKxmQSuQpz//dhoj6 X-Received: by 2002:a05:6a20:f38f:b0:1aa:a6cc:39c5 with SMTP id adf61e73a8af0-1afde0824f6mr23277061637.7.1715868302524; Thu, 16 May 2024 07:05:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715868302; cv=pass; d=google.com; s=arc-20160816; b=Un4uFTKOFdlsoLcHfbquTWyfVmx2RopZZ48bJZu13uUE9XpPCs9ucMXtXn4QViWgHt yJ8cbSFsdU7iT+mloFfEGWOLZ57YsbBHpeTa19TBI6zcIZQz0FEIOZ2H4aiB9AHefltB flv8yDyodnQf0VK+amDlfI00x7LOCM9wXB2Njq0ENFNnt6bKyRE2TmfmJTawlYKP5CX1 x70HnHw3OmKkodFLuj/KccRt9vsIz/gMr+n/sUo/+OmDHEARhVZVUaVxWrIVzogv6U3E DbsUrTlut33ugnArKidVaLr2SyrEcUaQiMkY/9VmiSBHmG7Q1ZeTDQkGC9yHHr6kiSt9 ONYg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=4CWCqkupJnwh65ncAXkPaZhS3oY21ZanDzCmV8H+ti8=; fh=Gg33OXRnrPRrTdx+nczYYEEAdxDOorVRrtzYqt0L5Tg=; b=UFRtf35feKbEvpaAomlxIJv8iZVQS5stbzhjzmawYjJpxuhbLwERgAYoXoTtQVAa7r CZMzO7dsYtf+e7kPVmrzKAF19//PVtIDFmDHbdgy7j2RimzYSvhjos8A4yHUzL6zPriR 2gC5DDb911Y0kpcJBieVJPhFHi4xCelswO5a8Iwi9GNV93f1quiA7fCe/PkCJg7Mif4U 43jbCzIksEgCI0yCZsCf6UoCYcmOyWQ9mHDlEhTIs8WXiBaLdldd1UmCbgi3CaSU3Ugd j2OZnSPir9ueCQl5nl1KF4aRJm1fqd3PUVOb9BCS6oVYJouRzpMrZgbcH3VHozXKxQmG Yhiw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@asymptotic.io header.s=google header.b=zBllCJX2; arc=pass (i=1 spf=pass spfdomain=asymptotic.io dkim=pass dkdomain=asymptotic.io dmarc=pass fromdomain=asymptotic.io); spf=pass (google.com: domain of linux-bluetooth+bounces-4663-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4663-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=asymptotic.io Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2b4f6e2si15918033b3a.391.2024.05.16.07.05.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 07:05:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-4663-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@asymptotic.io header.s=google header.b=zBllCJX2; arc=pass (i=1 spf=pass spfdomain=asymptotic.io dkim=pass dkdomain=asymptotic.io dmarc=pass fromdomain=asymptotic.io); spf=pass (google.com: domain of linux-bluetooth+bounces-4663-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4663-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=asymptotic.io Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id EDCACB209F3 for ; Wed, 15 May 2024 20:16:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4DD7D15B0E5; Wed, 15 May 2024 20:16:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=asymptotic.io header.i=@asymptotic.io header.b="zBllCJX2" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6AA9E15B0E0 for ; Wed, 15 May 2024 20:16:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715804179; cv=none; b=XkhKbjz9RJJ3VQhkgbIoXtk83L+9mIRURl9xE8yHmkWjI5FmMP3BxrVRZosrk+wwY5MbHDBuXT0mUCKB+gyzW4jvKKo2fG/6uwV/mjZzIOMGP17/BE/vv/gmCwNfL/n5354zArMd5oRJtGnqyURLnDdwk/QXVXHXhIn84S+VUNQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715804179; c=relaxed/simple; bh=A5WAuMoCa+cfy6pjs/Yq0/4ihIWGGyl6xhSynq8yMqE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uRbDl+yQb0r9juwPIpNGQKFbBwuWiwVViqqHBN+c6SBqqoNhMwKTth54S5NRq4hXQ47moZe35EjVe42yDdS0g6cEUSU7Qs6Lph4q77Qp+umSkWVvhDyk5IBJMGF94SSjt//E3QwwbBPjnBwzrTM52hAxKLYpYfrY9MpZ6Azdjuk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=asymptotic.io; spf=pass smtp.mailfrom=asymptotic.io; dkim=pass (2048-bit key) header.d=asymptotic.io header.i=@asymptotic.io header.b=zBllCJX2; arc=none smtp.client-ip=209.85.208.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=asymptotic.io Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=asymptotic.io Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-5731ffcc905so2634583a12.2 for ; Wed, 15 May 2024 13:16:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asymptotic.io; s=google; t=1715804175; x=1716408975; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=4CWCqkupJnwh65ncAXkPaZhS3oY21ZanDzCmV8H+ti8=; b=zBllCJX2FJIcPuabyei5nIvvcQGquSk9+yvLi4GvblIbFEui8anrK7gNqbarhRrxYF JH/ET+1WXkEn5L6ZPtog8RcvTbjoExX501IDFY7DXsaBu2wNTkLyqA7T/IhaQ5G9fOQc 409N431mNZa75jHGQviAtsodtsf8NtShDrWnIFk+pEy29TbXXsYEp15AYbUKdMafkHoH lRmZy12z2Nu1Sv7mBRcJaHwLXbwEA1jlcUvhajF42qORO9vfRfIn2GU9m8MMu+p8eCb0 CeUJTm+siI2UOvMYgRnOKB14wbMsveBigmWmCJkHRXt6vZSDfpdXB5qQAUzQUXWIqbUT o8ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715804175; x=1716408975; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4CWCqkupJnwh65ncAXkPaZhS3oY21ZanDzCmV8H+ti8=; b=RQuYGwn6IZBbc+gK55vGbyWaNYsLf1poppHxIPozeE6F58aIyTf3u6CkcvyFA+G9bR bbSHENPLmunQ4heVKu7Xxj/9TVLpjLKc7v82uQopLGdNLPFph7tBXoKPZSCFPax/xk63 O4qnvl4t0LbUkeZ6aq0208pvY87n0uUbwmPDrjo2MJ7hTTdAhZauD8+/Si8CaegfZPNu c3xP6+ULGnV2DpsjTCmFMZtcjUS07ddYGNPmC7crS/aH49fIpZalIsGB6Z2YgKsxxSst GZ8jlodISxJlF/vcbHndyIapp234B39bsQeF/89QR5hqVtCqV9if/4sC3Mv0ceYmx2fo NOdw== X-Gm-Message-State: AOJu0YwabWkY0IdZoSyhxNhnwjNlYtDlpZRq5BkpcMHJn5SoZvgmC0dm iz+gr0PLoUJn/w1tU2mNQgtyLsL5JDOHxGoffbG17RyTLXNf6d68nxogOvahL460kq1MUUZyev7 E X-Received: by 2002:a05:6402:3185:b0:573:55ca:8f15 with SMTP id 4fb4d7f45d1cf-57355ca8f51mr10558229a12.39.1715804174746; Wed, 15 May 2024 13:16:14 -0700 (PDT) Received: from andromeda.lan ([74.15.47.99]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5743065dd09sm7457142a12.64.2024.05.15.13.16.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 13:16:14 -0700 (PDT) From: Arun Raghavan To: linux-bluetooth@vger.kernel.org Cc: Arun Raghavan Subject: [PATCH BlueZ,v3 0/5] ASHA plugin Date: Wed, 15 May 2024 16:15:47 -0400 Message-ID: <20240515201552.1831618-1-arun@asymptotic.io> X-Mailer: git-send-email 2.45.0 Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi all, This is v2 of the ASHA plugins. This fixes some of the issues that cropped up in CI, and splits the profile implementation and plugin into separate patches for easier review. Cheers, Arun Arun Raghavan (5): src/shared: Add initial implementation for an ASHA profile profiles/audio: Add an ASHA plugin test: Add a script to test ASHA gitignore: Add compile_commands.json gitignore: Add __pycache__ .gitignore | 3 + Makefile.am | 3 +- Makefile.plugins | 5 + configure.ac | 4 + lib/uuid.h | 3 + profiles/audio/asha.c | 336 ++++++++++++++++++++++++ profiles/audio/media.c | 30 +++ profiles/audio/media.h | 2 + profiles/audio/transport.c | 173 ++++++++++++- src/shared/asha.c | 505 +++++++++++++++++++++++++++++++++++++ src/shared/asha.h | 73 ++++++ test/simple-asha | 158 ++++++++++++ 12 files changed, 1292 insertions(+), 3 deletions(-) create mode 100644 profiles/audio/asha.c create mode 100644 src/shared/asha.c create mode 100644 src/shared/asha.h create mode 100755 test/simple-asha -- 2.45.0