Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp2164827rdf; Mon, 6 Nov 2023 06:35:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IFsdD8AV+0tyoHLFFwVDlkYyda8raAznKcKAQ+gMsNnyKPDidNsC41um+OlHs21hAn1tiMG X-Received: by 2002:a05:6358:6f12:b0:168:e73f:c9c2 with SMTP id r18-20020a0563586f1200b00168e73fc9c2mr35997585rwn.8.1699281354298; Mon, 06 Nov 2023 06:35:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699281354; cv=none; d=google.com; s=arc-20160816; b=L9j5SZ0Ru7K7caxuk0kHLj4KmwcO29gF/J675GRPUIc5+GIK9z9AROkd71WhmaYE7C XZnrEUBrItLtuuUS8Rq7qW4GIMRE67W77gDLililpOqlzIEF3LJGvyane4QbTKmZVtHG lQEzRTaGMtGQQeMMxW57op22ftSxXe78ISDvGmKHM0SySC8nt18DJN95uObJJqYqkRdI pmnYQoBtqxXvs/V5sMZRYyqH3wIbcqsg0kcXiJzW3mtEjbqJFw38O3lLh5FQ84mkCg/j VHDHmdnAAdzJ//GW29HS62yEjOOBzrgy5UZCeCrvtWJmJmdHpSndnnWhMER2Ci8632+i GGTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:date:to:from:subject:message-id; bh=d7AX5ZMbvI2DAOH0wPkRfwlkcDW9PbhtYGJRzxLYRP0=; fh=4lGQI6056MBa4/oovMyIYaKLn+Wz/24RGvUivMmQP8E=; b=MgUODwPTn8sQNeGdu6E4GFt9arqvTHL3riFQQ0o44vxgjdfwbMUONJLMZUHWuDCEnr YidsIWy+pVEjwyzmgrwpWTDH5XPCw8NR536wVLtTxaXkqgHNzUr+0UBdRSkUz52lJwoB zr9gy3Cmr8X+x1q0rxrpJmyMOq4GsbPAksuSrj6YxZesbbe8ut0GNeTGYcFc5jObbLLe HAwzGLcy+8fzwwXFfzaEx4hksIuud7YWs7TNcasIkZdYcisQNz+PmzFX2+bXIkQD59KO XG3Wfc6ZzgjNrHP336Dphv/LUec7+4Q+D6lakXowb0IZS3F1qMa5xA4YFBJn8I1hmP1E YWsA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id a22-20020a656416000000b005b9b45ba3c1si7334256pgv.563.2023.11.06.06.35.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 06:35:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 4C439803A516; Mon, 6 Nov 2023 06:35:49 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231332AbjKFOft convert rfc822-to-8bit (ORCPT + 99 others); Mon, 6 Nov 2023 09:35:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231169AbjKFOft (ORCPT ); Mon, 6 Nov 2023 09:35:49 -0500 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::228]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B63B894 for ; Mon, 6 Nov 2023 06:35:45 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 1DED21BF20B for ; Mon, 6 Nov 2023 14:35:43 +0000 (UTC) Message-ID: Subject: Using Laird Connectivity Bluetooth LE PTS dongle with Linux From: Bastien Nocera To: linux-bluetooth@vger.kernel.org Date: Mon, 06 Nov 2023 15:35:43 +0100 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 X-GND-Sasl: hadess@hadess.net X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 06 Nov 2023 06:35:49 -0800 (PST) Hey, I bought the Laird Connectivity Bluetooth LE-only PTS dongle listed on: https://support.bluetooth.com/hc/en-us/articles/360049018492-What-is-the-difference-between-the-Profile-Tuning-Suite-PTS-Dongles- as I was hoping to have an easy to use Bluetooth LE only device for testing. But the device only shows up as a serial device under kernel 6.5 from my distribution. Is there anything specific that needs to be done for that device to be usable as a Bluetooth adapter under Linux? Or does it only work with the PTS? I spotted the ability to run specific software on the micro-controller itself when powered on, but nothing specific to using it as an adapter: http://assets.lairdtech.com/home/brandworld/files/BL654%20USB%20Dongle%20User%20Guide%20v1_0.pdf Full lsusb output for that device: Bus 001 Device 018: ID 1915:521f Nordic Semiconductor ASA Nordic Open DFU Bootloader Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x1915 Nordic Semiconductor ASA idProduct 0x521f bcdDevice 1.00 iManufacturer 1 Laird Connectivity iProduct 2 Nordic Open DFU Bootloader iSerial 3 E1BB9211FA41 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x004b bNumInterfaces 2 bConfigurationValue 1 iConfiguration 4 Default configuration bmAttributes 0xc0 Self Powered MaxPower 100mA Interface Association: bLength 8 bDescriptorType 11 bFirstInterface 0 bInterfaceCount 2 bFunctionClass 2 Communications bFunctionSubClass 2 Abstract (modem) bFunctionProtocol 0 iFunction 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 2 Communications bInterfaceSubClass 2 Abstract (modem) bInterfaceProtocol 0 iInterface 0 CDC Header: bcdCDC 1.10 CDC Call Management: bmCapabilities 0x03 call management use DataInterface bDataInterface 1 CDC ACM: bmCapabilities 0x02 line coding and serial state CDC Union: bMasterInterface 0 bSlaveInterface 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 16 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 10 CDC Data bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Device Status: 0x0001 Self Powered Cheers