linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Basic Management interface command handling
@ 2010-12-13 19:07 johan.hedberg
  2010-12-13 19:07 ` [PATCH 1/5] Bluetooth: Add error handling for managment command handlers johan.hedberg
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: johan.hedberg @ 2010-12-13 19:07 UTC (permalink / raw)
  To: linux-bluetooth

Hi,

Here's a set of patches for dealing with basic commands needed for local
adapter enumeration and information featching.

I'm not completely sure about the parameter list of read_info (maybe
something is missing or too much) but we can fine tune that later as
long as the interface is experimental. The basic idea is to avoid too
many messages to get the initial set of info about an adapter and then
have separate "value X changed" events from the kernel to userspace when
individual values change. For the values that can be changed by the user
there'll also be individual "set value" commands.

With this set of patches you should be able to get the enumeration (at
least somewhat) working with current bluez.git:

	echo 1 > /sys/module/bluetooth/parameters/enable_mgmt
	bluetoothd -n -d -p mgmtops

There's no power control (HCI_UP/HCI_DOWN) available yet, so you'll get
more meaningful values in read_info if you do "hciconfig hci0 up" before
running bluetoothd.

Johan


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

end of thread, other threads:[~2010-12-16 17:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-13 19:07 Basic Management interface command handling johan.hedberg
2010-12-13 19:07 ` [PATCH 1/5] Bluetooth: Add error handling for managment command handlers johan.hedberg
2010-12-16 16:52   ` Gustavo F. Padovan
2010-12-16 17:31     ` Johan Hedberg
2010-12-13 19:07 ` [PATCH 2/5] Bluetooth: Add read_version management command johan.hedberg
2010-12-13 19:07 ` [PATCH 3/5] Bluetooth: Add read_index_list " johan.hedberg
2010-12-13 19:07 ` [PATCH 4/5] Bluetooth: Add read_info " johan.hedberg
2010-12-13 19:07 ` [PATCH 5/5] Bluetooth: Add management events for controller addition & removal johan.hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).