Commit Graph

234 Commits

Author SHA1 Message Date
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
Claudio Takahasi
f78ed180ee proximity-api: Add Link Loss Alert for Proximity Reporter API
PropertyChanged signal for LinkLossAlertLevel property is emitted when a
given remote device writes a new value for the Alert Level
characteristic in the local Link Loss service. Each platform is free to
define the actions for the detected signal.
2012-01-23 12:59:47 +02:00
Claudio Takahasi
5261599a9d proximity-api: Add Proximity Reporter API
Adds API for Immediate Alert Service(IAS) abstraction. IAS is used
by Proximity Monitors and Find Me Locators to notify the user that
reporter/target has been found. This new interface combines Proximity
Reporter and Find Me Target in the same API providing the flexibility
to implement external applications to control alerts(including per
device alerts).

This abstraction allows the development of platform specific
applications to control Immediate Alert coming from Proximity Monitor
and Find Me Locator. This provides flexibility to define different level
and tone for each device. Use case: watch finding a mobile phone.
2012-01-23 12:59:31 +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
DoHyun Pyun
ec632165d6 adapter-api: Fix incorrect spelling
This patch fixes incorrect spelling.
2011-12-27 12:06:59 +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
Johan Hedberg
6910bb809b mgmt-api: Add missing changes to the mgmt messages
Some changes were missing from the previous patch. This moves the fast
connectable command to the right place, adds a Class_Of_Device parameter
to Set UUID Caching (renamed from Set Service Cache) and adds a Class Of
Device Changed event.
2011-12-09 13:11:58 +02:00
Johan Hedberg
0d552f113e mgmt-api: Update to current plans
This patch updates the mgmt API to match the current plans. This is
hopefully the last major change and because of that the command and
event codes are also reshuffled to match some kind of a logical
ordering.
2011-12-08 16:10:10 +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
f062b128db mgmt: Add LE public/random info to address types 2011-11-09 13:52:05 +02:00
Johan Hedberg
4cb40f8111 mgmt-api: Update get_connections and connect_failed with address type info 2011-11-07 13:22:04 +02:00
Johan Hedberg
9aeb6205fe mgmt-api: Only 4 bytes are needed for the controller settings 2011-11-07 13:45:31 +02:00
Lucas De Marchi
3adcd9ed77 AVRCP: implement TRACK-REACHED-END event 2011-11-04 15:38:33 +02:00
Johan Hedberg
2f9b083e9e mgmt-api: Fix typos and consistency issues 2011-11-04 10:14:23 +02:00
Luiz Augusto von Dentz
4ed6c1c2a4 Add MediaPlayer.Release method
This is similar to MediaEndpoint.Release which is useful to notify the
player that it is no longer registered/active.
2011-10-28 15:15:48 +03:00
Johan Hedberg
7bcf9638e8 Make whitespace usage consistent in mgmt-api.txt 2011-10-24 22:48:14 +02:00
Johan Hedberg
ba69cd1fc8 mgmt: Rename Name Info command to match corresponding flag 2011-10-24 22:44:50 +02:00
Johan Hedberg
dfd9c98a9f mgmt: Allow specifying discovery type for Start Discovery 2011-10-24 18:09:01 +02:00
Vinicius Costa Gomes
82b17d0d00 Add new command and event for LTK storage support
This documents the new command and event that are to be added to
the Management API to add support for persistent pairing of LE
devices.
2011-10-24 16:01:55 +02:00
Johan Hedberg
8459696920 Add device type to found and connected mgmt events 2011-10-24 14:25:58 +02:00
Johan Hedberg
0eeebf4747 Add User Passkey commands and events to mgmt 2011-10-24 14:25:34 +02:00
Johan Hedberg
a6c19f4ead Rename mgmt key commands and events 2011-10-24 14:24:53 +02:00
Johan Hedberg
672fbbe419 Add timeout to Set Discoverable mgmt command 2011-10-24 14:14:53 +02:00
Johan Hedberg
890eb14f94 Update controller info command with current plan 2011-10-24 14:14:16 +02:00
Johan Hedberg
10cbe2aef3 Fix whitespace for fast connectable mgmt command doc 2011-10-24 12:56:55 +02:00
Johan Hedberg
ed4de024ef Add (legacy) name resolution handling to mgmt API 2011-10-24 12:29:41 +02:00
Lucas De Marchi
5a4402f8f6 Fix MediaPlayer documentation 2011-10-20 10:35:27 +03:00
Lucas De Marchi
cd25bc2b76 Don't overwrite metadata when changing track
If we use the same hash table to set the new metadata, we have 2
undesired behaviors:

1) New track may contain fields from previous track if it didn't set all
the fields
2) If we fail on parsing the signal, we will still change some of the
fields
2011-10-13 16:08:29 +03:00
Lucas De Marchi
aac1ff80c9 Fix typo on doc 2011-10-13 10:38:39 +03:00
Luiz Augusto von Dentz
32713348da Update control documentation to reflect the implementation
Many of the methods and signal don't make much sense since we now have
a dedicated interfaces that are Media and MediaPlayer.
2011-10-12 10:55:05 +03:00
Luiz Augusto von Dentz
22ff222353 Remove MediaPlayer interface from control-api.txt 2011-10-06 11:13:38 +03:00
Luiz Augusto von Dentz
14ae307458 AVRCP: move MediaPlayer to adapter object
This move the MediaPlayer registration to adapter object on Media
interface so we can track players properly.
2011-10-06 11:13:28 +03:00
Luiz Augusto von Dentz
d1d4f1b2a6 Add Vendor, Product and Version properties to org.bluez.Device
This identifiers can be used by applications to implements quirks which
seems to be very common in some profiles such as syncml and since this
information is already stored permanently we can quickly retrieve it
without having to connect or parse the records again.
2011-10-01 09:01:52 +03: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
a09d1717e4 Add device blocking events to mgmt API documentation 2011-09-24 19:09:29 +09:00
Gustavo F. Padovan
5ca964accf serial: add Serial.ConnectFD()
It's similar to Serial.Connect() but returns the actual RFCOMM file
descriptor instead of creating a device in /dev
2011-09-14 10:48:55 +03:00
Bruno Dilly
04a4e9a650 Add Serial Proxy and Serial Proxy Manager doc 2011-08-30 13:05:12 +03:00