Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp787738rwb; Thu, 27 Jul 2023 23:00:57 -0700 (PDT) X-Google-Smtp-Source: APBJJlGQlg2KFBqA8ncdf50rhFPe7VtwgN6Tqtojgk00AvNjneUJN/5PJPFWjhIW4awXw2zOye1H X-Received: by 2002:a17:906:2da:b0:973:d1ce:dbe8 with SMTP id 26-20020a17090602da00b00973d1cedbe8mr1379127ejk.46.1690524057523; Thu, 27 Jul 2023 23:00:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690524057; cv=none; d=google.com; s=arc-20160816; b=nGxvrnpUU+m0WlBaJlWMssz7DLG063dWNvd/BSAVnqMNbBixwegS6xJ+G80fQUDJxL 5Cx7su+Qejm6eUj25lt95eey0wdmnQ52d/0POAVAlENqaBbY6bYkp3Y5b8pCqDKl1TGx My7bWTzizOajrzqq7v+vZq5nNCD1hS0/8pL/AZAN8lESSZ86SIvOwDmbO3pK897k+TeL gaMbSCc3/SnZ1Hh3fvfY0EaJa7r4ACrO6/gSHo1zS5b0Ny6/f4bNiZ8KsnmbeaKoOY9d BdkBjvF2XbVP+ON9B6hha+c8cy9ARLm4i1JgZ+6PtmawYoLYWwjJuLRTLcrId6eqfycF MsMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=SiZZ/7Etnq+ZDddbtBFt7mv3Et8wZumrq/RWlKglnp4=; fh=Jg5b3SlU0kriz7dG9TxlX0lcLkpuhdKAkKJU/Cg3tjc=; b=ufWyh0qxzYbmIkLuPO2N5jYK7kB3n3MaR7RpK0qPKqfZ/1oukgfWJDOO5IebOl6A5K Gl1uZ8uRS1/kc35+ej6xq5/DlvyAwRBUMzqf75skCAZMR6/O/BPG+P3AYuDcsdYs7bV8 J0tdtOnZI+yVKWzbT8L6VuH/v1G+dD96Lw2dvN4C9jJ3c/Wl/6FsWlEofHg1yhziaUVF 4wbRutt/otBfO+sf7swMUk1uemcTRYNSsBe4g5LFKOZcLwnV8Qb5T+ZHI0ERqlx3TMBC R8L+9cK8dk7n0vNy8TusDiFbSzaq4rkwvmekE/Mm8B/BkxPzU3e0flt/j+ytC2cdWZeW ylgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@streamunlimited.com header.s=google header.b=CEEub1hx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=streamunlimited.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lk15-20020a170906cb0f00b00992b75d593bsi2234062ejb.318.2023.07.27.23.00.26; Thu, 27 Jul 2023 23:00:57 -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=@streamunlimited.com header.s=google header.b=CEEub1hx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=streamunlimited.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231270AbjG1FZQ (ORCPT + 99 others); Fri, 28 Jul 2023 01:25:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232943AbjG1FZO (ORCPT ); Fri, 28 Jul 2023 01:25:14 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97D5F3585 for ; Thu, 27 Jul 2023 22:25:13 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-51e619bcbf9so2181276a12.3 for ; Thu, 27 Jul 2023 22:25:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=streamunlimited.com; s=google; t=1690521911; x=1691126711; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=SiZZ/7Etnq+ZDddbtBFt7mv3Et8wZumrq/RWlKglnp4=; b=CEEub1hxlhmMY+etazWwOCrT+1ZQHhULlSA4Iw8PR1RBD1Vl7fxaUh9yUl4Dci7NFQ XNxRC9HQZ+DmfzxTrO9r4DStGXRzsMhRTQkJKOQyLe6a5WW6xfnrcsJe8L09VaFIIVhq XqMqfz11+RA+QHCgj3Q33vkPtFM7VMITyKznQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690521911; x=1691126711; 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=SiZZ/7Etnq+ZDddbtBFt7mv3Et8wZumrq/RWlKglnp4=; b=SrsuRmdL2hK4qq7laYxwh5qfiGD2gKW5jVQnb+HHHTT6LeYhkNWk6V7D4nDfw8EC7M RY4Ecoh4yfqM6yApOYaOulYz3VuoGdWIDOUQljD6dNhTqnRT0Ui758EmEeinaOdUoTUg J5E/khithyG9iD2VluzIN9AmjJGotu/MzhdlY28wo16aswGhvQVD4IiYmDe1jxTTZjXi yz9o4jl6QWaKdn4cncKshotLn2dWae86G4KVw9mqzx5bD6Mdz5J11NGkSau6bkqThLMG obOxLLq6gqYKBLiGer1LhuETfyvPOtHwsIo2XGgt+UoK1g/zg2L281nTc4K1inCF8KQ3 ZcOw== X-Gm-Message-State: ABy/qLaeXjHD4I5ttaAEf1NuIQpaL8IzYZ21QzT0/7L2GRoYXea3F7Wx PlSft6MMIdCnVjxf8bWBD/P0pBH+dR6rbYp0ftU= X-Received: by 2002:a17:906:142:b0:993:f497:adc2 with SMTP id 2-20020a170906014200b00993f497adc2mr1302504ejh.18.1690521911643; Thu, 27 Jul 2023 22:25:11 -0700 (PDT) Received: from smi-ubuntu.sueba ([2a01:390:0:101:353d:c2fa:e0df:3251]) by smtp.gmail.com with ESMTPSA id va16-20020a17090711d000b0099bc0daf3d7sm1600545ejb.182.2023.07.27.22.25.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jul 2023 22:25:11 -0700 (PDT) From: Simon Mikuda To: linux-bluetooth@vger.kernel.org Cc: Simon Mikuda Subject: [PATCH BlueZ 0/1] Adapter1.ConnectDevice Date: Fri, 28 Jul 2023 07:25:05 +0200 Message-Id: <20230728052506.582394-1-simon.mikuda@streamunlimited.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 added some minor addition to documentation and also I tested calling function via DBus in parallel to same device. In both case of BR/EDR both DBus calls will be pending and they will finish at same time when Page Timeout arrives or connection. I think this can be considered as correct behaviour. In case of LE first one will be pending and second one will get "org.bluez.Error.Failed: Connect failed" immediately. Later first one will timeout. Simon Mikuda (1): adapter: Be able to use ConnectDevice for discovered devices doc/adapter-api.txt | 2 +- src/adapter.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) -- 2.34.1