| 41ca7b23 |
core/gatt-database: Add support for BR/EDR
This adds support for BR/EDR in addition to LE. |
Luiz Augusto von Dentz |
10 years ago |
1 file, +126, -0 |
| 66682caf |
TODO: Update GATT items.
Updated the GATT/ATT related TODO items:
- Removed item about disconnect handling as this is already done via
bt_att.
- Long-term client caching is currently done in memory. Updated this
to mean peristent.
- GAttrib has already been turned into a shim around bt_att. Updated
the related item to involve updating profiles only.
- GATT client D-Bus API has been implemented.
- Added item for missing portion of Service Changed support.
- Added item for GATT related refactors discussed over IRC.
- Added item for supporting the Includes property in GATT client. |
Arman Uguray |
10 years ago |
1 file, +30, -24 |
| d0d94ce3 |
shared/gatt: Don't incorrectly terminate discovery
bt_gatt_client terminates discovery if no primary services are found
within the given range. This behavior is incorrect, as the given
handle range may contain secondary services and those should be
discovered regardless. |
Arman Uguray |
10 years ago |
1 file, +2, -1 |
| 148cfcea |
core: adapter: Send UUIDs changed for GATT services
btd_adapter now sends a PropertiesChanged signal for the "UUIDs"
property when its associated gatt_db is modified. |
Arman Uguray |
10 years ago |
1 file, +22, -0 |
| c7ba11f2 |
core: gatt: Send not/ind to devices
This patch adds code that sends out characteristic value
notification/indication PDUs by obtaining the bt_gatt_server
from each device that has the associated CCC configured. |
Arman Uguray |
10 years ago |
1 file, +22, -1 |
| 82a210f6 |
core: device: Add getter for GATT server
Added btd_device_get_gatt_server function. |
Arman Uguray |
10 years ago |
2 files, +9, -0 |
| 8d1e036b |
core: Add GATT UUIDs to Adapter1.UUIDs
Modified src/adapter so that the UUIDs property includes UUIDs that
were added to the local GATT database. |
Arman Uguray |
10 years ago |
1 file, +29, -0 |
| 3cf16cbd |
core: Attach gatt-server to bt_att
With this patch, btd_device now creates a bt_gatt_server and attaches
it to the ATT transport which coexists with a bt_gatt_client. |
Arman Uguray |
10 years ago |
2 files, +31, -18 |
| 550888ae |
core: adapter: Initialize GATT database
This patch adds code that initializes a btd_gatt_database for a
btd_adapter. Also added is the btd_adapter_get_database getter
function. |
Arman Uguray |
10 years ago |
2 files, +17, -11 |
| 5c35029f |
tools/btmgmt: Remove 'btmgmt' from help output
Since there's no preceding 'btmgmt' for commands given in the
interactive mode simply omit this from the help text. |
Johan Hedberg |
10 years ago |
1 file, +21, -21 |
| 72f1e500 |
tools/btproxy: Add missing -a switch documentation |
Johan Hedberg |
10 years ago |
1 file, +2, -0 |
| b22d9174 |
tools/btgatt-client: print read/write err messages
Convert att error codes to error messages for gatt read/write
responses.
e.g.
[GATT client]# read-value 0x00D9
[GATT client]#
Read request failed: Authorization Required (0x08)
[GATT client]# read-value 0x01E2
[GATT client]#
Read request failed: Invalid Handle (0x01) |
Bharat Panda |
10 years ago |
1 file, +48, -3 |
| 0580d005 |
shared/tester: Return failure if any test failed
This makes sure tester can be used for unit tests that requires proper
return in case of failure. |
Luiz Augusto von Dentz |
10 years ago |
1 file, +5, -3 |
| 3114b8d2 |
core: Add explicit include for lib/bluetooth.h |
Marcel Holtmann |
10 years ago |
2 files, +2, -0 |
| 357f1bbb |
lib: Use explicit include for lib/bluetooth.h |
Marcel Holtmann |
10 years ago |
2 files, +1, -1 |
| 18e57950 |
shared: Add explicit include for lib/bluetooth.h |
Marcel Holtmann |
10 years ago |
5 files, +5, -0 |
| d0846512 |
obexd: Add explicit include for lib/bluetooth.h |
Marcel Holtmann |
10 years ago |
1 file, +2, -1 |
| 8584651a |
unit: Add explicit include for lib/bluetooth.h |
Marcel Holtmann |
10 years ago |
2 files, +2, -0 |
| e09a8ee1 |
attrib: Add explicit include for lib/bluetooth.h |
Marcel Holtmann |
10 years ago |
1 file, +1, -0 |
| 01b49846 |
plugins: Add explicit include for lib/bluetooth.h |
Marcel Holtmann |
10 years ago |
2 files, +2, -0 |
| 2df675b1 |
profiles: Add explicit include for lib/bluetooth.h |
Marcel Holtmann |
10 years ago |
13 files, +13, -0 |
| a159809b |
android: Add explicit include for lib/bluetooth.h |
Marcel Holtmann |
10 years ago |
3 files, +3, -0 |
| ff7bdd35 |
doc/gatt-api: Introduce GattProfile1 concept
Until now the GATT D-Bus API doesn't provide any way to register client
role profiles so that bluetoothd would be able to add matching devices
to its auto-connect list (managed by the kernel from 3.17 onward). To
keep the GATT D-Bus interface as capable as the internal plugin API this
patch adds a new concept of a GattProfile1 D-Bus object. By registering
such an object and providing a set of mandatory service UUIDs bluetoothd
will start performing matching against remote devices and add them to
the auto-connect list. |
Johan Hedberg |
10 years ago |
1 file, +44, -0 |
| 275ad54c |
android/bluetooth: Fix MPS UUID
Add service class UUID instead of profile UUID to UUIDs list. |
Szymon Janc |
10 years ago |
1 file, +1, -1 |
| 44938188 |
android/handsfree: Refactor connect_sco_cb
This is to avoid unnecessary connecting->disconnected
and disconnected->connecting transitions when doing fallback to
CVSD codec. |
Szymon Janc |
10 years ago |
1 file, +11, -14 |
| 606b5e70 |
core: Add support for Multi Profile Specification
This adds new main.conf configure option named MultiProfile. It allows
to enable MPSD and MPMD scenarios for MPS. By default MPS is disabled. |
Szymon Janc |
10 years ago |
2 files, +31, -0 |
| f73aadc8 |
android: Use common MPS implementation
This allow for dynamic MPS configuration ie fixing MPS on tablets. |
Szymon Janc |
10 years ago |
1 file, +9, -100 |
| 51074e3d |
sdp: Add support for MPMD in MPS
This enables MPMD field in MPS record. |
Szymon Janc |
10 years ago |
1 file, +92, -1 |
| 710ea1bc |
sdp: Add initial support for MPS
This allows to register Multi Profile Specification record with proper
MPSD bits set depending on currently registered services.
Service Name: Multi Profile
Service RecHandle: 0x10001
Service Class ID List:
"" (0x113b)
Profile Descriptor List:
"" (0x113a)
Version: 0x0100 |
Szymon Janc |
10 years ago |
6 files, +325, -1 |
| 0d597c48 |
android/README: Update known Android issues section
This adds two patches needed for proper handling of rejected SCO
connection. |
Szymon Janc |
10 years ago |
1 file, +2, -0 |
| d3307259 |
core: Introduce btd_gatt_database
This patch introduces src/gatt-database.* which handles incoming ATT
connections, manages per-adapter shared/gatt-db instances, and routes
connections to the corresponding device object. This is the layer that
will perform all the CCC management and Service Changed handling. |
Arman Uguray |
10 years ago |
4 files, +709, -0 |
| 66b407e1 |
doc/gatt-api: Update to match latest plans |
Johan Hedberg |
10 years ago |
1 file, +7, -6 |
| 65915948 |
lib: Update company identifiers |
Marcel Holtmann |
10 years ago |
1 file, +38, -0 |
| 91914834 |
android/pts: Update HOGP test results for PTS 6.0 |
Mariusz Skamra |
10 years ago |
1 file, +4, -5 |
| 3658aeca |
android/pts: Update HOGP PIXIT, PICS for PTS 6.0 |
Mariusz Skamra |
10 years ago |
2 files, +41, -37 |
| eecd34b2 |
unit/gatt: Add TP/GAR/CL/BI-27-C test
Verify Generic Attribute Profile client behavior when the Read
Characteristic Descriptor procedure fails due to insufficient
encryption key size. |
Bharat Panda |
10 years ago |
1 file, +12, -0 |
| 2d7e593a |
unit/gatt: Add TP/GAR/CL/BI-26-C test
Verify Generic Attribute Profile client behavior when the Read
Characteristic Descriptor procedure fails due to insufficient
authentication. |
Bharat Panda |
10 years ago |
1 file, +12, -0 |
| 72747d4b |
unit/gatt: Add TP/GAR/CL/BI-25-C test
Verify Generic Attribute Profile client behavior when the Read
Characteristic Descriptor procedure fails due to insufficient
authorization. |
Bharat Panda |
10 years ago |
1 file, +12, -0 |
| 7f78eb33 |
unit/gatt: Add TP/GAR/CL/BI-24-C test
Verify Generic Attribute Profile client behavior when the Read
Characteristic Descriptor procedure fails due to invalid handle. |
Gowtham Anandha Babu |
10 years ago |
1 file, +6, -0 |
| e184acc8 |
unit/gatt: Add TP/GAR/CL/BI-23-C test
Verify Generic Attribute Profile client behavior when the Read
Characteristic Descriptor procedure fails due to read not permitted. |
Gowtham Anandha Babu |
10 years ago |
1 file, +13, -0 |
| ddbc5d45 |
unit/gatt: Add /TP/GAR/CL/BV-06-C test
Verify that a Generic Attribute Profile client can read a
characteristic descriptor selected by handle. |
Gowtham Anandha Babu |
10 years ago |
1 file, +13, -0 |
| c2610013 |
emulator/smp: Fix sending BR/EDR SMP Pairing Request as slave |
Johan Hedberg |
10 years ago |
1 file, +3, -0 |
| 82a19daa |
uuid: Add bt_uuid_to_le
This adds bt_uuid_to_le and replace the use of put_uuid_le. |
Luiz Augusto von Dentz |
10 years ago |
5 files, +28, -28 |
| d2c3df7b |
tools/btmgmt: Fix illegal memory access |
Andrei Emeltchenko |
10 years ago |
1 file, +1, -1 |
| 0ecc9094 |
shared/gatt: Pass bt_att instead of bdaddr_t
Replaced the bdaddr_t parameter of gatt_db's read/write functions
and callbacks with a bt_att parameter. The BDADDR information can
be obtained from the bt_att's underlying file descriptor. |
Arman Uguray |
10 years ago |
6 files, +109, -58 |
| a4498628 |
shared/att: Add bt_att_get_fd
Added the bt_att_get_fd function which returns the underlying file
descriptor of a bt_att. |
Arman Uguray |
10 years ago |
2 files, +10, -0 |
| 27fe5e2e |
tools/btproxy: Add support for creating AMP controllers |
Johan Hedberg |
10 years ago |
1 file, +9, -2 |
| 2d79e65d |
android: Rename compat_includes to compat |
Szymon Janc |
10 years ago |
8 files, +189, -189 |
| e17b9495 |
android/bluetooth: Implement get_connection_state on daemon
Track if ACL is connected and response corretly to get_connection_state
call. This seems to be used by some application to query for device
connection state. |
Szymon Janc |
10 years ago |
1 file, +13, -4 |
| 534f929e |
tools: Add option to decode Broadcom version numbers into a table |
Marcel Holtmann |
10 years ago |
1 file, +157, -2 |