All of lore.kernel.org
 help / color / mirror / Atom feed
* btmgmt: failure with advertising report event
@ 2015-04-28  7:54 Ankur Patel
  2015-04-28  9:14 ` Szymon Janc
  0 siblings, 1 reply; 2+ messages in thread
From: Ankur Patel @ 2015-04-28  7:54 UTC (permalink / raw)
  To: linux-bluetooth

Hello Friends,

I am using Linux Kernel 3.10.32 on i.mx28 based platform with TI WL1831 WiFi/BT Module. It runs linux with Bluez 5.30. I am trying to run tests on PTS esp. for LE only mode. Hence following http://git.kernel.org/cgit/bluetooth/bluez.git/tree/android/pts-gap.txt commands to execute on device with "btmgmt" to run the tests. It fails to execute most of the commands mentioned for 
eg. "btmgmt advertising on"

It returns with Error:
root@imx28evk:~# btmgmt advertising on
Set Advertising for hci0 failed with status 0x01 (Unknown Command)

Any pointers on how to solve this error?

I have read some more documentation and found (not sure) that full feature for btmgmt is supported with Linux Kernel 3.18 only. Is that true? If Yes, Is there any way I can use that with v3.10.32?

Regards,
Ankur

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: btmgmt: failure with advertising report event
  2015-04-28  7:54 btmgmt: failure with advertising report event Ankur Patel
@ 2015-04-28  9:14 ` Szymon Janc
  0 siblings, 0 replies; 2+ messages in thread
From: Szymon Janc @ 2015-04-28  9:14 UTC (permalink / raw)
  To: Ankur Patel; +Cc: linux-bluetooth

Hi Ankur,

On Tuesday 28 of April 2015 17:24:58 Ankur Patel wrote:
> Hello Friends,
> 
> I am using Linux Kernel 3.10.32 on i.mx28 based platform with TI WL1831
> WiFi/BT Module. It runs linux with Bluez 5.30. I am trying to run tests on
> PTS esp. for LE only mode. Hence following
> http://git.kernel.org/cgit/bluetooth/bluez.git/tree/android/pts-gap.txt
> commands to execute on device with "btmgmt" to run the tests. It fails to
> execute most of the commands mentioned for eg. "btmgmt advertising on"
> 
> It returns with Error:
> root@imx28evk:~# btmgmt advertising on
> Set Advertising for hci0 failed with status 0x01 (Unknown Command)
> 
> Any pointers on how to solve this error?
> 
> I have read some more documentation and found (not sure) that full feature
> for btmgmt is supported with Linux Kernel 3.18 only. Is that true? If Yes,
> Is there any way I can use that with v3.10.32?

You need newer kernel. Or at least newer kernel bluetooth subsystem ie via 
backports project [1].

You can check in mgmt-api.txt [2] what commands were introduced in which 
kernel version.

> Regards,
> 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


[1] https://backports.wiki.kernel.org
[2] https://git.kernel.org/cgit/bluetooth/bluez.git/tree/doc/mgmt-api.txt

-- 
BR
Szymon Janc

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-28  9:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-28  7:54 btmgmt: failure with advertising report event Ankur Patel
2015-04-28  9:14 ` Szymon Janc

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.