| c0e4e6df |
unit/gatt: Comment cleanup |
Michael Janssen |
11 years ago |
1 file, +9, -10 |
| 3aa81161 |
unit/gatt: Add Test Spec Large Database 1
Adds a large GATT database definition and initial service discovery test
which satisfies a number of the requirements from the GATT Test Spec
Document. |
Michael Janssen |
11 years ago |
1 file, +338, -1 |
| 19cef58c |
shared/gatt-server: support Discover by UUID
Implements Find By Type Value parsing and response, supporting the
"Discovery Primary Service by UUID" of GATT. |
Michael Janssen |
11 years ago |
1 file, +103, -0 |
| 3d92c843 |
shared/gatt-db: Add gatt_db_find_by_type_value
Added to support the GATT discovery of services by UUID.
Currently only works for values which are stored within the attribute
structure (not callback-based). |
Michael Janssen |
11 years ago |
2 files, +37, -0 |
| cf2ea03a |
gatt_db: use callback for gatt_db_find_by_type
It is preferred to not expose queue, so switch the function to a
callback style instead, and update the uses of it, eliminating a set of
queue uses. |
Michael Janssen |
11 years ago |
4 files, +84, -74 |
| ccb8aa4a |
core/device: Fix memory leak |
Luiz Augusto von Dentz |
11 years ago |
1 file, +1, -0 |
| 9087bacc |
tools: Handle the broken behavior of host features max page value |
Marcel Holtmann |
11 years ago |
2 files, +6, -0 |
| 55e1678b |
shared/gatt-db: Fix duplicate service notification
This make sure the callback are only called when a service really
changes. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +4, -0 |
| eafa30e2 |
unit/gatt: Rework service db definitions
Introduces a set of macros providing a simple syntax for definining a
test GATT database.
The two defined databases are reconstructed using the new format.
Some old helper methods are not used anymore and are removed. |
Michael Janssen |
11 years ago |
1 file, +159, -118 |
| 8130ff55 |
unit/gatt: Add add_desc_with_value function
This function mirrors add_char_with_value and deduplicates some repeated
code from convenience functions. |
Michael Janssen |
11 years ago |
1 file, +21, -22 |
| 30b7ebd4 |
unit/gatt: Bugfix small database construction
Small DB was constructed without noticing that the last characteristic is
not added, and needs two more handles in the service to hold it.
This patch will also cause unit/gatt to assert if characteristics are
not added when expected. |
Michael Janssen |
11 years ago |
1 file, +5, -3 |
| 6123b20f |
android/avrcp-lib: Use proper type for accessing rsp
This makes code easier to read. |
Szymon Janc |
11 years ago |
1 file, +2, -2 |
| 9bcbc7c0 |
android/handsfree: Fix handling invalid configure_wbs command
Passing invalid WBS mode should result in error response. |
Szymon Janc |
11 years ago |
1 file, +1, -1 |
| 6a9ca37f |
build: Enable -Wformat -Wformat-security in maintainer mode
__attribute__((format(printf))) doesn't seem to catch missing format
string in function call ie.
char *p = "foo";
printf(p);
vs
printf("%s", p);
Enabling -Wformat -Wformat-security warns in such case. |
Szymon Janc |
11 years ago |
1 file, +1, -0 |
| c5569d77 |
src/shared/ecc.c: Fix missing config.h include
The ecc.c file forgets to include <config.h>. This causes build
failures with certain C libraries, because ecc.c uses O_CLOEXEC, which
is only available when _GNU_SOURCE is defined. And _GNU_SOURCE gets
defined by <config.h>, so it should be included. |
Thomas Petazzoni |
11 years ago |
1 file, +4, -0 |
| f085b62a |
Add missing format specifiers in src/error.c |
Mariusz Skamra |
11 years ago |
1 file, +3, -2 |
| 0ea75ab4 |
attrib: Fix warning when closing connection
Since bt_att is used internally GAttrib should no longer close the
connection otherwise it cause the following warning:
bluetoothd[31756]: attrib/gattrib.c:g_attrib_unref() 0x610c130: g_attrib_unref=1
bluetoothd[31756]: attrib/gattrib.c:g_attrib_unref() 0x610c130: g_attrib_unref=0
(bluetoothd:31756): GLib-WARNING **: Invalid file descriptor. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +1, -0 |
| 99f11aef |
core/gatt: Don't export claimed services
GattService1 objects for services which are claimed by an internal
profile are no longer exported. This is to prevent conflicts that
may arise between internal plugins and external applications that
wish to access the same GATT service. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +6, -0 |
| f476e9d6 |
shared/gatt-db: Add gatt_db_service_get_active |
Luiz Augusto von Dentz |
11 years ago |
2 files, +9, -0 |
| ab1dbca2 |
tools/btmgmt: Don't use hci_set_bit for discovery type
Using hci_set_bit() on the 1-byte discovery type value produces the
wrong results at least on 64-bit ppc. This patch fixes btmgmt to use the
same style of manual bit setting as bluetoothd uses. |
Johan Hedberg |
11 years ago |
1 file, +18, -18 |
| 2aec81f1 |
build: Move mcaptest to experimental tools and not installed tools |
Marcel Holtmann |
11 years ago |
1 file, +11, -11 |
| fb8d2433 |
tools/bluemoon: Fix compilation error/warning
This patch fixes the following error/warning:
CC tools/bluemoon.o
tools/bluemoon.c: In function ‘analyze_firmware’:
tools/bluemoon.c:813:10: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (len != le32_to_cpu(css->size) * 4) {
^
cc1: all warnings being treated as errors |
Johan Hedberg |
11 years ago |
1 file, +1, -1 |
| 40f7829b |
tools: Add hard reset / cold boot option to Intel utility |
Marcel Holtmann |
11 years ago |
1 file, +49, -1 |
| 4be36aab |
Release 5.27 |
Marcel Holtmann |
11 years ago |
2 files, +7, -1 |
| f8dae865 |
build: Update library version |
Marcel Holtmann |
11 years ago |
1 file, +1, -1 |
| facc02a0 |
lib: Update company identifiers |
Marcel Holtmann |
11 years ago |
1 file, +17, -1 |
| 88f2a2de |
tools: Add command to analyze Intel firmware files |
Marcel Holtmann |
11 years ago |
1 file, +154, -1 |
| e3693e5a |
tools: Fix typo in command line options |
Marcel Holtmann |
11 years ago |
1 file, +9, -9 |
| 98485ad7 |
core/gatt: Don't always issue read-long for ReadValue
A remote GATT server may not support the "long read" procedure for all
of its attributes (or not at all). This patch revises the implementation
of GattCharacteristic1.ReadValue and GattDescriptor1.ReadValue, so that
instead of always initiating a "long read" (i.e. ATT Read Blob Req),
they first send out a regular read request and then proceed to a long
read only if the value fills the current MTU and may potentially have
more bytes waiting. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +98, -35 |
| 4e5989f1 |
core/gatt: Implement GattDescriptor1.WriteValue
This patch implements the WriteValue method of org.bluez.GattDescriptor1 |
Arman Uguray |
11 years ago |
1 file, +85, -12 |
| da92020b |
core/gatt: Implement GattCharacteristic1.WriteValue
This patch implements the WriteValue method of
org.bluez.GattCharacteristic1. The GATT write procedure that should be
used is decided based on characteristic properties. |
Arman Uguray |
11 years ago |
1 file, +177, -2 |
| bfee5082 |
shared/gatt-client: Expose MTU.
This patch adds the bt_gatt_client_get_mtu function. It also includes a
minor fix in which the signature of the "value" argument of write
methods are changed from "uint8_t *" to "const uint8_t *". |
Arman Uguray |
11 years ago |
2 files, +16, -6 |
| 8a59c6fa |
android/gatt: Fix memory leak |
Andrei Emeltchenko |
11 years ago |
1 file, +3, -2 |
| 474535fe |
android/pts: L2CAP test results update |
Mariusz Skamra |
11 years ago |
3 files, +62, -70 |
| 91d24fd0 |
android: Add log.c to EXTRA_DIST
This file is used only when building for Android and should be
part of release tarball. |
Szymon Janc |
11 years ago |
1 file, +1, -0 |
| cba67bc1 |
android: Provide SELinux policy files
This adds required policy files and updates documentation with more
SELinux information. |
Szymon Janc |
11 years ago |
4 files, +72, -1 |
| 3fc5cbda |
core/gatt: Store values in db
This store characteristic and descriptor values in the db itself so the
value is cached. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +66, -81 |
| 0302fc9e |
core/gatt: Implement GattDescriptor1.ReadValue
This patch implements the ReadValue method of org.bluez.GattDescriptor1
and exposes the "Value" property based on what was cached during the
most recent read. The property is hidden if the value is unknown. |
Arman Uguray |
11 years ago |
1 file, +201, -121 |
| d8eee67e |
core/gatt: Implement GattCharacteristic1.ReadValue
This patch implements the ReadValue method of
org.bluez.GattCharacteristic1 and exposes the "Value" property based on
what was cached during the most recent read. The property is hidden if
the value is unknown. |
Arman Uguray |
11 years ago |
3 files, +199, -6 |
| e8361d03 |
core/gatt: Export GATT descriptors on D-Bus
This patch adds code that exports an object on D-Bus with the
org.bluez.GattDescriptor1 interface for each GATT descriptor that is
present in bt_gatt_client. |
Arman Uguray |
11 years ago |
1 file, +196, -4 |
| fcee1a70 |
core/gatt: Export GATT characteristics on D-Bus
This patch adds code that exports an object on D-Bus with the
org.bluez.GattCharacteristic1 interface for each GATT characteristic
that is present in bt_gatt_client. |
Arman Uguray |
11 years ago |
1 file, +330, -2 |
| 3ba88cc6 |
core/gatt: Export GATT services on D-Bus
This patch adds code that exports an object on D-Bus with the
org.bluez.GattService1 interface for each GATT service that is present
in bt_gatt_client. |
Arman Uguray |
11 years ago |
1 file, +153, -3 |
| 2780741f |
core/gatt: Introduce gatt-client
This patch introduces src/gatt-client, which will implement the D-Bus
API outlined in doc/gatt-api.txt for the GATT client role. |
Arman Uguray |
11 years ago |
4 files, +196, -1 |
| f5d8ef1c |
android/scpp: Simplify requests queueing
There is no need to use request structure for tracking queue since
we only need id. |
Szymon Janc |
11 years ago |
1 file, +17, -82 |
| 7c78778f |
doc/mgmt-api: Fix Add UUID description |
Johan Hedberg |
11 years ago |
1 file, +4, -4 |
| 90c58b27 |
tools: Add secure boot parameters reading to bluemoon utility |
Marcel Holtmann |
11 years ago |
1 file, +72, -0 |
| 37a8995c |
android/tester: Fix wrong check
Fixes typo mixing exp_inst with rec_inst. |
Andrei Emeltchenko |
11 years ago |
1 file, +2, -2 |
| 65b7b2b8 |
unit: Hide output of ECC unit test when --verbose is not specified |
Marcel Holtmann |
11 years ago |
1 file, +21, -13 |
| 4f9260d1 |
emulator: Add PHY packet type for connection establishment |
Marcel Holtmann |
11 years ago |
1 file, +11, -0 |
| 1a737d6a |
profiles/gap: Add Google copyright
Added Google Inc. to the copyright comment since the profile has been
mostly rewritten. |
Arman Uguray |
11 years ago |
1 file, +1, -0 |