Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1394042lqo; Sat, 18 May 2024 01:00:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW6y+fF26O2na/Xkl+5BxYQVFOH8HVYB+6jbtgTn8y/+aub8WBckMTHX+jC+SE0h0N6gHq3HiubsIlAQ7vT7nbyz9EFrqE3tAHmH3M2cQ== X-Google-Smtp-Source: AGHT+IFyDcIEJbCCkvgbTVHdDwDz2bfhP8dk90vGgFP0DvMWPblgPZMvBq9n9QIRiq2b2j0q1t6d X-Received: by 2002:a17:903:98f:b0:1f0:79a4:6847 with SMTP id d9443c01a7336-1f079a46b66mr180293845ad.55.1716019222481; Sat, 18 May 2024 01:00:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716019222; cv=pass; d=google.com; s=arc-20160816; b=KVINwd4vcPS7bvN6YoyJu9unnYVvZiv4wkbnrJStPfqkgkoqIDEPEUdVgVcXuCf2As +HXN6SxChUBE1MLZvD/x5vmod6eqVBR/NqD1ODmiTTnXvaA3qL4W5IkakKJR9TU6ZWmH 1C26ubzqgLc5JYItHaOD4UqOAypLllGDT8V6fWZuOcxzOQLGOyJttpuLLKTxzdkOR99n iotH00V7FjryRJHtAyEGKzIqhg0w+eLczqCpIvgNnk7XmeRX06v8ikkQN7rt8BvBAxHS 5G5KwuDrefuqpyAo8cIdWWheAyP5zwkIjusyUzZXgoab+C8qBNSCPoiX1liZL68Tl6cw 1Q/A== 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=QRi2jSAg+nP+cthCiPfofaTdmkXgXQWiEWeWJYJZoUU=; fh=Gg33OXRnrPRrTdx+nczYYEEAdxDOorVRrtzYqt0L5Tg=; b=RY67vQgZkt/KvSRqqOj4rVHOCl47Zo+hv1Atd5tK3f2FBYNWPeuyV88lCCGZGscQBm 8U1/Zj2P41zXMQ6khtXNfvBEYbsUbAFhLQnSSc3qqq44FWoSeU5vA4dAe6sgBeW1H8m5 0WmVXiE3Rq6a6zU0fYHW5kSVmKp9RMbdVnGoxn28SRsFKwW7hjw1B/ETutNIMFV25foB WTv1yGV893XwNMeXrMvX7677CbfW8SfSqLWxFlJyYwxhQ2ShrjI+RLwk2UfmCdDRiVIQ u//+zaFak2w4AxPTXkmQzS/48xwpSZQXpfkS1gmbgoQOK8fsysqAuQbxN+YzDI+ElUwH eing==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@asymptotic.io header.s=google header.b=u3qdHe56; 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-4741-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4741-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=asymptotic.io Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0bad8441si182074565ad.185.2024.05.18.01.00.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 May 2024 01:00:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-4741-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@asymptotic.io header.s=google header.b=u3qdHe56; 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-4741-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4741-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 596B428164E for ; Thu, 16 May 2024 19:38:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1D994156F53; Thu, 16 May 2024 19:38:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=asymptotic.io header.i=@asymptotic.io header.b="u3qdHe56" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) (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 62A121E487 for ; Thu, 16 May 2024 19:38:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715888330; cv=none; b=XkGSCqbskuzSxprBQ9eD2dYvjuoZu4qesQOmw7bdHedqMvOcGxhQE3dySVkULorHxTjQjS7yyXR5qfYJE/QazBBhonfxBunhRDsFvur+6is8g5BN5xFFucPyzdE0hO/oSYEKwWnPfNlvVfQLWo+lwXtccQbLz4WPLnZ0kpMpMgQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715888330; c=relaxed/simple; bh=cY1zme3OLL5/rgC9qKcd1ZwEYE7vRQhSJdR21l+UhPc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=eSgS3aJzddt95NMMuR8Kwqk8gCy7O/L311GE85QMcKe0Kw0s0q2LO7zLtawhk5gmwtoYlH7HWRU6a7z6Oxx677fwDNmuwssSp4M17N8X5ARvtU0+umi91LAgJJpwRf/euauBqf4esh4IBta6yMsLm/LDDu1M4Ltv6NJ6S2TtlNk= 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=u3qdHe56; arc=none smtp.client-ip=209.85.208.52 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-f52.google.com with SMTP id 4fb4d7f45d1cf-572baf393ddso5580882a12.1 for ; Thu, 16 May 2024 12:38:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asymptotic.io; s=google; t=1715888326; x=1716493126; 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=QRi2jSAg+nP+cthCiPfofaTdmkXgXQWiEWeWJYJZoUU=; b=u3qdHe56ja38o5y+ux59mgaCKA0iWOswPn+QZSgCGOXGn5AkmUBqYg6E8kHGKCBNzg INMdYMFqU2EiLOd1tw2orQzWyid59EX60LVJSkLxh4O5dLeHASGOiJDc88D0Uasp7yyJ trVn12kslVlFar4MJAEuIdmKQ1uQTVUEtjsykkUbNAUqRz0a1/j+T2+Kqa+laMK9hx7L hDyahFND9Gn5WhdXM/iAALEC+Ww331nwpX7WexqrbmIJ+ZNITRMRzg6XKgP+TzLUlejo zIDTQTK0SxDp9+YM7W40TCiTW0gwa1o4BC49c9cXvVT77To6v/vv3NVYw3leFYD8MWQf ueuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715888326; x=1716493126; 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=QRi2jSAg+nP+cthCiPfofaTdmkXgXQWiEWeWJYJZoUU=; b=PmFc0KInEaTGA2VjFg70QWk0Lv6TpOJBUvqgbJd9dc1SYV18zo6BfYrbWJ9fORg7bY dSqa3ljXCfbKerJXkj3FXfb5cH6gbZ+uLvaWGjDAsv+VmXQIF1CkkBKsDzgO36Gn93gj WfKKupOwJQkfe+i2eDkrLVClHJYCx+RBrBOhdIQ+2pGg4iGO5Ml5ZYgibJUqpsh08Cpk r7DM6Gqwhoq9br/qy/C4ABKO93hfKo3yAKN5Q9yHrD1qLwHJIrlB+ofrYU9c7jnepTTY 3Tcg6ys3TohXv8iX2dgDQXfrmQBUn2OkXN23kZ3C4RM038NbVcLK516RxL/xE5FFtyrN Yjpw== X-Gm-Message-State: AOJu0YwSxWhar2Q1TLnuV0FfotiaeeoKxy3PH1rES5RNe07uRKGEab98 1RROZ70Riz+yinI5Lzp2J7TVkYmivxRWZrhJ6U8427LYI8mEW8eriuSKzoOufR87/+u0yW6ltJ2 D7bE= X-Received: by 2002:a17:906:55cc:b0:a59:a431:a8d6 with SMTP id a640c23a62f3a-a5a2d317577mr1525647866b.38.1715888326425; Thu, 16 May 2024 12:38:46 -0700 (PDT) Received: from andromeda.lan (bras-base-toroon0359w-grc-19-74-15-47-99.dsl.bell.ca. [74.15.47.99]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a1781cd85sm1031241766b.15.2024.05.16.12.38.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 12:38:45 -0700 (PDT) From: Arun Raghavan To: linux-bluetooth@vger.kernel.org Cc: Arun Raghavan Subject: [PATCH BlueZ,v6 0/5] ASHA plugin Date: Thu, 16 May 2024 15:38:31 -0400 Message-ID: <20240516193836.228281-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 Hello again, Sorry about the noise, but there was a bug with the MTU setting in the previous set. 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 | 174 +++++++++++- src/shared/asha.c | 529 +++++++++++++++++++++++++++++++++++++ src/shared/asha.h | 75 ++++++ test/simple-asha | 162 ++++++++++++ 12 files changed, 1323 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