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
e3f677b332
doc: Add missing info of peripheral setting to mgmt API
2012-10-22 18:53:37 +03:00
Johan Hedberg
1b0a4291d1
mgmt: Add support for LE peripheral mode
2012-10-22 17:36:51 +03:00
Szymon Janc
a2d706daa4
mgmt-api: Add missing error code descriptions
2012-10-01 11:17:13 +03:00
Johan Hedberg
a70760e810
mgmt-api: Add event for passkey notification
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
Syam Sidhardhan
3e14a20905
doc: Fix typo
2012-04-13 12:45:10 +03:00
Johan Hedberg
36711fb6aa
mgmt-api: Add error code descriptions
2012-02-29 19:16:04 -06:00
Luiz Augusto von Dentz
16ac728063
mgmt-api: Format fixes
2012-02-26 19:03:03 +02:00
Marcel Holtmann
d74391573c
mgmt-api: Add flags field to Device Connected event
2012-02-23 20:52:12 +01:00
Marcel Holtmann
241181f5eb
mgmt-api: Fix parameter list of user confirmation request
2012-02-22 23:15:15 +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
169dde65ce
mgmt-api: Small clarification
2012-02-21 14:25:59 +01:00
Marcel Holtmann
8dd0820642
mgmt-api: Update comments for setting handling and errors
2012-02-21 14:09:14 +01:00
Marcel Holtmann
4ebdcf49dc
mgmt-api: Add comments for valid commands when power off
2012-02-21 13:26:52 +01:00
Marcel Holtmann
40554f5a9d
mgmt-api: Add command for setting Device ID details
2012-02-21 00:05:56 +01:00
Marcel Holtmann
0544ed94db
mgmt-api: Add address type to stop discovery command and the event
2012-02-20 21:19:25 +01:00
Marcel Holtmann
664df5e25e
mgmt-api: The command status is never a positive response
2012-02-20 21:15:06 +01:00
Marcel Holtmann
2d5cb7d730
mgmt-api: Fix a small typo
2012-02-20 21:10:09 +01:00
Marcel Holtmann
81c81ac4e7
mgmt-api: Fix a few entries for command status vs command complete
2012-02-20 21:07:30 +01:00
Marcel Holtmann
be2f0f4024
mgmt-api: Add comments if command status or command complete is returned
2012-02-17 15:31:48 +01:00
Johan Hedberg
aea82119df
mgmt-api: Reorder cmd_status parameters
...
It makes more sense for the opcode to come before the status (since it
is part of the context).
2012-02-17 16:02:40 +02:00
Johan Hedberg
a52fa7b47b
mgmt-api: Fix symmetry of (Un)Block command/reply parameters
2012-02-17 16:02:40 +02:00
Johan Hedberg
c1a9aa4aa2
mgmt-api: Fix symmetry of OOB command/reply parameters
2012-02-17 16:02:40 +02:00
Johan Hedberg
e1a5e4c819
mgmt-api: Clarify unpair_device disconnect parameter
2012-02-17 16:02:40 +02:00
Johan Hedberg
7f8ca9ed96
mgmt-api: Fix PIN Code command & reponse parameters
2012-02-17 16:02:40 +02:00
Johan Hedberg
c3e200de65
mgmt-api: Add status parameter to command complete event
...
Since this is needed by almost all command responses it makes more sense
to just have it part of the command complete event.
2012-02-17 16:02:40 +02:00
Johan Hedberg
497a40796b
mgmt-api: Add address_type to start_discovery response
2012-02-17 16:02:40 +02:00
Johan Hedberg
247e54820a
mgmt-api: Remove bogus old_key_type parameter
2012-02-17 16:02:40 +02:00
Johan Hedberg
7461fb98e3
mgmt-api: Add Address_Type to all messages with an Address
...
Strictly speaking the address type isn't needed in all messages (e.g.
those specific to BR/EDR or pre-2.1) but for consistency it's cleaner to
have it everywhere. The only exception is the read_controller_info reply
where it really doesn't make sense to have it.
2012-02-17 13:42:46 +02:00
Johan Hedberg
d578383ada
mgmt-api: Fix typo with wrong capitalization
2012-02-17 13:42:46 +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
Marcel Holtmann
a6ef9f74f2
mgmt-api: Add proper management supported commands command
2012-02-09 17:18:12 +01:00
Johan Hedberg
0e7476039b
mgmt-api: Remove bogus Key_Type field from LTK messages
2012-02-06 22:54:14 +02:00
Johan Hedberg
69a3f061f2
mgmt-api: Update to latest plans
...
- "Remove Keys" renamed to "Unpair Device" and moved to a more
appropriate location (after the other pairing commands)
- "Device Unpaired" event added
- Address_Type parameters added the relevant commands and events
- Address_Type vs Key_Type distinction made clearer
- Bogus '0' removed from opcodes
2012-02-06 12:09:55 +02:00
Johan Hedberg
342301d031
mgmt-api: Move New Long Term Key Event to a more logical place
2012-02-01 14:31:59 -08:00
Johan Hedberg
b57bd8757e
mgmt-api: Remove unused/implemented commands
2012-02-01 23:15:26 +02:00
Johan Hedberg
5795b7fe40
mgmt-api: Move Load Long Term Keys Command to a more logical place
2012-02-01 23:14:28 +02:00
Johan Hedberg
5401c7c016
mgmt-api: Add missing cancel pairing command
2012-02-01 23:12:22 +02:00
Szymon Janc
10c628830e
mgmt-api: Add information about endianness
...
Management interface use little-endian byte order and this should be
clearly stated in documentation.
2012-01-19 12:40:48 +02:00
Vinicius Costa Gomes
5d0881295e
mgmt-api: Update the commands for exchanging LTK's
...
For restoring the device from storage we need to have the Address type
of the device, the LTK is a good place for this.
In some cases, we may be notified of keys that were generated in the
Host, that key key would be used when the Host is the slave role in
a later connection, we should be able to differentiate this type of
key because it doesn't mean that we have a bonding with the Remote
Device.
2012-01-18 13:55:49 +02:00
Johan Hedberg
e9109fc7ae
mgmt-api: Use 2 octets instead of 1 for EIR data length
...
This allows for future extensibility.
2012-01-16 11:51:09 +02:00
Johan Hedberg
ea3c625302
mgmt-api: Use EIR encoding wherever possible
...
We can encode the remotee name and class to the EIR data format both in
device_found and device_connected events.
2012-01-15 23:37:40 +02:00
Johan Hedberg
2eef3ae297
mgmt-api: Update to latest plans
...
- Remove the remote_name event and add the name to the device_connected
event (since we always refresh the name at that point anyway).
- Add Class of Device to device_connected since that's the only point
where we get it when a previously unknown device connects to us for the
first time.
- Add a Flags field to device_found to accommodate for legacy pairing
information (which we get from the remote host features HCI event) and
merge the only other existing boolean parameter (confirm_name) into this
Flags field.
2012-01-13 13:59:49 +02:00
Johan Hedberg
78da89d0c8
mgmt-api: Update Confirm Name return parameters
2011-12-19 14:14:30 +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
538346af2d
mgmt-api: Update to match latest plans
2011-12-14 14:21:21 +02:00