Commit Graph

410 Commits

Author SHA1 Message Date
Marcel Holtmann
fafe80c699 lib: Update company identifiers 2014-03-11 09:32:13 -07:00
Marcel Holtmann
3d7959495e lib: Add management event structure for signature resolving key 2014-03-09 12:10:41 -07:00
Marcel Holtmann
133c7fb17c core: Rename IRK key variable from irk to key 2014-03-09 12:01:21 -07:00
Johan Hedberg
061692d55f core: Store EDiv and Rand as logical integers
This patch acknowledges the endianess of ediv and rand as they are
received from the kernel and stores them as logical decimal integers in
storage. This involves converting to little endian before passing to the
kernel and from little endian after receiving from the kernel.
2014-03-06 11:43:02 +02:00
Marcel Holtmann
530a89e573 lib: Update company identifiers 2014-03-02 09:58:24 -08:00
Andre Guedes
5b0a7d9c0d gatt: Add helper for creating GATT services
This patch adds the btd_gatt_add_service() helper which adds a
GATT Service declaration to the local attribute database.
2014-02-24 10:18:47 +02:00
Claudio Takahasi
67b976dc33 lib: Move GATT UUID to uuid.h
This patch moves GATT UUIDs definitions to a common header. uuid.h contains
helper functions to manipulate Bluetooth UUIDs and some common BR/EDR services
UUIDs.
2014-02-24 10:18:45 +02:00
Johan Hedberg
85edf04e32 lib/mgmt: Add definition for Set Privacy command 2014-02-22 16:36:37 +02:00
Marcel Holtmann
188aac21b8 lib: Update company identifiers 2014-02-21 21:39:13 -08:00
Marcel Holtmann
01cf316648 lib: Add strings for new mgmt commands and events 2014-02-21 21:29:37 -08:00
Marcel Holtmann
1bde19d427 lib: Add constant for management privacy setting 2014-02-21 21:25:16 -08:00
Anderson Lizardo
cb7a38247e lib/sdp: Fix printing of multiple record fields
If there are multiple fields to print, sdp_record_print() was missing a
newline between entries.
2014-02-21 14:05:28 +02:00
Anderson Lizardo
a0d40b384a lib/sdp: Add missing Service Class ID for GAP
Also reorder last ID so the list remains ordered.
2014-02-21 14:05:28 +02:00
Johan Hedberg
e240ddf32c lib/mgmt: Add defines for New IRK event 2014-02-19 14:49:04 +02:00
Johan Hedberg
c4e7ee80c1 lib/mgmt: Add defines for mgmt_load_irks 2014-02-18 10:14:57 +02:00
Marcel Holtmann
5c69dbc1c7 lib: Add constants for handling debug keys setting 2014-02-01 23:53:19 -08:00
Marcel Holtmann
a68c2cbbf6 core: Rename authentication to key_type in mgmt_ltk_info 2014-02-01 18:01:20 -08:00
Marcel Holtmann
efd41362b6 lib: Update company identifiers 2014-01-20 17:50:57 -08:00
Szymon Janc
c8260c5acb lib: Add flag to force large MTU size used for SDP connection
This will allow to workaround Dualshock4 not respecting L2CAP MTU
size while sending SDP response. Use same L2CAP MTU value base on
RFCOMM.
2014-01-20 15:19:25 +02:00
Marcel Holtmann
16d8bce688 lib: Add management setting for secure connections 2014-01-11 01:10:36 -08:00
Marcel Holtmann
f7750cb8f6 lib: Add structure for local OOB extended data information 2014-01-09 19:50:18 -08:00
Marcel Holtmann
2ecff492e3 lib: Add constant for secure connections support command 2014-01-09 19:46:45 -08:00
Andrei Emeltchenko
091616204c lib/sdp: Fix incorrect sizeof argument
length is a pointer to int table not int* table.
2014-01-09 18:23:08 +02:00
Lukasz Rymanowski
c296b09915 sdp: Add MAP_PROFILE_ID 2014-01-02 15:48:45 +02:00
Marcel Holtmann
3592931845 lib: Update company identifiers 2013-12-27 09:33:15 -08:00
Marcel Holtmann
905935a11c lib: Add version information for Bluetooth 4.1 2013-12-10 02:00:37 -08:00
Marcel Holtmann
2b34347828 lib: Update company identifiers 2013-12-10 01:41:38 -08:00
Johan Hedberg
e02433c0b0 lib: Add BT_SNDMTU and BT_RCVMTU socket option defines 2013-12-05 11:58:45 +02:00
Johan Hedberg
7d3a607247 lib: Add missing BT_POWER socket option defines 2013-12-03 11:16:00 +02:00
Marcel Holtmann
c5b9aa2263 lib: Update company identifiers 2013-11-29 07:24:42 -08:00
Marcel Holtmann
97e344952f lib: Update company identifiers 2013-11-15 14:52:53 -08:00
Marcel Holtmann
89bbe0aed8 lib: Add definitions for Set Scan Parameters command 2013-10-11 14:48:58 -07:00
Marcel Holtmann
855f18f7b5 lib: Update company identifiers 2013-10-10 16:10:52 -07:00
Luiz Augusto von Dentz
75e0c32af6 lib/sdp: Replace VIDEO_CONF_SVCLASS_ID with AV_REMOTE_CONTROLLER_SVCLASS_ID
VCP apparently was never adopted so 0x110f was latter reused by AVRCP 1.3
controller as per current assigned numbers page:

https://www.bluetooth.org/en-us/specification/assigned-numbers/service-discovery
2013-10-09 17:37:46 +02:00
Marcel Holtmann
3cf65b88c5 lib: Add missing structure for accept physical link command 2013-10-08 06:08:56 -07:00
Marcel Holtmann
f095b87f55 lib: Fix a few whitespace damages 2013-10-08 04:12:25 -07:00
Marcel Holtmann
757ad2e6f7 lib: Update company identifiers 2013-10-07 23:45:52 -07:00
Marcel Holtmann
4feaf68bf2 lib: Add special functions for PAL version mapping 2013-10-07 15:32:40 -07:00
Marcel Holtmann
ea0fa83ebf lib: Add define for mgmt_set_static_address 2013-10-02 06:15:52 -07:00
Anderson Lizardo
fd8d0713e8 lib: Fix invalid "whitespace" on company identifier string
Somehow, the invalid multibyte sequence "\xC2\xA0" (which is displayed
as a whitespace) was inserted on a company identifier string. Fix this
to avoid a bogus diff when running tools/update_compids.sh.
2013-10-02 14:09:01 +03:00
Johan Hedberg
7c6c6e179a lib: Add define for mgmt_set_bredr 2013-10-02 12:16:57 +03:00
Szymon Janc
cf8a492dfd lib: Fix use of uninitialized variable in sdp_set_profile_descs
Error path on default case was not breaking loop. To keep error
handling similar all error path were converted to use goto.

This fix following:
target  C: libbluetooth <= external/bluetooth/bluez/android/../lib/sdp.c
lib/sdp.c: In function 'sdp_set_profile_descs':
lib/sdp.c:487:10: warning: 'values[0]' may be used uninitialized in
    this function [-Wmaybe-uninitialized]
lib/sdp.c:2562:19: note: 'values[0]' was declared here
lib/sdp.c:545:11: warning: 'dtds[0]' may be used uninitialized in this
    function [-Wmaybe-uninitialized]
lib/sdp.c:2562:9: note: 'dtds[0]' was declared here
2013-09-30 21:16:41 +03:00
Marcel Holtmann
24d9643a10 lib: Update company identifiers 2013-09-28 00:05:50 -07:00
Johan Hedberg
8c77159a72 mgmt: Add defines for new advertising setting 2013-09-25 13:51:11 +03:00
Marcel Holtmann
3719c6d257 lib: Update company identifiers 2013-09-21 11:40:31 -07:00
Marcel Holtmann
c0b7506c42 lib: Add definition for HCI_CHANNEL_USER 2013-09-02 11:17:05 -07:00
Marcel Holtmann
a24e0a151f lib: Update company identifiers 2013-08-07 12:21:46 -07:00
Frédéric Dalleau
c594291320 lib: SCO voice setting support header
Modify headers to enable support for changing SCO voice setting.
Corresponding commit implements functionality on kernel side.
2013-08-01 12:32:11 +03:00
Anderson Lizardo
9b686b14f2 lib: Remove duplicated HSP_HS_UUID definition
There is an identical definition on the same header file (next to
HSP_AG_UUID).
2013-07-18 12:33:08 +03:00
Szymon Janc
a727297039 lib: Add range check for SDP_SVC_ATTR_RSP/SDP_SVC_SEARCH_ATTR_RSP
This is an improved version of recently reverted commit 1796f00e84.
Response size is verified against minimal allowed value only if it is
complete response. If response is partial it is allowed by spec that
it will be split in arbitrary manner.

Verified against Nokia BH217 on which original commit caused
regression.
2013-07-10 12:36:34 +03:00