Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp17416151ybl; Thu, 2 Jan 2020 05:07:48 -0800 (PST) X-Google-Smtp-Source: APXvYqwNFWJNVDeLn3HZQLleUONXgjgzBWe6RVkQP5xiM5q3m3EtynK/1JL6HV3yqAyiPk3871GN X-Received: by 2002:a9d:588c:: with SMTP id x12mr88890426otg.2.1577970468872; Thu, 02 Jan 2020 05:07:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577970468; cv=none; d=google.com; s=arc-20160816; b=uxLvxSvpafadKhRFyV9NcYpIp1SUu0NGsPiWIkfdm6jS2ic6Fs/oa76JLZ2WoYX8r5 hBeGmIxaygu4japns1FU2j3QA184Eg36sWYrtmslSkwge7XA3fGOfBfBCZszaZHTBJwV zO0rZGn7Wfpi5mpdgiPE+dYI74t0fkAXLrg53RKMVlmgKHvXur7/HkDROXw892Snvq1S DmJVyFl1323JXcmN5+vg7f0Q/StAmEa9oETxFXd1RCkLPup/5N6OtF46yYgVhpybteiB HVttORlxMBshaKsIbCbT8OSs13lffQvMD4DgAoRUtGJhTZ6oaOr4RDay/Z7rvohm4y+g gr0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :mime-version:dkim-signature; bh=jXNeDZe4IMGGR44jFBIfmCCGCKcUi/ZrlvbQA6OorJM=; b=hfZJ9zYNUQywcobBICZaXGCQNW/Z+Car5OC9caSHySECBWBqwXqwhTiJ+Empx2K3/i uiuEIQZ3Ua9KClBGQsCjXEDaTNbRdxoxQt5PZCxKHqoxIcljNu0f10dtPWgoETHjmCnl vbRs7HNOh2qDk36JFmfRjWiL3tMPwN5co6vjHTFgjd5vZPH39V0rmpGCTrRtT2w33zae wv1EU+aK2bk4mNs5l2eE/S36pgYb3OF/KCFOav/ZtrLrgRppV4mzvOFokj4NmlPGZD56 vHSX1phENkr4xDflhvHyNpLA9W0zjfvrLx83xVLx2nnSqYdFxGuTaWjlTLxN7wE+hk0X zTbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DLnPiDLC; 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 s19si26627467otd.9.2020.01.02.05.07.20; Thu, 02 Jan 2020 05:07:48 -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=DLnPiDLC; 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 S1728165AbgABNGR (ORCPT + 99 others); Thu, 2 Jan 2020 08:06:17 -0500 Received: from mail-qv1-f41.google.com ([209.85.219.41]:45285 "EHLO mail-qv1-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728176AbgABNGR (ORCPT ); Thu, 2 Jan 2020 08:06:17 -0500 Received: by mail-qv1-f41.google.com with SMTP id l14so14950129qvu.12 for ; Thu, 02 Jan 2020 05:06:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=jXNeDZe4IMGGR44jFBIfmCCGCKcUi/ZrlvbQA6OorJM=; b=DLnPiDLC9n2L8Fk5dkIYaWWPnnxveA8hi8oPd0545Wo6B4x2u65frh0ivK4DzmXxU3 7sc6XPdnDE97GtzLBSEoalv+BTm5CLfLsHA+vgVpt8KqZvDgdYyoHBtszLt7OPnPpwas yzyklsr4kAuYlJ8gtddfyuLTGgcP4pWwpJsLKkfnmJzEiAuNFvx2d+qUPsFl+b4M3uGi znXjAcBGUGcJZcTBW8UBxk2uTBHAFElIofwPZQYPD6isqqEqG9zpG1xrEXF8V/71yNJY pprVBMwT3UimvvFcBLid73auCTaSAEbH1HR4FiI/DUMne9vcdPEgSR2cJk5ut8kh9kQj 3XUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=jXNeDZe4IMGGR44jFBIfmCCGCKcUi/ZrlvbQA6OorJM=; b=L/Fcq8nfL0KSzNmMv6NIFmgNnwuz+RE46ukvV9SMxWei1ZVZE794gJU9J+rG/Rf+Px AMizfFN8rGR2jBAKdZnEViNBcXE3jf4oQY46U0xbX8jpvsa80eNC7BA/BkzxfPJKMKAB lvhTIl9UsMASkoJTFgY0vnpLXVEed3YVVHtFTd6BZiUYozWbqYHCHGiLduHTfqGMZFhb AbKgOHAZlOdqWJ7q+6xR+eonHzaXk2+ck5fwvR/XwUMkMWcRvM8rb77XJ7uHo2LxXjF/ 7COsWLADfd9W6NhuGax9LzJ4cALRAcg7WRck8FiNrnCNgIBboapmBgqt2wQEMipJcT92 qIWw== X-Gm-Message-State: APjAAAV1KYaLBi/4mIn/MiHkBVrB1ffe1TAj2R5MpSNB8eJ81gC04+SA q5pjNJ/V5pZyZQwT5kTYRlhX4yqbj6WGyoMmOd08GbIH X-Received: by 2002:a05:6214:9d2:: with SMTP id dp18mr61670397qvb.98.1577970375627; Thu, 02 Jan 2020 05:06:15 -0800 (PST) MIME-Version: 1.0 From: jonghwan Choi Date: Thu, 2 Jan 2020 22:06:05 +0900 Message-ID: Subject: how to test Bluez/profile? To: linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi all I would like to implement something new in the profile (Bluez 5.52) So I'm testing how it works first. A. btgatt-server test I ran btgatt-server on pc and ble scanner app on mobile. I can see the heart rate service in the ble scanner and read / write. it works well!!! But... B. bluez/profile test The tests were performed in the following order. 1.sudo ./bluetoothd --plugin=deviceinfo -nEd 2. run the hciconfig command $ sudo hciconfig hci0 up $ sudo hciconfig hci0 noleadv $ sudo hciconfig hci0 noscan $ sudo hciconfig hci0 pscan $ sudo hciconfig hci0 leadv In the ble scanner of mobile, other services except 0x1800 and 0x1801 are not visible. Even if I change --plugin = xx, the service does not appear in the ble scanner. Not even in btgatt-client. gatt_db_service_get_claimed () has also been modified, but it does not work. Please guide me how to test bluez / profile. thanks. best regards.!