Return-Path: Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Subject: Re: how to set PSCAN mode in .conf? From: Marcel Holtmann In-Reply-To: Date: Tue, 21 Oct 2014 04:06:40 -0700 Cc: linux-bluetooth Message-Id: References: <8BA7CD92-B061-41CE-BD43-7E1B7CD1DF6A@holtmann.org> <8940108C-6C27-49E3-80C8-8983F32D6F55@holtmann.org> <07E0A5D2-1E7E-4D89-A8A8-F87E643882A0@holtmann.org> To: Jeff Chua Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Jeff, >> See doc/mgmt-api.txt for the details since btmgmt maps the management interface. In short action 1 means to allow incoming connections. > > Got it. I tried "-a 0" and it returned Invalid Parameters. But anyway, > "1" is the one I needed. the documentation clearly says that action 0x00 and 0x02 are only valid for LE addresses. Action 0x01 is valid for BR/EDR and LE addresses. If anyone wants to implement action 0x00 semantics on BR/EDR, then it requires using Periodic Inquiry. It is possible, but it is not a common use case these days. Regards Marcel