Vinicius Costa Gomes
f2ec605b58
Add storage functions to deal with CCC
...
CCC (Client Characteristic Configuration) is used to allow configuration
whether to send updates about an characteristic value.
2011-11-14 20:45:34 +02:00
Dmitriy Paliy
a267bc2dcd
Fix enable fast connectable when connection allowed
2011-11-14 14:09:00 +02:00
Vinicius Costa Gomes
97bbdeee7f
Fix simple-player test script to make it work with dbus-python-0.84
2011-11-14 12:56:28 +02:00
Marcel Holtmann
03361ee983
build: Use target specific CFLAGS and inherit AM_CFLAGS
2011-11-13 13:48:44 +09:00
Marcel Holtmann
8f47678344
build: Create src/builtin.h via BUILT_SOURCES
2011-11-13 08:25:35 +09:00
Johan Hedberg
06d70d1c77
btmgmt: Add keys command
...
This command calls the load_link_keys mgmt method and can also be used
for load_long_term_keys in the future. Right now it always sends an
empty list but is still useful for activating the HCI_LINKKEYS flag in
the kernel so that the kernel keeps track of link keys.
2011-11-11 16:14:35 +02:00
Johan Hedberg
d6556d05a2
btmgmt: Add mgmt status to string conversion function
2011-11-11 15:54:31 +02:00
Johan Hedberg
f2091098df
btmgmt: Add more convenient address type string function
2011-11-11 00:21:46 +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
4ba0653414
btmgmt: Fix compilation issues with hci_set_bit
...
This fixes string-aliasing rules warnings/errors with certain compilers.
2011-11-10 17:26:46 +02:00
Johan Hedberg
39609deec7
btmgmt: Add support for specifying IO capability when pairing
2011-11-10 15:52:27 +02:00
Johan Hedberg
70e2eb281f
btmgmt: Add basic user confirm support
2011-11-10 15:45:15 +02:00
Johan Hedberg
56e618fa5b
btmgmt: Add basic PIN Code request support
2011-11-10 15:22:50 +02:00
Johan Hedberg
74b43ba833
mgmt: Add status parameter to disconnect response
2011-11-10 14:17:24 +02:00
Johan Hedberg
826baf65cb
btmgmt: Add basic remove command
2011-11-10 14:04:52 +02:00
Johan Hedberg
60bb8e3586
mgmt: Add bdaddr and status to remove_keys response
2011-11-10 14:04:40 +02:00
Johan Hedberg
c9c244d485
btmgmt: Add basic pair command
2011-11-10 14:03:10 +02:00
Johan Hedberg
60f1ace558
btmgmt: Make use of struct mgmt_cp_start_discovery
2011-11-10 10:52:42 +02:00
Johan Hedberg
86c731b39b
mgmtops: Update start_discovery parameters to latest spec
2011-11-10 10:51:03 +02:00
Johan Hedberg
f89f6b68b8
Add struct for start_discovery to mgmt.h
2011-11-10 10:50:44 +02:00
Johan Hedberg
e1c4b57e0d
btmgmt: Fix start_discovery parameters to match latest spec
2011-11-10 10:45:11 +02:00
Lukasz Rymanowski
caf3276437
SAP: Fix handling ongoing call in sap-dummy
...
There is no need to send sap_connect_rsp when "call" is ended. Status
Indication is enough.
Also we should provide max supported msg size in the connect response
having status: OK_ONGOING_CALL.
2011-11-10 10:27:18 +02:00
Lukasz Rymanowski
519ff20d9e
SAP: Fix handling ongoing call
...
If device is in ongoing call SAP server shall response on connect with
connection status 0x04 and once call is ended shall send reset status
indication.
With this patch, when reset status indication comes from backend and SAP
server is in connection in progreess state, SAP server changes state to
connected.
2011-11-10 10:24:46 +02:00
Lukasz Rymanowski
2d6ca05225
SAP: Fix for connect response
...
Max Message size shall be added to connect response when
ConnectionStatus is SAP_STATUS_OK_ONGOING_CALL. Let's always attach
maxmsgsize to the connect response if it is provided by the backend.
2011-11-10 10:24:29 +02:00
Lukasz Rymanowski
a5c10fdea5
SAP: Add support for handle ongoing call
...
With this patch support for handling connect request during ongoing call
is added.
2011-11-10 10:24:13 +02:00
Johan Hedberg
54e4ac2d6a
btmgmt: Fix missing : in switch statement
2011-11-09 15:55:12 +02:00
Johan Hedberg
f062b128db
mgmt: Add LE public/random info to address types
2011-11-09 13:52:05 +02:00
Johan Hedberg
4c63c025a5
mgmt: Update BR/EDR link key message naming to match new API
2011-11-07 20:09:03 +02:00
Johan Hedberg
7ee8ea022d
mgmt: Add address type fields to messages that need them
2011-11-07 19:54:04 +02:00
Johan Hedberg
d7e8d3cbf0
btmgmt: Fix missing newline in error message
2011-11-07 19:49:41 +02:00
Johan Hedberg
7f28cd5881
btmgmt: Fix use of unitialized variable
2011-11-07 21:33:03 +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
Luiz Augusto von Dentz
ca431639a8
btiotest: Add option to set socket priority
...
Setting a priority outside the range 0 to 6 requires the CAP_NET_ADMIN
capability.
2011-11-04 15:41:56 +02:00
Luiz Augusto von Dentz
992f24762f
btio: add BT_IO_OPT_PRIORITY option
...
BT_IO_OPT_PRIORITY uses SO_PRIORITY to set the priority of the socket
2011-11-04 15:41:41 +02:00
Luiz Augusto von Dentz
b96496bb09
rctest: Add option 'Y' to set socket priority
...
Priority is set using SO_PRIORITY, see man 7 socket for more details.
2011-11-04 15:40:38 +02:00
Luiz Augusto von Dentz
53bc28a20f
l2test: Add option 'Y' to set socket priority
...
Priority is set using SO_PRIORITY, see man 7 socket for more details.
2011-11-04 15:39:46 +02:00
Lucas De Marchi
3adcd9ed77
AVRCP: implement TRACK-REACHED-END event
2011-11-04 15:38:33 +02:00
Andre Guedes
d0ae998760
Add discovery cases to mgmt_cmd_complete()
2011-11-04 15:22:17 +02:00
Johan Hedberg
2f9b083e9e
mgmt-api: Fix typos and consistency issues
2011-11-04 10:14:23 +02:00
Johan Hedberg
59362cd938
btmgmt: Accept "yes" in addition to "on"
2011-11-03 14:01:20 +02:00
Johan Hedberg
76bfabc7a3
mgmt: Update set_discoverable to match new API
2011-11-03 13:50:35 +02:00
Dmitriy Paliy
35c7dd410f
Fix response on AT+CHLD=0 in maemo6
...
Currently, +CIEV indicator after AT+CHLD=0 command for one active call,
one held call, one incoming call scenario is incorrect. callheld=2
according to HFP 1.5 spec., p.70, means 'Call on hold, no active call'.
Hence, value 2 cannot be provided in +CIEV if there is an active call.
2011-11-02 12:00:09 +02:00
Santiago Carot-Nemesio
8bfd6b663e
Implement D-Bus get properties function
2011-11-02 11:55:43 +02:00
Santiago Carot-Nemesio
5c8be87889
Manage watcher's disconnections from the bus
2011-11-02 11:55:35 +02:00
Santiago Carot-Nemesio
29db85bf38
Disable final measurements indication when last watcher is removed
2011-11-02 11:55:26 +02:00
Santiago Carot-Nemesio
e09be5e270
Enable final measurement indications when first watcher is enabled
2011-11-02 11:55:15 +02:00
Santiago Carot-Nemesio
5fa4b3d10f
Implement D-Bus unregister watcher function
2011-11-02 11:55:05 +02:00
Santiago Carot-Nemesio
e4d4359c59
Implement D-Bus register watcher function
2011-11-02 11:54:56 +02:00
Santiago Carot-Nemesio
5ab1c52a14
Get valid range descriptor if it is supported
2011-11-02 11:54:46 +02:00