Johan Hedberg
7facee2446
core: Move mgmt setting convenience macros to lib/mgmt.h
2013-01-03 15:44:51 +02:00
Marcel Holtmann
224473bc9f
lib: Avoid using HCI_MAX_NAME_LENGTH in management header
2012-12-31 17:09:52 -08:00
Johan Hedberg
b27b7757d4
mgmt: Remove peripheral setting
...
It's still not decided how this will be exposed in the end but most
likely it wont be through mgmt (e.g. socket-based enabling is a probable
choice).
2012-11-09 16:52:48 +02:00
Johan Hedberg
d6ff55181b
mgmt: Remove LE prefix from the peripheral setting
2012-10-22 18:47:43 +03:00
Johan Hedberg
1b0a4291d1
mgmt: Add support for LE peripheral mode
2012-10-22 17:36:51 +03:00
Chan-yeol Park
02dd8b9fcb
mgmt: Add string for Passkey Notify Event
2012-10-04 18:02:32 +03:00
Johan Hedberg
546fee067d
mgmt: Implement support for Passkey Notify event
2012-09-04 16:34:41 +03:00
Mikel Astiz
902e9f2de2
mgmt: Add reason to device disconnect event
...
Extend the management API with the disconnect reason, as now reported
by the Kernel in MGMT_EV_DEVICE_DISCONNECTED.
2012-08-17 12:26:30 +03:00
Szymon Janc
1baf8702e1
Fix not setting class of device in adapter
...
Set class of device in adapter when new class is received from kernel.
This fix adapters property Class being always zero.
2012-07-30 13:48:43 +03:00
Claudio Takahasi
a21b3c28d1
Remove MGMT address type definition
...
This patch replaces the address type defined in management interface
header by the new address type constants defined in the bluetooth.h.
2012-04-25 13:02:59 +03:00
Szymon Janc
d5f15eac21
mgmtops: Add support for setting Device ID
2012-03-28 13:16:02 +03:00
Johan Hedberg
6ed27370c0
mgmt: Add missing error code definitions
2012-03-02 03:17:50 +02:00
Johan Hedberg
5ee47d3540
mgmt: Move string helpers to lib/mgmt.c
2012-03-02 03:17:50 +02:00
Johan Hedberg
ba49febf1a
mgmt: Add error code definitions
2012-02-29 19:16:04 -06:00
Marcel Holtmann
484150cbfd
mgmt: Add flags field for device connected event
2012-02-23 20:56:00 +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
Marcel Holtmann
13009c7a1b
mgmt: Add struct for device disconnected event
2012-02-22 20:02:16 +01:00
Johan Hedberg
0b9eed7567
mgmt: Update stop_discovery and ev_discovering to match API spec
2012-02-21 00:20:27 +02:00
Johan Hedberg
71e8b70208
mgmt: Move status return paramters into the cmd_complete header
2012-02-18 14:44:08 +02:00
Johan Hedberg
b142a9eaed
mgmt: Swap cmd_status parameters to match API
2012-02-18 14:11:22 +02:00
Johan Hedberg
dd84242d27
mgmt: Update implementation to match latest API
...
This patch adds an address type parameter to all places where the latest
API expects there to be one.
2012-02-17 14:30:31 +02:00
Johan Hedberg
455a27fa3a
mgmt-api: Reorder parameters for read_commands
...
It makes more sense to have the num_commands and num_events parameters
in the beginning so that the message length can be validated up front.
2012-02-10 12:18:12 +02:00
Johan Hedberg
8c03ffd265
mgmt: Add mgmt_rp_read_commands struct definition
2012-02-09 18:24:26 +02:00
Johan Hedberg
07c33a2dd0
mgmt: Update implementation to match latest API
2012-02-09 17:24:26 +02:00
Johan Hedberg
d02f8cb033
mgmt: Update event opcodes to latest API spec
2012-02-01 14:33:49 -08:00
Johan Hedberg
8e471115fd
mgmt: Update commands to latest API
2012-02-01 14:26:16 -08:00
Vinicius Costa Gomes
3baac3fdbe
Add messages to the mgmt interface to handle SMP key storage
...
The SMP keys are to be communicated to/from userspace using these
messages.
2012-01-19 00:12:23 +02:00
Johan Hedberg
4edfc65cc0
mgmt: Update mgmt_ev_device_found to match latest API
2012-01-18 13:27:44 +02:00
Johan Hedberg
67f75bfa2d
mgmt: Remove ev_remote name and update event codes
2012-01-17 21:39:55 +02:00
Johan Hedberg
66420a5391
mgmt: Update ev_device_connected implementation to match API
2012-01-17 17:52:13 +02:00
Johan Hedberg
34b08317ae
mgmt: Update confirm_name definitions to match API specification
2011-12-19 14:14:57 +02:00
Johan Hedberg
0c6f4b692c
Add initial hooks to pass confirm_name info around
2011-12-19 13:25:54 +02:00
Hemant Gupta
e8c8ec2cac
mgmt: Add support for Passkey handling
...
This patch adds support for handling Passkey Requests and response over
management interface.
2011-12-15 16:20:55 +02:00
Johan Hedberg
e7f5c5175b
mgmt: Move Set Local Name to it's logical position in the API
2011-12-14 23:03:35 +02:00
Johan Hedberg
f60a1b5fee
mgmt: Update implementation to match latest API spec
2011-12-14 14:21:46 +02:00
Johan Hedberg
89ae2d2c0f
mgmt: Update read_info & related messages to match the API spec
2011-12-14 14:21:36 +02:00
Johan Hedberg
0573fc7cb1
mgmt: Add address type to mgmt_pair_device
...
This is important especially in the future when dual-mode devices can be
connected to over LE. It's also important if/when we decide to move the
advertisement cache into user-space.
2011-11-11 00:04:10 +02:00
Johan Hedberg
74b43ba833
mgmt: Add status parameter to disconnect response
2011-11-10 14:17:24 +02:00
Johan Hedberg
60bb8e3586
mgmt: Add bdaddr and status to remove_keys response
2011-11-10 14:04:40 +02:00
Johan Hedberg
f89f6b68b8
Add struct for start_discovery to mgmt.h
2011-11-10 10:50:44 +02:00
Johan Hedberg
f062b128db
mgmt: Add LE public/random info to address types
2011-11-09 13:52:05 +02:00
Johan Hedberg
4c63c025a5
mgmt: Update BR/EDR link key message naming to match new API
2011-11-07 20:09:03 +02:00
Johan Hedberg
7ee8ea022d
mgmt: Add address type fields to messages that need them
2011-11-07 19:54:04 +02:00
Johan Hedberg
76bfabc7a3
mgmt: Update set_discoverable to match new API
2011-11-03 13:50:35 +02:00
Antti Julku
1dcd74358c
Implement fast connectable mode for mgmt interface
...
Management interface implementation for fast connectable mode.
2011-09-26 15:39:36 +03:00
Antti Julku
396607837a
Add support for blacklisting events
...
Add support for mgmt interface events for device blocking/unblocking.
Kernel sends a mgmt event when a device has been blocked by another
management socket or with ioctl command (e.g. by hciconfig).
Parameter update_only is added to device_block/unblock functions in
device.c to avoid code copying. When update_only is true, blocking
command is not sent to kernel, but only device status is updated and
dbus signal is sent.
2011-09-01 16:02:10 +03:00
Antti Julku
6c558d3620
Add blacklisting support for management interface
...
Management interface commands for blocking and unblocking devices.
2011-06-16 21:51:44 +03:00
Waldemar Rymarkiewicz
e6c56d4e71
Add secure param to mgmt_ev_pin_code_request
...
Update mgmt interface with secure param in PIN code request event which
is part of secure PIN requirement implementation.
2011-04-28 23:00:20 +03:00
Johan Hedberg
3caf142f55
Add support for store_hint in mgmt_ev_new_key
2011-04-28 23:00:15 +03:00