Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp2879658rwl; Fri, 6 Jan 2023 12:08:18 -0800 (PST) X-Google-Smtp-Source: AMrXdXu+yvDkDsWDl49pMW194WcGxkEXrWPf4gEjbMX5iq1ZtWHara27UyWR5zaZSaoZfjbrd3ZW X-Received: by 2002:a17:90a:b395:b0:226:1531:6be6 with SMTP id e21-20020a17090ab39500b0022615316be6mr38527464pjr.48.1673035697897; Fri, 06 Jan 2023 12:08:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673035697; cv=none; d=google.com; s=arc-20160816; b=sw1Lt9x/nSRklax2DCZ7llc8UitZrGZHK4c1v8P4l7uulX8wkrWIHjALHvpUHPISR+ W2+3nywtOhmVOOwOHFIVtLPq7f5RYNrl5CHg8TrU1Mo6HjqxmA+i8DxmGz61KN9mYPBk Yhn6SPtrSWqGT0DbtcVjKyPb5MtnaFuPWo7fcFxEJRfm+zdFgKVGzqQztNUtQIoiwe43 c0JqZa9AEuSIkD0Q4eJY72z/ntgonhOg95u8Rm/HuM0VWKNKHIHq9V0c9mlJjz7ax1Wj zgU6wX4ht9xl7DhlQGJpo/1Ev2ILKSMHbMW1sLBnmIkfe/NDXgf0SjtZPcANdWKdpVeb g0Hg== 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=9qkG42srHkmLFPh3guNhvfeXAMosz6bcCMBCProGe2A=; b=I1ghzmXuUzD8yQy8xPnAg5NuLOr8QexUnW+9480JgzvHQTZH6ugYd2A0S7Hd8Gq6E7 c+aNj3qIoFX6i5i2T0dn+XsDpeqFYoApp0UKC8rVM351zpw3g1zvsCow5DyxuZUYBPtn slAhYQ5g7bTFp2XDF5UD6MZV6H4tCLFmV72qShUiqkXkl9H7LF/Z8fpgqzdNrBYOUhbp vDCIueeXxG36KCZqzrZWjzLas8I90/ciOJQvHrCYcpgscfWUX0vL2PdGil99qITCBAKy B+z5Y5uuTF5Lq8g8YNrVEM8UIjLjobfXSpsdjv+egSNgftKbhsReiDt5ORl3ykrrZbjY tZEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@github.com header.s=pf2014 header.b=vsRoyk9d; 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 q16-20020a17090a065000b00225af6fa4ccsi7381864pje.1.2023.01.06.12.07.59; Fri, 06 Jan 2023 12:08:17 -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=vsRoyk9d; 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 S233592AbjAFUEQ (ORCPT + 99 others); Fri, 6 Jan 2023 15:04:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229949AbjAFUEP (ORCPT ); Fri, 6 Jan 2023 15:04:15 -0500 Received: from smtp.github.com (out-26.smtp.github.com [192.30.252.209]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37A52A1 for ; Fri, 6 Jan 2023 12:04:13 -0800 (PST) Received: from github.com (hubbernetes-node-92049f4.ash1-iad.github.net [10.56.224.61]) by smtp.github.com (Postfix) with ESMTPA id 5BC765E0415 for ; Fri, 6 Jan 2023 12:04:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1673035452; bh=9qkG42srHkmLFPh3guNhvfeXAMosz6bcCMBCProGe2A=; h=Date:From:To:Subject:From; b=vsRoyk9dN1BQya6SJlkdNLidoCaBZXPvwIMx3jft4Y5yhYjSYt1rtQSLJaRDpYTBc v/iY0iYHDfy6keUmkJPUT+LKxxqefZBvwL/Rj2BCTPwjccHgI/7+OJY2ORWJV7Z7QA 4aoDMIzvjV4JPU+pK98dvetCrLdL6EPVrAccbLOs= Date: Fri, 06 Jan 2023 12:04:12 -0800 From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Message-ID: Subject: [bluez/bluez] 6e3059: shared/gatt-client: Use parent debug_callback if n... 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=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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: 6e3059ae8cac28b8eefd6e55b47a6e39278d6410 https://github.com/bluez/bluez/commit/6e3059ae8cac28b8eefd6e55b47a6e39278d6410 Author: Luiz Augusto von Dentz Date: 2023-01-05 (Thu, 05 Jan 2023) Changed paths: M src/shared/gatt-client.c Log Message: ----------- shared/gatt-client: Use parent debug_callback if not set on clone If clone don't have a dedicated callback set use its parent so users of bt_gatt_client_clone don't have to keep setting the same callback for all clone instances. Commit: fde32ff9c9c0ab531767c4539cd0b5da3aec289b https://github.com/bluez/bluez/commit/fde32ff9c9c0ab531767c4539cd0b5da3aec289b Author: Luiz Augusto von Dentz Date: 2023-01-05 (Thu, 05 Jan 2023) Changed paths: M src/shared/gatt-client.c Log Message: ----------- shared/gatt-client: Allow registering with NULL callback This makes bt_gatt_client_register_notify allow registering with NULL callback which is interpreted as the CCC write has already been performed therefore it won't be written again. Commit: 47b6cfeee3335c2d8a25876537071b30630abf4b https://github.com/bluez/bluez/commit/47b6cfeee3335c2d8a25876537071b30630abf4b Author: Luiz Augusto von Dentz Date: 2023-01-05 (Thu, 05 Jan 2023) Changed paths: M Makefile.am M attrib/gattrib.c M attrib/gattrib.h Log Message: ----------- attrib: Introduce g_attrib_attach_client This introduces g_attrib_attach_client which can be used to attach a bt_gatt_client instance to GAttr so it can be used to register notifications. Commit: 2f4c576ad24324e13ae6522f0799fce23e1ef0bd https://github.com/bluez/bluez/commit/2f4c576ad24324e13ae6522f0799fce23e1ef0bd Author: Luiz Augusto von Dentz Date: 2023-01-05 (Thu, 05 Jan 2023) Changed paths: M profiles/input/hog-lib.c M src/device.c Log Message: ----------- hog-lib: Fix not handling BT_ATT_OP_HANDLE_NFY_MULT This is a temporary fix for not handling BT_ATT_OP_HANDLE_NFY_MULT in GAttr so the code will use g_attrib_attach_client to attach the bt_gatt_client instance which is then used to register notifications including those sent with BT_ATT_OP_HANDLE_NFY_MULT. Fixes: https://github.com/bluez/bluez/issues/71 Commit: c18e3bf92e048e44cbeb36846fe26a300dcc6be6 https://github.com/bluez/bluez/commit/c18e3bf92e048e44cbeb36846fe26a300dcc6be6 Author: Luiz Augusto von Dentz Date: 2023-01-05 (Thu, 05 Jan 2023) Changed paths: M src/shared/gatt-client.c Log Message: ----------- shared/gatt-client: Fix smatch warnings This fixes the following warnings: shared/gatt-client.c:2764:33: warning: Variable length array is used. shared/gatt-client.c:2994:23: warning: Variable length array is used. shared/gatt-client.c:3075:23: warning: Variable length array is used. shared/gatt-client.c:3514:23: warning: Variable length array is used. Compare: https://github.com/bluez/bluez/compare/4e2ae14ea311...c18e3bf92e04