Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1954907ybl; Sat, 11 Jan 2020 06:11:00 -0800 (PST) X-Google-Smtp-Source: APXvYqwJpFKQvieNmjjT1g/HJSNbvfUj5J/QAce+Tik9fhMf6yPmmFc0v/6htWr/uvwQ8TbrwemW X-Received: by 2002:a05:6808:8e5:: with SMTP id d5mr6082782oic.154.1578751859914; Sat, 11 Jan 2020 06:10:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578751859; cv=none; d=google.com; s=arc-20160816; b=SAh+SXaHokNcJDv2cVUJoz8h1uKb1Ls6Grk5p4Y8OGMEB63KywAmTDCYMINnTebi1w fegWLP2pWNBlT69exmE+V5Y2OJsJmazFNGmAxram7Tgj1d4fBgZC5yKb5nANX4+73Yh9 nzRGsunXXwNZzHeq9atNKrQIHUyn5xGPo63wy57tM4Av3xU8d54wrQXYxF6V+zRRTGi/ kJU8LNghu60LLkbrtjfQ989O+6RoWJYfZURHNGqqCDZLe6vOoJPIB3CijI/xUZJwSy/B DtSY1rNGesFIC4yNjz+WV6egC/o+bHPLa3mRLkJL2qoNCYQoSZ7DRk19biUhvjG+QDJw qxUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:date:to:from:subject:message-id; bh=IMFWdxxAn7Ul3NkIisWeEhGDANKDXpsVtaL5fiNQ1ig=; b=a66uzNhb9wG2nOBIu+KmmAB2Zu9BTE0BJRvlVaYsHGrjLchfNYTbCGSMmKlMMk9UUl VX+ZFleuO8EHOmRPnZv3cfhFwOVIg/CnoRalkJyezkTHLQfJfaBzQbnipfEi5QFTe3fT W8JsIcuK/Mse/0zwFf7hL6eBSPwVyMDkNhqV7VUX1Y0fGHi/yKAPqfhhWDFQNdSAtmw4 ngffcDZGKMsgz0vwNUvTOLV9NaY6tM5u7CZ2ZNmpM3rYDrB4qicgGSTTeWGe3TOZ9/ob pgKO8Vbu6IeEVtLr2dJg3m142fzqF7dkP0EDfb5Vbwe9oaZefijz1+lUAJlAKAG6X+Gx ioqg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f15si3119567oij.160.2020.01.11.06.10.29; Sat, 11 Jan 2020 06:10:59 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729688AbgAKOJ7 (ORCPT + 99 others); Sat, 11 Jan 2020 09:09:59 -0500 Received: from jax4mhob12.myregisteredsite.com ([64.69.218.92]:50402 "EHLO jax4mhob12.myregisteredsite.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729630AbgAKOJ7 (ORCPT ); Sat, 11 Jan 2020 09:09:59 -0500 Received: from mailpod.hostingplatform.com (atl4qobmail02pod5.registeredsite.com [10.30.71.85]) by jax4mhob12.myregisteredsite.com (8.14.4/8.14.4) with ESMTP id 00BE9vEN031333 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Sat, 11 Jan 2020 09:09:57 -0500 Received: (qmail 141434 invoked by uid 0); 11 Jan 2020 14:09:56 -0000 X-TCPREMOTEIP: 208.85.15.155 X-Authenticated-UID: sbrown@opensat.com Received: from unknown (HELO 155-15-85-208.altiusbb.net) (sbrown@opensat.com@208.85.15.155) by 0 with ESMTPA; 11 Jan 2020 14:09:56 -0000 Received: from localhost (localhost [127.0.0.1]) by 155-15-85-208.altiusbb.net (Postfix) with ESMTP id E2C0F1540254 for ; Sat, 11 Jan 2020 09:09:55 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at ewol.com X-Spam-Flag: NO X-Spam-Score: -2.9 X-Spam-Level: X-Spam-Status: No, score=-2.9 tagged_above=-999 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9] autolearn=ham autolearn_force=no Received: from 155-15-85-208.altiusbb.net ([127.0.0.1]) by localhost (fl-server.ewol.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iyEVrzAg4N0g for ; Sat, 11 Jan 2020 09:09:54 -0500 (EST) Received: from w7.lan (w7.lan [192.168.1.9]) by 155-15-85-208.altiusbb.net (Postfix) with ESMTP id 0AE9715400CE for ; Sat, 11 Jan 2020 09:09:54 -0500 (EST) Message-ID: <988d501619da548fff95f1f1afaa6456e18e6dfe.camel@ewol.com> Subject: mesh: scan params specify random address, but no random address set From: Steve Brown To: "linux-bluetooth@vger.kernel.org" Date: Sat, 11 Jan 2020 09:09:53 -0500 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.1-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org I'm using the Zephyr hci implementation on a bt dongle. It complains that no random address is set when scan enable is sent. My RPi doesn't care if a random address is set or not. Steve btmon says: LE Set Scan Parameters (0x08|0x000b) ncmd 1 Status: Success (0x00) < HCI Command: LE Set Scan Parameters (0x08|0x000b) plen 7 #289 [hci0] 409.412208 Type: Passive (0x00) Interval: 10.000 msec (0x0010) Window: 10.000 msec (0x0010) Own address type: Random (0x01) Filter policy: Accept all advertisement (0x00) > HCI Event: Command Complete (0x0e) plen 4 #290 [hci0] 409.413191 LE Set Scan Parameters (0x08|0x000b) ncmd 1 Status: Success (0x00) < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2 #291 [hci0] 409.413205 Scanning: Enabled (0x01) Filter duplicates: Disabled (0x00) > HCI Event: Command Complete (0x0e) plen 4 #292 [hci0] 409.429192 LE Set Scan Enable (0x08|0x000c) ncmd 1 Status: Invalid HCI Command Parameters (0x12)