Johan Hedberg
ba49febf1a
mgmt: Add error code definitions
2012-02-29 19:16:04 -06:00
Johan Hedberg
36711fb6aa
mgmt-api: Add error code descriptions
2012-02-29 19:16:04 -06:00
Marcel Holtmann
bac09a9dbb
monitor: Add defines for connection packet type changes
2012-02-29 09:05:12 -08:00
Johan Hedberg
e4d00337ad
lib: Add missing host feature defines
...
This patch add missing SSP and "Simultaneous LE & BR/EDR" feature bit
definitions to hci.h.
2012-02-28 02:10:52 +02:00
Marcel Holtmann
d5be1cc111
emulator: Add initial version of new emulator
2012-02-27 10:56:43 -08:00
Marcel Holtmann
9d3b93ede7
monitor: Add Bluetooth HCI declarations
2012-02-27 10:52:14 -08:00
Marcel Holtmann
cad9bb230a
monitor: Use better signal integration
2012-02-27 10:35:31 -08:00
Marcel Holtmann
a3877b43ee
hciemu: Fix wrong error code in host control
2012-02-27 09:19:14 -08:00
Marcel Holtmann
ee39765d31
monitor: Add support for hcidump fallback
2012-02-27 00:55:34 -08:00
Marcel Holtmann
987ffb7360
lib: Make unaligned access functions const
2012-02-26 22:42:41 -08:00
Marcel Holtmann
0c73a367a1
lib: Add definition for HCI_CHANNEL_MONITOR
2012-02-26 22:12:34 -08:00
Marcel Holtmann
cdcd5647e8
monitor: Fix some minor white space damages
2012-02-26 19:11:44 -08:00
Marcel Holtmann
d02da9ea43
monitor: Add Intel copyright to new monitor tool
2012-02-26 18:40:25 -08:00
Marcel Holtmann
f30c71d3e0
hciattach: Remove some unneeded includes
2012-02-26 18:40:25 -08:00
Marcel Holtmann
061a23ca74
hciattach: Add new HCI UART flags
2012-02-26 18:40:25 -08:00
Andrei Emeltchenko
eedaa19cfc
l2test: Add BT Channel Policy option
...
Make l2test able to set channel policy socket option.
2012-02-26 19:09:03 +02:00
Andrei Emeltchenko
95f4d9d53b
l2test: Clean up lookup table code
...
Make lookup table code available for others and create
common functions.
2012-02-26 19:07:28 +02:00
Andrei Emeltchenko
da47ffe5c7
lib: Copy L2CAP chan policy defines from kernel
...
Those defines will be used by user space.
2012-02-26 19:06:47 +02:00
Luiz Augusto von Dentz
16ac728063
mgmt-api: Format fixes
2012-02-26 19:03:03 +02:00
Siarhei Siamashka
03bb9d3426
sbc: fix "always_inline function might not be inlinable" warning
...
"__attribute__((always_inline))" does not replace "inline" and they
still need to be used together. This fixes "always_inline function
might not be inlinable [-Wattributes]" warning in gcc 4.7
2012-02-24 18:47:52 +02:00
Anderson Lizardo
2b9fc1b2d9
mgmtops: Add missing compatibility header include
...
glib-compat.h needs to be included when either g_slist_free_full() or
g_list_free_full() is used on a C file. Otherwise, it will fail to build
on older (supported) Glib versions that lack these functions.
Fixes this build error on GLib 2.24.1:
plugins/mgmtops.c: In function ‘remove_controller’:
plugins/mgmtops.c:180: error: implicit declaration of function
‘g_slist_free_full’
2012-02-24 18:45:47 +02:00
Johan Hedberg
e8d185f9dd
mgmtops: Fix uninitialized discovery type value
2012-02-24 12:53:22 +02:00
Johan Hedberg
63e1b03961
mgmtops: Set discovery type based on real capabilities
2012-02-24 11:01:47 +02:00
Johan Hedberg
1876483852
mgmtops: Move power on after UUID additions
2012-02-24 02:10:02 +02:00
Johan Hedberg
22ee00198a
mgmtops: Fix clearing of pending UUIDs/Class data
2012-02-24 01:50:14 +02:00
Johan Hedberg
ffa77b08c6
mgmtops: Fix calling adapter_mode_changed when not powered
2012-02-24 01:42:53 +02:00
Johan Hedberg
d66c5fa44c
mgmtops: Fix updating settings values after read_info response
2012-02-24 01:15:13 +02:00
Johan Hedberg
c989eff9b9
mgmtops: Cache dev_class update until UUID changes finish
2012-02-24 01:14:30 +02:00
Johan Hedberg
8136e7ba9a
mgmtops: Fix read_info response handling
2012-02-24 00:47:12 +02:00
Johan Hedberg
4ef8aae454
mgmtops: Move clear_uuids after read_info response
2012-02-24 00:47:02 +02:00
Johan Hedberg
e2801dd6ad
mgmtops: Add UUID queuing to avoid EBUSY errors
2012-02-24 00:46:57 +02:00
Anderson Lizardo
5a878d96f9
mgmtops: Add SET_LE/SET_SSP command complete handling
...
This avoids "Unknown command complete for opcode <nn>" errors.
2012-02-23 22:40:37 +02:00
Anderson Lizardo
2f3ebee35e
mgmtops: Handle "Class Of Device Changed" event
...
This avoids misleading "Unknown Management opcode 7 (index 0)" errors.
2012-02-23 22:40:32 +02:00
Marcel Holtmann
484150cbfd
mgmt: Add flags field for device connected event
2012-02-23 20:56:00 +01:00
Marcel Holtmann
d74391573c
mgmt-api: Add flags field to Device Connected event
2012-02-23 20:52:12 +01:00
Johan Hedberg
87f0899f82
btmgmt: Add UUID handling support
2012-02-23 21:53:17 +02:00
Johan Hedberg
384369fb18
mgmtops: Fix connection list fetching when powered off
2012-02-23 16:57:37 +02:00
Johan Hedberg
170259bb53
mgmtops: Pass legacy pairing information to core
2012-02-23 00:38:20 +02:00
Marcel Holtmann
241181f5eb
mgmt-api: Fix parameter list of user confirmation request
2012-02-22 23:15:15 +01:00
Marcel Holtmann
9741e4c92d
mgmt: Use uint32 for flags in device found events
2012-02-22 23:14:06 +01:00
Johan Hedberg
5bb418bbb7
mgmt: Fix device_found parameters
2012-02-23 00:05:13 +02:00
Johan Hedberg
07597ac331
core: Fix initial adapter state
...
It's no longer guaranteed that an adapter start of in powered on state
(e.g. not true with latest mgmt) so pass the correct state when
registering an adapter.
2012-02-22 23:56:18 +02:00
Marcel Holtmann
39ce03ec74
monitor: Add LE command descriptions
2012-02-22 22:48:02 +01:00
Marcel Holtmann
8c3ec75091
monitor: Add missing management events for pairing
2012-02-22 22:34:43 +01:00
Marcel Holtmann
87276365ab
mgmt-api: Add comments for commands that require powered controller
2012-02-22 21:43:04 +01:00
Marcel Holtmann
26cce9fe69
mgmt-api: Mention the empty UUID to clear the UUID list
2012-02-22 21:25:19 +01:00
Marcel Holtmann
40802a41d4
mgmt-api: Update comments for commands valid during power off
2012-02-22 21:03:22 +01:00
Marcel Holtmann
c9edc0153f
mgmt-api: Mention that setting name is valid when powered off
2012-02-22 20:51:42 +01:00
Marcel Holtmann
1af626dcb2
monitor: Decode some of the management authentication events
2012-02-22 20:38:08 +01:00
Marcel Holtmann
2821fba7d2
monitor: Add decoding of more management events
2012-02-22 20:12:04 +01:00