Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4060730rwb; Fri, 30 Sep 2022 12:12:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5kXO7sekxOCBb7grOJfg1EP0gEcZI/XR5RJVQmE/U59gLCt27bJrrJDrhfGkJZNmg3MSw7 X-Received: by 2002:a05:6402:2547:b0:450:668c:9d93 with SMTP id l7-20020a056402254700b00450668c9d93mr9073907edb.92.1664565147090; Fri, 30 Sep 2022 12:12:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1664565147; cv=pass; d=google.com; s=arc-20160816; b=L3gbff59DJqdRJb2x4Hb9qj6Xv+zqvMaJDHis96XXI2VyplgPziaY7f1QR5utkjOre 8Lfalh71tCf2oBNY/jW7WL31M8ma5Qll0mOSUvm5ofW97yfJVkDzN+ELKXUnuyb1vxjR KaNvVPKYg6GLB8Pbs2UassvhvaSROHJSyKVNknWO4CmHfhzADwbAvBK6gxSbWmLpoZAp /geuniCKGS+E9mhcltKRZopwD6hthYJQSWjyfRzpgrjpy9TUzmN6iWof3DGEnLPvt7ls 6+RVJZbR6wiQ3Chwovr02DzMmLbm3lKxrnIFsx0hsl8j/p9ZSG/ESsQmcY2iXUrBgqjd EZXA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:message-id:date:subject:to:from:dkim-signature; bh=ALJfyLaMBZ8H3gHKfvqo6T3TOuXC6rsG/MBUiL28T0E=; b=QtP6e1IhbXHrjVwXnsW9b7j8QuOrjv2LyXWVWXDCPn6r6yXwa30YAyjsh2Ll5um6gI OHFdGMOLBlfp5x3u9rBZm6VklmVOqKvmFNYBemC/41ZUzBazvIlJJdyoC4kCco3dl+qa zvRtkjMwUb1md74RL+WRQ1o982vMIbpWpOLZmiFKE6R6Oh4qzTISMsgp+eFQjctxbscM M5OOb1G2gta9KRiVqkzXzH3/UBQgsbWgX+LfClJOKAWHsyaDTYAQZTEbvp3oxQurwCyu 9YMIpjKByZaDQzVM0dYre8RqDelQJTMz65yIjSmwpAn1uEdnreAoT0eQI7js86DKT2s5 8YwA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arrigroup.onmicrosoft.com header.s=selector1-arrigroup-onmicrosoft-com header.b="aI/SyG/h"; arc=pass (i=1); spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hu9-20020a170907a08900b0078219af8361si2344419ejc.883.2022.09.30.12.11.49; Fri, 30 Sep 2022 12:12:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@arrigroup.onmicrosoft.com header.s=selector1-arrigroup-onmicrosoft-com header.b="aI/SyG/h"; arc=pass (i=1); spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229522AbiI3TKi (ORCPT + 99 others); Fri, 30 Sep 2022 15:10:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229971AbiI3TKh (ORCPT ); Fri, 30 Sep 2022 15:10:37 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2139.outbound.protection.outlook.com [40.107.20.139]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DC2B4D242 for ; Fri, 30 Sep 2022 12:10:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZHA/tEQHtKSn5iCKi5vKpM8sCX2aSsOpw7QzASi1eCeeTcuxRB8sHCWG+/BgbcqrfOBKHE8gj1Kv48I+W38jdkkye5k1Ia87AUQB0lDjtQxatIMEn1us/QPjk9iN6X1/6GndfmfuPN20HdrHaK5u5tnV7y6fVOWzXc94g/GenmcL57UYiBKF4rGfHS4SacF2GEZ5ZQwMAJH2mcg8lTYE79jeDLv7Zw7JbnvAYvF/zr9KiDLj7Iw6BJwdXzNrP3UEwtX1e1BIPW7aH1VrnCzlfhdUWlcehFVtI1VE875rMWX9egpSfyWJa8CtoJjELLjIK3A/5LLJTpGmtHF86xwZ0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ALJfyLaMBZ8H3gHKfvqo6T3TOuXC6rsG/MBUiL28T0E=; b=Nkre7MRu7MKw8I4zmfWkQhCbbvFppLf1kqhWQXTnCBuKrK1WFR6QI4Y6v0SAeifdFEVDUAMsWqtWs93W2vRICJl0RfveGDJUuSJkbIUnYAcB9l3kTIFSQ6hMcA+DtSO2DVVC1hFPEpMrHUMo8fAeJzA0f30Ic7+o1rsugFmP1Ki8jry9S4wnmmSMz/VzAGn5K1YlMDTlkyNBDrD1bZEwiT3eSVFS+9SfgPaBhZD9Pdc7/+VfjA4iHe7GQV2sQpkX52aDc6vt9wafjx7auNOqfAPbaHn3CMeOUIb3BsRo/OemTDZKGZasz2Ivwdgsel0xepdhFDNkB2f4XajS3gfUaQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 217.111.95.7) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=arri.de; dmarc=none action=none header.from=arri.de; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arrigroup.onmicrosoft.com; s=selector1-arrigroup-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ALJfyLaMBZ8H3gHKfvqo6T3TOuXC6rsG/MBUiL28T0E=; b=aI/SyG/hth0/7hbDjDGmhBSlPh/+bWP2IvIBCqr2DCti4ATX0PtQDKs8lS3+ACUvTlrK4ArxKHJb/JPvTyxNBk+fd7Ddd7KQqLWtICCDT7Imp9K34YeHNCDmNZdKHRnJtAN3zijrwcF30a2IdgxD48uJTzJMPHYJbJAKJBIbBoM= Received: from GVX0EPF000013DB.SWEP280.PROD.OUTLOOK.COM (2603:10a6:144:1::14) by DB8PR07MB6347.eurprd07.prod.outlook.com (2603:10a6:10:134::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.17; Fri, 30 Sep 2022 19:10:30 +0000 Received: from HE1EUR02FT101.eop-EUR02.prod.protection.outlook.com (2a01:111:f400:7e05::202) by GVX0EPF000013DB.outlook.office365.com (2603:1026:900:2::3) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.22 via Frontend Transport; Fri, 30 Sep 2022 19:10:30 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 217.111.95.7) smtp.mailfrom=arri.de; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arri.de; Received-SPF: Fail (protection.outlook.com: domain of arri.de does not designate 217.111.95.7 as permitted sender) receiver=protection.outlook.com; client-ip=217.111.95.7; helo=mta.arri.de; Received: from mta.arri.de (217.111.95.7) by HE1EUR02FT101.mail.protection.outlook.com (10.152.11.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5676.17 via Frontend Transport; Fri, 30 Sep 2022 19:10:29 +0000 Received: from n95hx1g2.localnet (192.168.54.45) by mta.arri.de (10.10.18.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 30 Sep 2022 21:10:29 +0200 From: Christian Eggers To: Subject: bluetoothctl: Connecting to a GATT service using BR/EDR Date: Fri, 30 Sep 2022 21:10:28 +0200 Message-ID: <1906152.PYKUYFuaPT@n95hx1g2> Organization: Arnold & Richter Cine Technik GmbH & Co. Betriebs KG MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Originating-IP: [192.168.54.45] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HE1EUR02FT101:EE_|DB8PR07MB6347:EE_ X-MS-Office365-Filtering-Correlation-Id: 070d5804-8e41-4e6b-1b20-08daa31770db X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2WhTy7Tij6PHVzXDc6/lfN1pSG+ZF6iHKvZ9se5f5bUInJm8RVFF+bsmf2QNqjewX9RazAX1o3hKKIQNOlZdPjA2ZXV1Wcx9i99Ueb49tUPta1YeXc31VRQYdx+21MsL71J+Fp29TxEsh1dBdn4KT9XDOP8uFPrvO76/mgf61ihCnPMXL5sKkC2e3101UErdt4tpGYgQvlHEakWCSfaPlxtSxIVrQiGNjvjnAjD7fQXsdAb2NM/LelAbP4fV2iCkb9nKAJv916BlazyCvdC16PU6KhHh2N/bSC4gWPtzEeqiFziNJn/MMloW3Th/449nj+i86NUvTBLY57hzkra+WO0vRTEdpruxZEYLvAPi8xht7IntCETOwfY0ujWUKZS872HJ14yeZzh6oSnwOA0v18GIxFo8CVKaxtyYUx3/vhP31ClyKZV4JZ1v5WgbObK/0p0HytjEbB9ZI0g6uOf0+4YvJxcSUuBIVgPhjatbhvFvK61eQ3VfyonKJXeH6LEB0DM/6I2Ao5ob3MfctLP7as0QFDfffQ/3M7kJOdHFriE1YRX1xZr2/wqQmU4oFtBTpTVI56HLBi191MFgSYYvufdkoOkWVhfj1cKRXCqSDjiGX97xR5H4Oia1WZa1wNFygfEk6BH0OpgLPtpWp/8VgS8beY4YnfsmZQFMigCwTtzbRTWEf1abvlPdJaoj67XIeugdBJRSUVNviF88yPrxNNGlUFtQUX7ebDiAp+peANDeXi91i7mvE4w6QxH3flQJWQAspZXVmx5qw7780xKhgA== X-Forefront-Antispam-Report: CIP:217.111.95.7;CTRY:DE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mta.arri.de;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230022)(4636009)(346002)(39860400002)(136003)(396003)(376002)(451199015)(36840700001)(46966006)(316002)(478600001)(6916009)(36916002)(41300700001)(8676002)(336012)(9686003)(86362001)(70206006)(70586007)(5660300002)(26005)(2906002)(47076005)(82740400003)(16526019)(186003)(40480700001)(426003)(8936002)(36860700001)(81166007)(82310400005)(356005)(33716001)(9576002)(36900700001);DIR:OUT;SFP:1102; X-OriginatorOrg: arri.de X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2022 19:10:29.8548 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 070d5804-8e41-4e6b-1b20-08daa31770db X-MS-Exchange-CrossTenant-Id: e6a73a5a-614d-4c51-b3e3-53b660a9433a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=e6a73a5a-614d-4c51-b3e3-53b660a9433a;Ip=[217.111.95.7];Helo=[mta.arri.de] X-MS-Exchange-CrossTenant-AuthSource: HE1EUR02FT101.eop-EUR02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR07MB6347 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org I am trying to connect to a GATT server using bluetoothctl. HW: dual mode adapters (server+client) SW: bluez-5.65 1st try: "simply connect" (BR/EDR + LE enabled) ------------------------------------- [bluetooth]# connect 5C:F3:70:A3:94:E7 Attempting to connect to 5C:F3:70:A3:94:E7 [CHG] Device 5C:F3:70:A3:94:E7 TxPower: 0 [CHG] Device 5C:F3:70:A3:94:E7 Modalias: usb:v1D6Bp0246d0541 [CHG] Device 5C:F3:70:A3:94:E7 UUIDs: 00001823-0000-1000-8000-00805f9b34fb <-- HTTP Proxy Service [CHG] Device 5C:F3:70:A3:94:E7 UUIDs: 00001800-0000-1000-8000-00805f9b34fb [CHG] Device 5C:F3:70:A3:94:E7 UUIDs: 00001801-0000-1000-8000-00805f9b34fb [CHG] Device 5C:F3:70:A3:94:E7 UUIDs: 0000180a-0000-1000-8000-00805f9b34fb [CHG] Device 72:DF:6C:03:4A:6A RSSI: -81 [CHG] Device 5C:F3:70:A3:94:E7 ServicesResolved: yes Failed to connect: org.bluez.Error.NotAvailable br-connection-profile-unavailable [CHG] Device 5C:F3:70:A3:94:E7 ServicesResolved: no [CHG] Device 5C:F3:70:A3:94:E7 Connected: no ok, it looks I need a profile for making a BR/EDR connection ... 2nd try: register profile beforehand (BR/EDR + LE enabled) ------------------------------------- [bluetooth]# menu gatt [bluetooth]# register-application 00001823-0000-1000-8000-00805f9b34fb Application registered [bluetooth]# menu back [bluetooth]# connect 5C:F3:70:A3:94:E7 Attempting to connect to 5C:F3:70:A3:94:E7 [CHG] Device 5C:F3:70:A3:94:E7 Connected: yes [CHG] Device 5C:F3:70:A3:94:E7 UUIDs: 00001200-0000-1000-8000-00805f9b34fb [CHG] Device 5C:F3:70:A3:94:E7 UUIDs: 00001800-0000-1000-8000-00805f9b34fb [CHG] Device 5C:F3:70:A3:94:E7 UUIDs: 00001801-0000-1000-8000-00805f9b34fb [CHG] Device 5C:F3:70:A3:94:E7 UUIDs: 0000180a-0000-1000-8000-00805f9b34fb [CHG] Device 5C:F3:70:A3:94:E7 UUIDs: 00001823-0000-1000-8000-00805f9b34fb [CHG] Device 5C:F3:70:A3:94:E7 ServicesResolved: yes Failed to connect: org.bluez.Error.Failed br-connection-not-supported [CHG] Device 5C:F3:70:A3:94:E7 ServicesResolved: no [CHG] Device 5C:F3:70:A3:94:E7 Connected: no Unfortunately the created GATT profile doesn't provide a connect() method ... What is the intended procedure for connecting to a GATT server over a BR/EDR link? The "connect" command works fine after disabling BR/EDR using btmgmt, but this is not what I wanted. regards, Christian