From owner-freebsd-bluetooth@freebsd.org Tue Feb 27 07:59:47 2018 Return-Path: Delivered-To: freebsd-bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EC585F2D3F7 for ; Tue, 27 Feb 2018 07:59:46 +0000 (UTC) (envelope-from sid@bsdmail.com) Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mail.gmx.com", Issuer "thawte SSL CA - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7616087B81 for ; Tue, 27 Feb 2018 07:59:46 +0000 (UTC) (envelope-from sid@bsdmail.com) Received: from [108.70.50.7] ([108.70.50.7]) by 3c-app-mailcom-lxa04.server.lan (via HTTP); Tue, 27 Feb 2018 08:59:32 +0100 MIME-Version: 1.0 Message-ID: From: Sid To: "Stari Karp" Cc: "Takanori Watanabe" , freebsd-bluetooth@freebsd.org Subject: Re: Bluetooth v4 Content-Type: text/plain; charset=UTF-8 Date: Tue, 27 Feb 2018 08:59:32 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <1519467444.67616.0.camel@yandex.com> References: <20180224052502.GA45606@sana.init-main.com> <1519467444.67616.0.camel@yandex.com> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:8FcCm9ZIJBOX+OUIVX+pd/AMdkn7F1gh7vUxv0QaMgp v9t7MNaV8cYfQSQdo8sWANwRXYqa1SKXIkK3XX3D3YmeBwFMso p8JNuLVUhSBFUGXGMyJDu+rIz47d/6+sULMW0nEnSiUWmCLKaB CXc3WiSKOkijqV8mFZKLBdpHSqjdJAhGpoHgGY8k5AwlljAC+r URT8SIkgdDo8WwcvPilhdrmCyMSO1SMMr6Q0qgC+oiqH30mJ8A geH0u6GeztL02dXd42zoOv47lPgQ3OeaDv50H8U9O/LlsY0yTL 5GM6Ss= X-UI-Out-Filterresults: notjunk:1;V01:K0:27m2/94mCIo=:Wt4wQiXn/fxs0ha7KykGla Hed0V82/WjfbIf96/KuqlTbUSh0h7Y0jgrG+yGuQ2QJun1Fro7lib7+/iNAnOfyjJ0huYekSa 1TcJFAUan05VVEiQ4935+aqsjHyXZRDBFg+Mc5IqlYeURrJ/rdn82II8I7p+z63c+6+8r67uX 71m4rnzM842usvQ5HpBUpDOfHMWg5VRy8bycRrWfh7nBg2X4NhPW6C9hSDH6Ho8oHjmjas7yl r2Yq+in79qlroALav4geGO1vhov1xB+RDQzVAEQVrU9gLSuUtpec902PFLUYB5bDOYK+XOZPr n0Ic2v7ATPUl4qG7u/RTkb5NQL77+MddFeBv/xJXT0c6KkxrTPaMO7vaDhdfYuHD+Jr5TxdT1 ZJutfjdiBsspDPPnIxijTKokpZNmWTWzyj7+1v2fPwZD4pdsi6t7yQUCsWHHT043z0r1baT7N MdmV0u4BnMX1jy5AtyWYnSH0qvLQ8BSdslYXrbKdE0aEo8bCeXlVn+5p4yy1Z2aouGRmyoG6I IZHcII4AdAsw0s2si5xHo03utvwMM5H2ROQL9+QHKqd X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2018 07:59:47 -0000 > Sent: Saturday, February 24, 2018 at 4:17 AM > Subject: Re: Bluetooth v4 > > On Sat, 2018-02-24 at 14:25 +0900, Takanori Watanabe wrote: > > On Thu, Feb 22, 2018 at 05:07:41PM +0100, Sid wrote: > > > > > Jan 04, 2018: > > > > > The BSD community, not just FreeBSD, should look into creating > > > > > a standard driver for Bluetooth v4, and forget completely about > > > > > versions 1.2, 2.x, and 3.x. Worrying about versions 2 and 3 is > > > > > a complete waste of time. > > > > > Bluetooth v4 dongles are now inexpensive, and are backward > > > > > compatible with devices of lesser Bluetooth versions. > > > > Takanori Watanabe wrote: > > > > I wrote some code for Bluetooth LE and partly committed to the > > > > HEAD. > > > > I use HOGP mouse. https://github.com/takawata/FreeBSD-BLE > > > > > > Hi, is all of it under https://svnweb.freebsd.org/base/head/usr.bin > > > /bluetooth/? Does the one at github work for several Bluetooth > > > versions? Thank you. > > > > Indeed, I did not touch there. > > > > There are > > https://svnweb.freebsd.org/base/head/usr.sbin/bluetooth/ > > and > > https://svnweb.freebsd.org/base/head/sys/netgraph/bluetooth/ > > also. That's great! > > _______________________________________________ > > > I think the last version is Bluetooth v5. > Because Bluetooth 4 dongles are now cheap, so that means easier distribution, collaboration and use. Bluetooth 5 is not mainstream yet, and many places still don't sell them. Bluetooth 4 would be a good starting point. Bluetooth 5 is compatible from version 1.1 on. https://www.bluetooth.com/~/media/files/specification/bluetooth-5-faq.ashx?la=en Actually, it would be good for reverse compatibility in a Bluetooth 4 and later 5 dongle driver to go down to version 1.2. 1.2 is perhaps more secure than 1.1. Then let the old driver remain separate to take care of 1.1. Low energy Bluetooth is for 4 and 5. Perhaps there can be two parts or two drivers (aside for the current one for 1.1): one for BLE (Bluetooth Low Energy) for 4 and 5, and another for traditional data rates for reverse compatibility of Bluetooth 4 and 5 dongles to devices of previous versions. From owner-freebsd-bluetooth@freebsd.org Tue Feb 27 08:52:10 2018 Return-Path: Delivered-To: freebsd-bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A5AE1F31440 for ; Tue, 27 Feb 2018 08:52:10 +0000 (UTC) (envelope-from sid@bsdmail.com) Received: from mout.gmx.com (mout.gmx.com [74.208.4.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mail.gmx.com", Issuer "thawte SSL CA - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2D1576A211 for ; Tue, 27 Feb 2018 08:52:10 +0000 (UTC) (envelope-from sid@bsdmail.com) Received: from [108.70.50.7] ([108.70.50.7]) by 3c-app-mailcom-lxa16.server.lan (via HTTP); Tue, 27 Feb 2018 09:52:08 +0100 MIME-Version: 1.0 Message-ID: From: Sid To: freebsd-bluetooth@freebsd.org Subject: re: Bluetooth v4 Content-Type: text/plain; charset=UTF-8 Date: Tue, 27 Feb 2018 09:52:08 +0100 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:LlHcrDAMATQ73SYKKGWAI19plul/irmCcOBo1WrHt1j 3MXt4hIjuuVguQiaOxDRpSalgBJvbx+aGo2EKLfO65ZUKe7Ni2 5Q9KTbzvCJgfVoawxicldqmKZ/8X+OeAJhSkU04ntCYhraJyue 7tFoRxXOSbQ8t8+AZ9o/ZD79+D+4awCEHzDpGN+4Rj2CzGrQZG svNhl/yyxI/HAteF/nDG5qHKf873npPTMkf51KKyVMjNLqENEi r5dsaQF/K6abLLljD+LI5pJfdHB9lu2MYanzC2MmozLbqvoSuP IvyqaQ= X-UI-Out-Filterresults: notjunk:1;V01:K0:yFC/ZYHwBNA=:XzWH4LwZtg+nfGC9kBJbkq xs/vEwxXkusGk7f3/1fR6QfV6jk0yyNRaH1hkYTr4DTf/W9GGgtSNlUC/9PXq0djSUVnLmmF9 YdOsSVH6p3SoBU2Y50LcuBGotHivN14ySikoIMYuX2oBEhhRuEEWOm0AvbPqDVkCaqHGU8l6m z/yDWOVXO91UFnY+vG1QYGMKkY80zIGQjAvR2gJNaZYvPsN4TM9QgSAfbZX2yGRWz13YLs8lu t+Vrw+5H9KDN/OnBgJ5mdmJeviZoXS4QftvdPdqOsiyJbOtgzni7QZz+PLukKMNmy0QjMA1Zt 3Wc2mKEZ1JvG4g57fvepqGjfAdaizE6kFH4RkOGaR19c3ejLR0QJ+uAZQZu2BLJ9mwN329B6O xZDzg3Nl9xa6vVbYFAWTxyXYrp/6JGf7nMAurcRrpe4syM8yTwN1io5DswLSVu9tQMqqadCyd BYyjFKJbRhKLnNuFkHL4eAH3BjmOHVPW6i3O3VLeFWyu3ERFn1A7G2KMVYXjBtzG2ox7G1VW6 240L1Tb5dgr7oo6ZqQf0kDysh0xEinSFzixbOPvsNhy X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2018 08:52:10 -0000 I looked at it again. The Bluetooth LE (which is only available for versions 4 and 5) idea is perfect as is. Versions 1.1 and 1.2 drivers should be left as is. If there is going to be any reverse compatibility drivers for traditional data rate protocols, it should be for version 4 (and when 5 becomes mainstream) dongles down to version 2.1. 2.1 has better device pairing and security than previous Bluetooth versions.