Commit Graph

114 Commits

Author SHA1 Message Date
Marcel Holtmann
3d7959495e lib: Add management event structure for signature resolving key 2014-03-09 12:10:41 -07:00
Marcel Holtmann
133c7fb17c core: Rename IRK key variable from irk to key 2014-03-09 12:01:21 -07:00
Johan Hedberg
061692d55f core: Store EDiv and Rand as logical integers
This patch acknowledges the endianess of ediv and rand as they are
received from the kernel and stores them as logical decimal integers in
storage. This involves converting to little endian before passing to the
kernel and from little endian after receiving from the kernel.
2014-03-06 11:43:02 +02:00
Johan Hedberg
85edf04e32 lib/mgmt: Add definition for Set Privacy command 2014-02-22 16:36:37 +02:00
Marcel Holtmann
01cf316648 lib: Add strings for new mgmt commands and events 2014-02-21 21:29:37 -08:00
Marcel Holtmann
1bde19d427 lib: Add constant for management privacy setting 2014-02-21 21:25:16 -08:00
Johan Hedberg
e240ddf32c lib/mgmt: Add defines for New IRK event 2014-02-19 14:49:04 +02:00
Johan Hedberg
c4e7ee80c1 lib/mgmt: Add defines for mgmt_load_irks 2014-02-18 10:14:57 +02:00
Marcel Holtmann
5c69dbc1c7 lib: Add constants for handling debug keys setting 2014-02-01 23:53:19 -08:00
Marcel Holtmann
a68c2cbbf6 core: Rename authentication to key_type in mgmt_ltk_info 2014-02-01 18:01:20 -08:00
Marcel Holtmann
16d8bce688 lib: Add management setting for secure connections 2014-01-11 01:10:36 -08:00
Marcel Holtmann
f7750cb8f6 lib: Add structure for local OOB extended data information 2014-01-09 19:50:18 -08:00
Marcel Holtmann
2ecff492e3 lib: Add constant for secure connections support command 2014-01-09 19:46:45 -08:00
Marcel Holtmann
89bbe0aed8 lib: Add definitions for Set Scan Parameters command 2013-10-11 14:48:58 -07:00
Marcel Holtmann
ea0fa83ebf lib: Add define for mgmt_set_static_address 2013-10-02 06:15:52 -07:00
Johan Hedberg
7c6c6e179a lib: Add define for mgmt_set_bredr 2013-10-02 12:16:57 +03:00
Johan Hedberg
8c77159a72 mgmt: Add defines for new advertising setting 2013-09-25 13:51:11 +03:00
Johan Hedberg
4f8952b201 mgmt: Add support for new MGMT_STATUS_RFKILLED 2013-05-29 09:49:21 +03:00
Marcel Holtmann
6861b49c18 lib: Remove all management settings helpers since they are unused now 2013-01-09 19:44:00 -08:00
Marcel Holtmann
454e1deea8 lib: Remove current unused management settings helpers 2013-01-09 19:13:07 -08:00
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