Commit Graph

526 Commits

Author SHA1 Message Date
Luiz Augusto von Dentz
6437a31457 doc/obex-api: Fix wrong description of Message1.Deleted property 2013-10-16 16:36:24 +03:00
Marcel Holtmann
67c8c24824 doc: Mention the connectable support for LE controllers 2013-10-15 15:12:13 -07:00
Marcel Holtmann
ff318d86e6 doc: Mention the limited discoverable mode setting 2013-10-15 15:09:17 -07:00
Marcel Holtmann
92e72b23ff doc: Fix some style issues with the command parameters 2013-10-14 01:47:01 -07:00
Marcel Holtmann
e3aa668ea9 doc: Add section about Set Scan Parameters command 2013-10-14 01:20:33 -07:00
Marcel Holtmann
31324f41b2 doc: Mention that High Speed support depends on Secure Simple Pairing 2013-10-10 04:13:07 -07:00
Marcel Holtmann
603eb343cf doc: Correct a few minor style issues 2013-10-03 23:04:07 -07:00
Marcel Holtmann
aaa9c1dbe4 doc: Add missing title text to static address command 2013-10-03 09:14:07 -07:00
Christian Fetzer
85bf0046da obexd: Update Status property in map documentation
For outgoing messages, the status field values are:
"delivery-success", "sending-success", "delivery-failure", "sending-failure"
2013-10-03 16:46:41 +03:00
Johan Hedberg
cea02ba8ec doc/mgmt-api: Add definition for Set Static Address 2013-10-02 16:22:14 +03:00
Marcel Holtmann
a29602bc3b doc: Small beautification 2013-10-02 04:01:54 -07:00
Johan Hedberg
0e33783ff4 doc/mgmt-api: Add Set BR/EDR command definition 2013-10-02 12:16:57 +03:00
Christian Fetzer
0976ae7b4d obexd: Clarify the folder property of PushMessage
The folder property of PushMessages does not accept path information,
it allows only to request the messages to be added to a subfolder of the
current folder.
2013-09-26 15:47:39 +03:00
Christian Fetzer
a21bec4d97 obexd: Clarify the folder property of ListMessages
The folder property of ListMessages does not accept path information,
it allows only to request the messages of a subfolder of the current
folder.
2013-09-26 15:47:39 +03:00
Marcel Holtmann
0978ffbd6f doc: Update description for Set Advertising command 2013-09-25 09:32:04 -07:00
Johan Hedberg
b06eba4185 doc: Fix mgmt_set_le error code list 2013-09-25 13:51:11 +03:00
Johan Hedberg
2f51cade81 doc: Add mgmt_set_advertising details to mgmt API 2013-09-25 13:51:11 +03:00
Johan Hedberg
ce632ba950 doc: Update supported A2DP version to 1.3 2013-09-18 12:03:50 -05:00
Denis Kenzior
4c055aff11 doc: Remove Profile1.Cancel() method
There does not seem to be any actual need for this method.

The current implementation calls Cancel when a pending
NewConnection() or RequestDisconnection() method call fails.
Additionally it calls Cancel() when the remote client has disconnected.
In either case BlueZ calls shutdown on the file descriptor associated
with the agent and issues a Cancel() method call.

The closing of the file descriptor will trigger a HUP on the agent side,
which will trigger normal cleanup procedures.  The received Cancel()
method call is redundant in both cases.
2013-09-11 21:48:34 +03:00
Denis Kenzior
6402393ae7 doc: Label Profile1.Release() method as no reply
The current implementation does not expect a reply, nor would it make
sense for BlueZ to wait for one from the agent.  So explicitly label
this method as noreply.
2013-09-11 21:48:31 +03:00
Christian Fetzer
4fa9cbfeaa obexd: Add property Folder to MAP message 2013-09-02 13:13:16 +03:00
Luiz Augusto von Dentz
7a17b557ab doc/media-api: Add Metadata property to MediaItem
The implementation uses a single property to expose the item metadata
not multiple for every single metadata entry.
2013-07-26 11:27:27 +03:00
Anderson Lizardo
6666f31313 cyclingspeed: Fix MultipleLocationsSupported property name usage
MultipleLocationsSupported is the correct property name, as implemented
in profiles/cyclingspeed/cyclingspeed.c.
2013-07-23 21:43:04 -07:00
Luiz Augusto von Dentz
84fd2a75e0 doc/media-api: Update documentation of MediaItem1
This adds documentation of property Player
2013-07-17 14:31:49 +03:00
Luiz Augusto von Dentz
7c746fcd27 doc/media-api: Update documentation of MediaFolder1
This adds missing access types to properties NumberOfItems and Name
2013-07-17 14:31:49 +03:00
Luiz Augusto von Dentz
8ec17c314f doc/media-api: Update documentation of MediaPlayer1
This adds documentation of properties Type and Subtype
2013-07-16 14:53:38 +03:00
Luiz Augusto von Dentz
b5afba2181 obexd: Fix using the same prefix for client and server sessions
This avoids using the same path for different sessions which fail since
it cannot register a second time causing an unexpected error.
2013-05-10 14:56:25 +03:00
Alex Deymo
51906a8b97 doc: Document missing errors returned by the Device1 API.
There were two groups of missing error messages in the documentation:
* For org.bluez.Device1.DisconnectProfile:
  This method could certainly call btd_error_not_supported or
  btd_error_failed returning those errors.
* For org.bluez.Device1.Pair:
  The pairing process could certainly call new_authentication_return
  which can return (and actualy does) five other different errors.
2013-05-10 14:22:59 +03:00
Mikel Astiz
2d0982624c doc: Fix optional properties not marked as such
Commit 826023de56 made some of the
device's properties optional but the documentation was not updated
accordingly. More specifically, the properties 'Name' and 'UUIDs' won't
be present if the information is not available.
2013-04-25 10:37:36 +03:00
Alex Deymo
be37902b7d input: Documentation for new Input1 interface
Adds documentation for a new Input1 interface explaining a new
"ReconnectMode" property that exposes the Connectability mode of
a HID device.
2013-04-23 10:37:15 +03:00
Luiz Augusto von Dentz
3dcb10d74c media-api: Fix mentioning MediaLibrary instead of MediaFolder 2013-03-05 12:39:17 +02:00
Luiz Augusto von Dentz
2b6c519d68 player: Add Playlist property
Playlist property refer to the folder where the list of items being
played can be found.
2013-03-05 11:23:42 +02:00
Luiz Augusto von Dentz
090c5c7fb9 media: Rework MediaItem Type property
Type now can assume the value "folder" so it is no longer necessary to
have Folder property, FolderType in introduced to provide the folder type
that before was on the Type itself.

In addition to this add proper documentation what properties are optional
and under what condition they are available.
2013-03-04 17:41:34 +02:00
Johan Hedberg
5008dc2ba9 doc: Add short explanation for how to create mgmt sockets 2013-02-18 10:37:53 +02:00
Luiz Augusto von Dentz
6b3eb942cd media-api: Fix referencing to MediaLibrary instead of MediaFolder
MediaLibrary was replaced by MediaFolder so doesn't exist anymore.
2013-02-15 16:35:03 +02:00
Szymon Janc
18fed70a6c doc: Add missing device RSSI property
RSSI property was not documented in device API.
2013-02-14 09:16:48 +02:00
Szymon Janc
47fc3389d1 doc: Remove CancelConnect function from device API
This method is not implemented and Disconnect can be used instead.
2013-02-14 09:16:48 +02:00
Szymon Janc
8eafe2e8a9 doc: Fix device disconnect description
Document what Disconnect() function actually does.
2013-02-14 09:16:48 +02:00
Szymon Janc
35d4c4fb44 doc: Clarify device connect description
Describe behaviour when some profiles are already connected. Clarify
that it returns success if at least one profile was connected.
2013-02-14 09:16:47 +02:00
Christian Fetzer
e859c03231 obexd: Add PushMessage
Push message has been implemented similar to send file (OPP),
the message to send (in bMessage format) is read from a file.
2013-02-07 13:49:00 +02:00
Luiz Augusto von Dentz
56f02613f9 media-api: Add org.bluez.MediaFolder1
This interface adds support for browsing and searching in the player's
storage using AVRCP 1.4/1.5.

Some remarks about the design:

  - Exposing UIDCounter and UIDs was considered, but the spec seems to have
    missed to define the player's id persistency. There are also the fact that
    UIDCounter alone does not guarantee persistency across sessions and do not
    provide what exact items have changed, so in the end exposing these
    details will bring almost no value.
  - Indexing or caching the whole media library is not recommended, Bluetooth
    is too slow for that and even vendors such as Apple do not recommend doing
    it, so the only items keep in cache are the current listed ones.
  - Addressed vs Browsed player is done implicitly when accessed, this was done
    to simplify the API and avoid confusions between applications and players.
2013-02-01 15:31:15 -06:00
Christian Fetzer
41d1d89cf5 obexd: Add parameter AttachmentSize to GetMessageListing response
The parameter AttachmentSize indicates if the message contains
any attachment and their overall size (in bytes).
2013-01-18 13:58:50 +02:00
Christian Fetzer
ff52e50288 obexd: Add parameter Text to GetMessageListing response
The Text flag indicates if the message contains any textual content
or has binary content only.
2013-01-18 13:58:49 +02:00
Christian Fetzer
f9998e750f obexd: Add parameter SubjectLength to map_list_messages
This parameter allows the client to request a maximum length of the
parameter "subject" in the messages listing.
2013-01-18 13:58:42 +02:00
Johan Hedberg
311e9cd36d doc: Add note about Debug_Keys parameter for Load Link Keys Command 2013-01-18 12:56:15 +02:00
Mikel Astiz
b456fffd12 doc: Fix trivial typo in adapter-api 2013-01-14 16:41:49 +02:00
Luiz Augusto von Dentz
e0ee3000d1 media-api: Change RegisterPlayer to use MPRIS spec
RegisterPlayer now expect registered paths to implement
org.mpris.MediaPlayer2.player interface accourding to MPRIS spec:

http://specifications.freedesktop.org/mpris-spec/latest/
2013-01-10 16:36:02 +02:00
Luiz Augusto von Dentz
c83756dc5b player: Add Device property
Device property indicates which device object the player belongs to.
2013-01-10 16:36:00 +02:00
Luiz Augusto von Dentz
da0b4881fb player: Fix documentation to use TrackNumber in track metadata
Using Track key inside a Track property would be pointless, despite the
documentation and code where also inconsistent.
2013-01-10 16:36:00 +02:00
Luiz Augusto von Dentz
44aa975859 media-api: Add playback control methods to MediaPlayer1
This adds methods such as Play, Pause directly in MediaPlayer1, in
addition to that Track is now turn into a property to take advantage of
ObjectManager and document the interface as experimental.
2013-01-10 16:35:59 +02:00