Return-Path: MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 11 May 2015 10:58:06 +0300 Message-ID: Subject: Re: LE only Mode: PICS reference From: Luiz Augusto von Dentz To: Ankur Patel Cc: "linux-bluetooth@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Ankur, On Mon, May 11, 2015 at 2:48 AM, Ankur Patel wrote: > Hello Folks, > > I am new to the BT LE and pls bare with me if I ask some silly questions. Thank you for support. > > I am now using 3.18.12 Linux kernel and Bluez 5.30 version on board. Our product requirement is to support only LE modes. To create PICS for host system using bluez, do I have to take http://git.kernel.org/cgit/bluetooth/bluez.git/tree/android/pics-gap.txt as a reference for selecting the configuration? > If yes, then in that case, why it has Broadcaster and Observer selected to 'False' under line#150-151 in pics-gap.txt as bluez does supports Central/Broadcaster/Observer LE roles as mentioned under bluez-5.30/doc/supported-features.txt? The BlueZ for Android PICS is for Android only, you can take a look just for reference but the D-Bus API works quite differently. We might in future have similar notes for BlueZ, any help here is of course welcome. > Inaddition, I am having some issue running the testcase TC_IDLE_NAMP_BV_02_C. pts-gts.txt says: "btmgmt advertising on" should work, but it is not working on my side. > > Following Log info: > Test case : TC_IDLE_NAMP_BV_02_C started > - MTC: Successfully received HCI_LE_CLEAR_WHITE_LIST_COMPLETE_EVENT. > - MTC: Successfully received HCI_LE_ADD_DEVICE_TO_WHITE_LIST_COMPLETE_EVENT. > - MTC: Successfully received HCI_LE_SET_SCAN_PARAMETERS_COMPLETE_EVENT. > - MTC: Successfully received HCI_LE_SET_SCAN_ENABLE_COMPLETE_EVENT. > - MTC: Receive Advertising report successfully. > - MTC: Successfully received HCI_LE_SET_SCAN_ENABLE_COMPLETE_EVENT. > - MTC: ATT connection established successfully. > - MTC-INCONC: Error returned in ATT_READ_BY_TYPE_CFM. This probably means it is trying to read the primary/secondary services so you will probably need to register a few services, you can use: https://git.kernel.org/cgit/bluetooth/bluez.git/tree/test/example-gatt-server > - CM_EXIT > - CM_EXIT > - CM_EXIT > - CM_EXIT > - MTC: Test case ended > -Final Verdict: INCONC > TC_IDLE_NAMP_BV_02_C finished > > - Prior to running above command I have also set name using command 'btmgmt name test_dev'. Do I need to run more commands to it? > > Thank you, > Ankur. > -- > To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Luiz Augusto von Dentz