From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07965C32788 for ; Thu, 11 Oct 2018 07:14:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A46742085B for ; Thu, 11 Oct 2018 07:14:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A46742085B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=fronius.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727081AbeJKOkG convert rfc822-to-8bit (ORCPT ); Thu, 11 Oct 2018 10:40:06 -0400 Received: from mx01.fronius.com ([213.33.117.78]:65416 "EHLO mx01.fronius.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726008AbeJKOkG (ORCPT ); Thu, 11 Oct 2018 10:40:06 -0400 IronPort-PHdr: =?us-ascii?q?9a23=3A60eguBe07kEQtyaqD21UZtX5lGMj4u6mDksu8pMi?= =?us-ascii?q?zoh2WeGdxcW6ZR7h7PlgxGXEQZ/co6odzbaO7Oa4ASQp2tWoiDg6aptCVhsI24?= =?us-ascii?q?09vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7?= =?us-ascii?q?Ovr6GpLIj8Swyuu+54Dfbx9HiTahY75+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYe?= =?us-ascii?q?RWwm1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2pCF12QFnD0d62aVPoWLiGfOMlslnoD?= =?us-ascii?q?T7f3GKE70hT7mQ7hxrxkKe7eshEYspfqz5AhyuzImBcx8jh+Sfid1GSEVEl6hG?= =?us-ascii?q?QORiItmqt4pBoumR+4zaFkjqkARpRo7PRTX1JiOA=3D=3D?= X-IPAS-Result: =?us-ascii?q?A2EqAQDI9r5b/w4GAgpjHgEGBwaBVAYLAYFUgkazPgwBE4l?= =?us-ascii?q?PNwoNAQMBAQEBAQECAQECgQYLgjYigmk6GTgBFSlCJgEEGxOsVhqEXYRmgnuKI?= =?us-ascii?q?T+DdosEAoholSUHAoIPhAaKNx+JOQOGU5VrAgQCBAUCFIFYgXgzGiODPYJNjge?= =?us-ascii?q?NGoEfAQE?= X-IronPort-AV: E=Sophos;i="5.54,367,1534802400"; d="scan'208";a="45830882" Received: from unknown (HELO AT-ESXVM-614.fronius.com) ([10.2.6.14]) by mx01.fronius.com with ESMTP/TLS/AES256-GCM-SHA384; 11 Oct 2018 09:13:05 +0200 Received: from AT-ESXVM-612.fronius.com (10.2.6.12) by AT-ESXVM-614.fronius.com (10.2.6.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1466.3; Thu, 11 Oct 2018 09:13:04 +0200 Received: from AT-ESXVM-612.fronius.com ([fe80::b877:544f:b560:3fa4]) by AT-ESXVM-612.fronius.com ([fe80::b877:544f:b560:3fa4%5]) with mapi id 15.01.1466.003; Thu, 11 Oct 2018 09:13:04 +0200 From: Eisenkolb Thomas To: "linux-bluetooth@vger.kernel.org" Subject: Bluetooth: Is it possible to operate Bluez concurrent in central and peripheral role? Thread-Topic: Bluetooth: Is it possible to operate Bluez concurrent in central and peripheral role? Thread-Index: AdRhJz0atnowo1DfR/6vOpl/HVQE+AACoMow Date: Thu, 11 Oct 2018 07:13:04 +0000 Message-ID: Accept-Language: de-AT, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.2.25.111] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hello, I am working with blueZ 5.50 on a linux embedded device with kernel 4.14. Now I have to implement a use case where the linux embedded device communicates as a central device with a few sensors through Bluetooth LE characteristics and at the same time it should advertise some data and accept at least one incoming connection from a Smartphone as a peripheral device for maintenance cases. I haven't found any information about blueZ is supporting both LE roles at the same time. I have already tried it now for 2 days to get this use case to work and I found a few limitations for which I didn't find any solution. I was not able to advertise any data while my device had an active connection to a peripheral device. Also while the Smartphone is connected to my embedded device(peripheral), I don't receive any advertised Data from any sensor and I cannot connect to any sensor. The Bluetooth Hardware Module which I am using on the embedded Linux System supports Bluetooth 4.2. From the Bluetooth Standard I have found that concurrent use of both Bluetooth Low Energy Roles should be supported since Bluetooth 4.1. Is it possible from blueZ Stack side to implement this use-case? If yes, can you give me some hints what I have to consider to get this case working? If no, have you got a timeline when it will be supported or is this no planned to implement in near future? Thanks for your answer, Thomas