Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2135450ybc; Wed, 13 Nov 2019 09:29:12 -0800 (PST) X-Google-Smtp-Source: APXvYqxdM3IlhBAKrQxWGQNucZFOr0oZmfciZ+l3/uPoUMMbdrA5PJQ1c2rDsylREWRzsAsNdmlW X-Received: by 2002:aa7:dbd4:: with SMTP id v20mr5064863edt.58.1573666152529; Wed, 13 Nov 2019 09:29:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573666152; cv=none; d=google.com; s=arc-20160816; b=JW08u5nEsmZBZwJwLmcgIst3on62g1UPSbsDP2PAyqDpVsrtfxKf9D1qdpVuAKHt9+ pRKiqd8LyRDLjBURmGcRsj6W7hNF6DTLFs/muZjdMH8rPTR1FPGB8r2fLi7T6D14tQZz zRqZxW3gDA/FiOR7TFSaePV2zGtjkWVfc14VD+Z15PAwnIn9vOyZzxMzRyPsFiWlzI25 q+S07SL+Ng8Z3iU6w4JC9mG1Wy7I9qokGZaE7pGy62BTtl7b9NEbfXT5F3OOn1xIu91h gO1eBicNRK4rKfGu5gvbetFHfpKARwGe/WTzn0nCgQGO6t6m9MWanUljrHQS4xnLDKzQ rsEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=bVg5vC2NZqIVUgy1ZeLr106OgFJ3JTExWIl7kPUAbSc=; b=kVqteDsZiZmE1htKg0ZobUebkjWUuRfov+BYZBMC4NTn+57DVSyVdWeE7LMF4Rwgl2 k0Che2JY1uNCcpKcIes4oWZZK6t0cB1NOBhmYAbW3sT4aOjm1bvnxdBVuLOr5CsVeBY1 89XPWojnRuGm+GIB2DjhFZuYZsyxp7KOvBtkSmOQhF08VzWT+xofdebseIksU7yGMNpU Yoycuy32X+FupkqLJGssOC4dSJG5iV4ekIoo7Px7njrg6YiJEnJZcQ/9im8FsZ/kWvV9 wtqqz3NeeFSU69ZTdC7uMK5oVwM0rj4UqF48lIkeaI+JSgi9lcLiIwf6a6YspRELUC6L QQjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eZoSR9pL; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c13si1800740edv.320.2019.11.13.09.28.46; Wed, 13 Nov 2019 09:29:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eZoSR9pL; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726350AbfKMRYD (ORCPT + 99 others); Wed, 13 Nov 2019 12:24:03 -0500 Received: from mail-io1-f50.google.com ([209.85.166.50]:45280 "EHLO mail-io1-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726120AbfKMRYD (ORCPT ); Wed, 13 Nov 2019 12:24:03 -0500 Received: by mail-io1-f50.google.com with SMTP id v17so3392602iol.12 for ; Wed, 13 Nov 2019 09:24:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=bVg5vC2NZqIVUgy1ZeLr106OgFJ3JTExWIl7kPUAbSc=; b=eZoSR9pL28yNkJq5y+EdmO4i350Q+clPcwygM9XJSoy6SgN1UuroW+0uXK/2zkgY2L YX9IoqI5qycasYUaNEOXC37GcwumZg3uY0svEr1IU3ixmOtktoVmTTBBlTDfvfpLM4DO iNqiSrmL62LZic+gTZV0LlKQDOTUetOS9mXJ9G5VwED85xcSktmQUmjUhzfY4CRC4HLd cb4qI837aRN2C/lfyHkQQ1E8yI2+2J+ZfXJcMLKSW4jBX0w/jCByxDeDrW0gdgtSpO7T v0e7wdq/qyxlT0bw998Zx1BxN3/uo8h47iCCaEgTBA1UetiZ3sTYvds5uq1ENEl33GDU bHWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=bVg5vC2NZqIVUgy1ZeLr106OgFJ3JTExWIl7kPUAbSc=; b=gy0212BAGV6vyP8GPQLZJjhl0JxJtdRzVEtP/C3nNZHXBFZHfKnUv5ZPcvSp/jOvur M9dKEpqAYULC4UAaUcVvSQDnTT1Mk+QIiM5kEBEC0lDRthjh1H59FeFHAntnaSARjJIy 6bWuBvSS+3Tw5u9yzjcNjWekHdPK+3nuUFGJ54XHCMBvvOWi2IXDVtPf0Zrt+V6duEdn P3iCLzx3J8wsTp7kV/NDRJtaITSolT7esFPs8mBD/79DniLMMdrH6JPEqa0YiXYdsMp+ Ti26rn85yTIqupzGKMhvqkgBxIgtqYezucWGiQ/9Zhhu6EApMRHAqmwBotUJrS/T7XGA ZmYA== X-Gm-Message-State: APjAAAUisrO3P7sb/vOt5otMFXVd5IbuR/OspDnADfvmm5ZTaDRqZ88l gpjqAULwurDmZMRhwRJkUYOE2rPc3g2kdkyZZiDwbHMm X-Received: by 2002:a6b:d81a:: with SMTP id y26mr4554360iob.23.1573665841748; Wed, 13 Nov 2019 09:24:01 -0800 (PST) MIME-Version: 1.0 References: <5852113.xjoqjODIPz@ix> In-Reply-To: <5852113.xjoqjODIPz@ix> From: =?UTF-8?B?S3Jpc3TDs2YgSG9ydsOhdGg=?= Date: Wed, 13 Nov 2019 18:23:52 +0100 Message-ID: Subject: Re: Simple SDP and RFCOMM example To: linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi, > There is test/test-profile and test/test-hfp in BlueZ source code. Thank you very much. Without a table of contents, it's hard to find the appropriate scripts. (This is also true for the files in folder doc.) With the test-profile code, I could register a service, and I could discover it from another device. However, a connection couldn't build up. The function NewConnection didn't call at all. (By the way, I didn't find any line of code to receive the data, how is it possible?) I monitored the connection-attempt with bluetoothctl (every row starts with the prefix "[chg] Device {address of the other device}"): ServiceResolved: yes Paired: yes (There was a little pause here.) ServiceResolved: no Paired: no Connected: no Have you got any idea what the problem is? Thank you for your help. Regards, Krist=C3=B3f Horv=C3=A1th