Commit Graph

198 Commits

Author SHA1 Message Date
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
Lucas De Marchi
363afd0b1d Update Control documentation
Move methods and signal to an experimental interface named MediaPlayer
as currently implemented.
2011-08-12 11:05:16 +03:00
Frédéric Danis
3163523575 audio: add profile version to HandsfreeAgent
Some phones with HFP Audio Gateway version previous to 1.5 (e.g.
Samsung SGH-D600 returning 0x0101 as profile version) do not accept an
AT+BRSF with latest features. The Handsfree agent should adapt its
AT+BRSF command depending on the remote version, so add version
information as parameter of NewConnection method.

Here is traces of buggy exchange:

< ACL data: handle 12 flags 0x02 dlen 20
    L2CAP(d): cid 0x0046 len 16 [psm 3]
      RFCOMM(d): UIH: cr 1 dlci 10 pf 0 ilen 12 fcs 0xb0
      0000: 41 54 2b 42 52 53 46 3d  31 31 38 0d              AT+BRSF=118.
> ACL data: handle 12 flags 0x02 dlen 18
    L2CAP(d): cid 0x0041 len 14 [psm 3]
      RFCOMM(d): UIH: cr 0 dlci 10 pf 1 ilen 9 fcs 0x76 credits 1
      0000: 0d 0a 45 52 52 4f 52 0d  0a                       ..ERROR..
< ACL data: handle 12 flags 0x02 dlen 8
    L2CAP(d): cid 0x0046 len 4 [psm 3]
      RFCOMM(s): DISC: cr 1 dlci 10 pf 1 ilen 0 fcs 0x6d

and after the fix (and corresponding fix in oFono):

< ACL data: handle 12 flags 0x02 dlen 19
    L2CAP(d): cid 0x0048 len 15 [psm 3]
      RFCOMM(d): UIH: cr 1 dlci 10 pf 0 ilen 11 fcs 0xb0
      0000: 41 54 2b 42 52 53 46 3d  32 32 0d                 AT+BRSF=22.
> ACL data: handle 12 flags 0x02 dlen 28
    L2CAP(d): cid 0x0041 len 24 [psm 3]
      RFCOMM(d): UIH: cr 0 dlci 10 pf 1 ilen 19 fcs 0x76 credits 1
      0000: 0d 0a 2b 42 52 53 46 3a  20 33 33 0d 0a 0d 0a 4f  ..+BRSF: 33....O
      0010: 4b 0d 0a                                          K..
< ACL data: handle 12 flags 0x02 dlen 18
    L2CAP(d): cid 0x0048 len 14 [psm 3]
      RFCOMM(d): UIH: cr 1 dlci 10 pf 0 ilen 10 fcs 0xb0
      0000: 41 54 2b 43 49 4e 44 3d  3f 0d                    AT+CIND=?.
2011-08-04 14:02:39 +03:00
Claudio Takahasi
b3ccd8541f Proximity API simplification
Delegates the Immediate Alert Level control to the caller(client).
Immediate Alert Service is shared between Path Loss and Find Me.

Three signal level states are defined: "good", "regular" and "weak".
Meaning that at least two thresholds are necessary to implement a
proper state transition. "unknown" will be returned if the link is not
active. For Path Loss, the logic to trigger the writting operation of
the Immediate Alert Level characteristic needs to be implemented in
the client. SignalLevel can be only one of the inputs to define when
and which value to write in the characteristic.
2011-08-02 16:48:49 +03:00
Claudio Takahasi
82d4778b26 Fix typo in mgmt-api 2011-07-26 13:01:46 +03:00
Claudio Takahasi
9897721d7f Add Proximity API
Covers the Proximity Monitor for Link Loss, Tx Power and Immediate
Alert services. This first proposal considers that the connections
will be managed by the bluetoothd core based on the registered
connection callbacks.

Only one instance of Immediate Alert service is allowed, "Alert Level"
characteristic of this service is used by Find Me and Path Loss. Note
that "Alert Level" for Path Loss is a LOCAL property written in the
Immediate Alert service when the threshold is reached. For Find Me
the user/application needs to actively enable the alert in the Immediate
Alert service. Link Loss has it's own instance of Alert Level
characteristic.
2011-07-09 18:31:31 +03:00
Santiago Carot-Nemesio
7aa662d813 Health Thermometer Profile API 2011-07-09 18:29:46 +03:00
Lucas De Marchi
fcb426c76a Fix common misspelled words
Accounting of misspelled words, as detected by codespell:

acording      2
ancilliary    1
appropiate    1
atribute      1
cant          1
comming       2
gracefull     1
lenght        1
mispelled     1
occured       1
occurences    1
ocurred       3
prefered      1
presense      1
reponse       1
seperate      1
succesful     1
successully   1
sucessfull    1
sucessfully   1
2011-07-03 14:36:14 +03:00
Luiz Augusto von Dentz
9c6e404f93 Mark Headset.Play method deprecated
SCO socket should be connected using either unix socket ipc or Media API
2011-06-30 11:11:02 +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
Santiago Carot-Nemesio
8ab32a35e7 Fix typo error in the attribute API documentation 2011-06-14 10:42:37 +03:00
Marcel Holtmann
9d67b7edf8 Revert "Document new hex-encoded pins feature" 2011-05-30 22:37:34 -07:00
Bastien Nocera
51ab3c975f doc: Add mention of the 6-digit padding problem
Passkeys used for Secure Simple pairing should always appear
zero-padded in the end-user display, as per specification
(5.4 ASSOCIATION MODELS in BLUETOOTH SPECIFICATION Version 2.1 + EDR
 [vol 1])
2011-05-25 13:32:11 -07:00
David Herrmann
bbf21e61fb Document new "hex-encoded pins" feature 2011-05-15 02:14:52 +03:00
Waldemar Rymarkiewicz
c33d02148b Update params description of PIN Code Request 2011-05-15 02:12:40 +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
6f7add5435 mgmt: Add support for discovering event 2011-03-31 14:36:43 +03:00
Johan Hedberg
421efd407e mgmt: Add support for start_discovery & stop_discovery 2011-03-31 14:26:20 +03:00
Johan Hedberg
c602de90fb Add device_found and remote_name events to mgmt-api.txt 2011-03-30 13:21:25 +03:00
Johan Hedberg
9d5936a515 Clean up Out Of Band D-Bus interface naming 2011-03-28 19:16:19 +03:00
Dmitriy Paliy
8c14dfca48 Update Media API documentation
Possible error responses are added to RegisterEndpoint.
2011-03-28 17:25:42 +03:00
Dmitriy Paliy
468e11fe31 Update Adapter API documentation
RequestSession and ReleaseSession description is updated in adapter
API.
2011-03-28 17:25:39 +03:00
Szymon Janc
0d90e21062 Add oob-api.txt with documentation about OOB D-Bus methods 2011-03-27 22:59:54 +03:00
Szymon Janc
9fb2f63e0b Update mgmt-api.txt with OOB commands 2011-03-27 22:58:20 +03:00
Johan Hedberg
3011a312a7 mgmt: Implement adapter name control
This patch adds a new set_local_name command as well as a
local_name_changed event to the management interface. Instead of 248
bytes (like in the HCI spec) 249 bytes are always reserved for the name
in the messages so that there's a guarantee of it being nul-terminated
(this is not guaranteed on the HCI level).
2011-03-15 19:32:09 +02:00
Johan Hedberg
1c16543345 mgmt: Add adapter name to read_info response 2011-03-15 19:30:11 +02:00
Vinicius Costa Gomes
9dd2fb619e Add DiscoverCharacteristics method to the Attribute API 2011-03-15 10:53:07 +02:00
Waldemar Rymarkiewicz
2534fbd05a Add Sim Access Profile API
New API for Sim Access Profile.
2011-03-10 16:03:40 +02:00
Szymon Janc
2a6d4b3d17 Update mgmt-api.txt with controller index moved to mgmt packet header 2011-02-25 12:52:43 -03:00
Johan Hedberg
a20bb21f47 mgmt: Add support for auth_failed event and bonding_complete hooks
This patch adds support for the mgmt_auth_failed event together with the
related bonding_complete failure hooks to the core daemon.
2011-02-18 21:54:47 +02:00
Johan Hedberg
50102905d9 mgmt: Add User Confirmation request support 2011-02-16 22:47:25 +02:00
Elvis Pfützenreuter
bdc943dd18 Fix small typo 2011-02-09 13:57:58 -08:00
Johan Hedberg
1c93c6fa88 mgmt: Add mgmt_pair_device command
This patch adds a new management command for triggering a dedicated
bonding procedure to a remote device.
2011-02-08 23:15:23 +02:00
Johan Hedberg
9634f5c410 mgmt: Add set_io_capability command 2011-01-25 13:45:24 +02:00
Johan Hedberg
8b77225e7b mgmt: Add PIN Code request handling 2011-01-24 11:51:47 +02:00
Johan Hedberg
1e862b561c mgmt: add support for get_connections command 2011-01-21 13:55:44 +02:00
Johan Hedberg
d6fda82e31 mgmt: add support for connect failed event 2011-01-21 10:57:41 +02:00