Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp192639rwb; Wed, 7 Dec 2022 16:34:11 -0800 (PST) X-Google-Smtp-Source: AA0mqf6St1Plw3c+dysAlorA1JI/Go5ciAcZqxtKUuxHIag8b0VyJHTdcnaHM98DGeR6Oz60lQDb X-Received: by 2002:aa7:d8d5:0:b0:46b:4156:76d2 with SMTP id k21-20020aa7d8d5000000b0046b415676d2mr39647726eds.224.1670459651149; Wed, 07 Dec 2022 16:34:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670459651; cv=none; d=google.com; s=arc-20160816; b=HCEgsv9BfXSHXgc2xwvgrUgd9Pl+JgwUT5j0O2w3iTs3W2ocLl4U3Cs4YV9B9mNloP 7yZeR+jH81mxkhas9vquGRkIID0/RUdkG0GMNhbjZt+CJakkBCjpOFgvuT5Utd+SISec LEn4CiaauE+zdhuWwIuOXsIgs9duaTCfXAC79Yoc9SJ0g4/tR2xDgfTa0a6gC6qWqA26 lodm4HRMVMESwhy4+6sxm1Oqbd/vwYEQxF1RHISqzvlqijg6WaqJpwUrjDmioC9R3bQ2 Ftr8CMRiWdDocVw2UDF2faAYaF88zjAc0/eQHA2xwFkJ4RhRVyWVq3kOkGMPoHK67Fyg 8AAA== 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:subject :message-id:to:from:date:dkim-signature; bh=op0gpDovE6jIraw1FE3boXvythGpDDmG3ERcFcp9E0k=; b=S0d+59+wO717T7RUk5PZYBkebv2bZG89x3u8BKQ0USwZDKPtF9UlVQ0jqd4tHN/BrB mhtqiu+4QoxrZvqQ+5lrx+Z5Nvuipj7lfD+qTfeULUeY32ZmKPx38OHA4lHQr6/JA2wa nqR65UxZk41WRvLRxGMRz+DRrEI7T27xDqcH3+n66HxPnSwFsFFm/W1bQC5rKeZLTOAi kzeQ8QUkX7TSgwQhicwqj3rkHkmgoRvvWUOlpoo1KiITj7nABklbU05THQeaafp5EUjB 2VPw2aaDjm9P0Q4tMjAvyQiAh05TIMPdNG0IyMPwQAyB15w7lLultnN8EAB6h6UOQhQw Y2og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@github.com header.s=pf2014 header.b=hC3ev2u2; 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=REJECT sp=REJECT dis=NONE) header.from=github.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x14-20020aa7cd8e000000b0046ca3d56ff5si4670037edv.571.2022.12.07.16.33.33; Wed, 07 Dec 2022 16:34:11 -0800 (PST) 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=@github.com header.s=pf2014 header.b=hC3ev2u2; 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=REJECT sp=REJECT dis=NONE) header.from=github.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229758AbiLHA2X (ORCPT + 99 others); Wed, 7 Dec 2022 19:28:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229757AbiLHA2P (ORCPT ); Wed, 7 Dec 2022 19:28:15 -0500 Received: from smtp.github.com (out-21.smtp.github.com [192.30.252.204]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52F25326D2 for ; Wed, 7 Dec 2022 16:28:14 -0800 (PST) Received: from github.com (hubbernetes-node-cc91d20.ac4-iad.github.net [10.52.211.57]) by smtp.github.com (Postfix) with ESMTPA id AB9875204FF for ; Wed, 7 Dec 2022 16:28:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1670459293; bh=op0gpDovE6jIraw1FE3boXvythGpDDmG3ERcFcp9E0k=; h=Date:From:To:Subject:From; b=hC3ev2u2yCnC2vptjjj5stYPZ1Q2CvkfS2Q7ynt7+HLdDXxiLjo3CswwSui7f2+Zd ScsqMG+BNMRQmT1XB38a6gKzjNIk071ShGe4vuF200QU+k5rz97XU6NiKWE3RtAm2y vR6BoQDA8FInxf8OOSaV8yiEFPMtYh6mykhxlxpI= Date: Wed, 07 Dec 2022 16:28:13 -0800 From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Message-ID: Subject: [bluez/bluez] 9a550d: client: Allow gatt.select-attribute to work with l... Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-GitHub-Recipient-Address: linux-bluetooth@vger.kernel.org X-Auto-Response-Suppress: All X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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 Branch: refs/heads/master Home: https://github.com/bluez/bluez Commit: 9a550d43b84ed808ff2a678b0117a8e14355d80c https://github.com/bluez/bluez/commit/9a550d43b84ed808ff2a678b0117a8e14355d80c Author: Luiz Augusto von Dentz Date: 2022-12-06 (Tue, 06 Dec 2022) Changed paths: M client/gatt.c M client/gatt.h M client/main.c Log Message: ----------- client: Allow gatt.select-attribute to work with local attributes This allows gatt.select-attribute local to select from the registered attributes: [bluetooth]# gatt.select-attribute local /org/bluez/app/service0/chrc0 [/org/bluez/app/service0/chrc0]# gatt.write 0x01 [CHG] Attribute /org/bluez/app/service0/chrc0 (%UUID) written [/org/bluez/app/service0/chrc0]# gatt.read 01 . [/org/bluez/app/service0/chrc0]# gatt.select-attribute local /org/bluez/app/service0/chrc1 [/org/bluez/app/service0/chrc1]# gatt.write 0x01 [CHG] Attribute /org/bluez/app/service0/chrc1 (%UUID) written [/org/bluez/app/service0/chrc1]# gatt.read 01 . [/org/bluez/app/service0/chrc1]# Commit: 33b84917ee9645a1fbef9173ee6e1df47cc8ff2c https://github.com/bluez/bluez/commit/33b84917ee9645a1fbef9173ee6e1df47cc8ff2c Author: Luiz Augusto von Dentz Date: 2022-12-06 (Tue, 06 Dec 2022) Changed paths: M emulator/bthost.c M emulator/bthost.h M tools/iso-tester.c Log Message: ----------- bthost: Add callback to accept ISO connections This enables setting an accept callback which can return reject reason if the connection shall not be accepted. Commit: 758161c422e694d2d76e69a71ddd2ecbafa9bde8 https://github.com/bluez/bluez/commit/758161c422e694d2d76e69a71ddd2ecbafa9bde8 Author: Luiz Augusto von Dentz Date: 2022-12-07 (Wed, 07 Dec 2022) Changed paths: M tools/iso-tester.c Log Message: ----------- iso-tester: Add test when peer rejects CIS This adds the following test for testing when remote stack rejects the CIS: ISO Connect - Reject Passed Compare: https://github.com/bluez/bluez/compare/35947e26771c...758161c422e6