Commit Graph

424 Commits

Author SHA1 Message Date
Johan Hedberg
17926da6e8 lib/mgmt: Add defines for Get Clock Information 2014-06-28 17:51:35 +03:00
Luiz Augusto von Dentz
0df04a3f3a lib/uuid: Add define for Scan Parameter UUID 2014-06-27 18:09:43 +02:00
Marcel Holtmann
0d8eab2a17 lib: Update company identifiers 2014-06-18 13:52:43 +02:00
Szymon Janc
0b01caab7b lib/sdp: Add attributes and service class for MPS 2014-05-26 11:07:28 +02:00
Andrzej Kaczmarek
62e9043c16 lib: Add definitions for Get Connection Information command 2014-05-19 08:21:35 +03:00
Marcel Holtmann
b4755d7f8c lib: Update company identifiers 2014-05-16 15:56:35 -07:00
Lukasz Rymanowski
d499eb81ed lib: Add more GATT characteristics UUIDs
These characteristics UUIDs will be used in following patch.
2014-04-30 17:30:01 +02:00
Marcel Holtmann
1fa1738427 lib: Update company identifiers 2014-04-12 10:31:10 -07:00
Marcel Holtmann
9c02efcf84 lib: Update company identifiers 2014-03-25 20:20:06 -07:00
Claudio Takahasi
0086e34fc0 lib: Fix UUID 16/32-bits to 128-bit conversion
16 and 32-bit UUIDs are always created using host order. However,
no matter the system type, 128-bit UUID must use big-endian byte
order format (similar to human-readble format).
2014-03-24 22:06:13 +02:00
Claudio Takahasi
05a9545a82 lib: Remove hton128() from bt_uuid_to_string()
bt_uuid_to_string() helper should get the raw UUID value. Caller should
convert the 128-bit UUID before call this helper (if applicable).
bt_uuid_t stores 128-bit UUID using big-endian format (human-readable
format), swapping byte order is not necessary.
2014-03-24 22:05:08 +02:00
Claudio Takahasi
3c3d0a8a32 lib: Remove ntoh128() from bt_string_to_uuid128()
No matter the system, 128-bit UUIDs should not be converted to any byte
order when creating the UUID. Conversion to big/little endian should be
performed when transfering the data over-the-air only. bt_uuid_t should
handle 128-bit UUID on big-endian format (human-readable format).
2014-03-24 22:04:37 +02:00
Luiz Augusto von Dentz
a32e8d927f lib/sdp: Add MapSupportedFeatures attribute
This adds MapSupportedFeatures which is used for MAP v1.2 and later.
2014-03-21 16:13:44 +02:00
Luiz Augusto von Dentz
2f5f3eb48f lib/sdp: Add PbapSupportedFeatures attribute
This adds PbapSupportedFeatures which is used for PBAP v1.2 and later.
2014-03-21 16:13:44 +02:00
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