Return-Path: Content-Type: text/plain; charset=US-ASCII Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: Query: HCI_RAW mode in Kernel 3.18 From: Marcel Holtmann In-Reply-To: Date: Tue, 10 Feb 2015 06:21:21 -0800 Cc: BlueZ development Message-Id: References: To: Ujjal Roy Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Ujjal, > I have a question regarding RAW mode. > > Is it still possible to use RAW mode in Kernel 3.18? If so how to use > the RAW mode? Please help me. I had an app which used to change the > the mode to RAW (HCISETRAW command). This feature is removed from > Kernel. Please reply and help me if there is any way to use the RAW > mode. what you want is to use the HCI User Channel if you need direct access to the HCI layer of a controller. Look at tools/3dsp.c and tools/ibeacon.c for examples on how to use it. In src/shared/hci.c you find the internal details of the HCI User Channel. It is a lot cleaner way of using a controller's HCI interface exclusively. Regards Marcel