| e3dc9f4d |
unit/test-gatt: Add TP/GAW/SR/BI-15-C test
Verify that a Generic Attribute Profile server can detect and
reject a Characteristic Value Reliable Write Request to a
non-writeable Characteristic Value and issue a Write Not
Permitted Response. |
Gowtham Anandha Babu |
10 years ago |
1 file, +12, -0 |
| 05953066 |
unit/test-gatt: Add TP/GAW/SR/BI-14-C test
Verify that a Generic Attribute Profile server can detect and
reject a Reliable Write Request to an invalid Characteristic
handle and issue an Invalid Handle Response. |
Gowtham Anandha Babu |
10 years ago |
1 file, +12, -0 |
| e61cdd29 |
unit/test-gatt: Add TP/GAW/SR/BV-10-C test
Verify that a Generic Attribute Profile server can support nested
reliable writing to long Characteristic Values selected by handle. |
Gowtham Anandha Babu |
10 years ago |
1 file, +30, -2 |
| 3522f063 |
unit/test-gatt: Add TP/GAW/SR/BV-06-C test
Verify that a Generic Attribute Profile server can support reliable
writing to a Characteristic Value selected by handle. |
Gowtham Anandha Babu |
10 years ago |
1 file, +16, -0 |
| ca9bc90b |
core/gatt: Check if attribute is valid
This checks the return of gatt_db_get_attribute and fail if return NULL. |
Luiz Augusto von Dentz |
10 years ago |
1 file, +7, -0 |
| 76d1b423 |
core/gatt: Fix not replying if db operation fail |
Luiz Augusto von Dentz |
10 years ago |
1 file, +40, -21 |
| 8900ebdb |
shared/gatt-client: Fix service discovery
The code should proceed to discover all descriptors before moving to
next service otherwise it may attempt to insert characteristics in the
wrong service which would probably fail. |
Luiz Augusto von Dentz |
10 years ago |
1 file, +1, -1 |
| 5f0f1270 |
unit/test-gatt: Add /TP/GAD/CL/BV-06-C/client-3 test
This verify the code is able to parse services with different gaps
between handles. |
Luiz Augusto von Dentz |
10 years ago |
1 file, +86, -1 |
| 50cd0495 |
unit/test-gatt: Add /TP/GAD/CL/BV-06-C/client-2 test
This veryfy we the code is able to parse services with gaps between
handles. |
Luiz Augusto von Dentz |
10 years ago |
1 file, +109, -15 |
| fd8ba13f |
unit/test-gatt: Add /TP/GAD/CL/BV-06-C/client-1 test
This is similar to TP/GAD/CL/BV-06-C but using bt_gatt_client to
discover everything. |
Luiz Augusto von Dentz |
10 years ago |
1 file, +4, -0 |
| fc8c1e7f |
shared/gatt-client: Fix handling of services
Remote services may contain gaps between their handles so they need to be
inserted in a proper position. |
Luiz Augusto von Dentz |
10 years ago |
3 files, +139, -33 |
| 0103fd4e |
tools: For cross-transport pairing make sure that SSP has been enabled |
Marcel Holtmann |
10 years ago |
1 file, +7, -0 |
| 9a694ec9 |
tools: Check for error messages when setting up the controller |
Marcel Holtmann |
10 years ago |
1 file, +149, -17 |
| 18849a6c |
core/device: Enable bt_gatt_server debug
This enables bt_gatt_server debug and use BDG to print out. |
Luiz Augusto von Dentz |
10 years ago |
1 file, +2, -0 |
| 8fa87b63 |
core/device: Enable bt_gatt_client debug
This enables bt_gatt_client debug and use BDG to print out. |
Luiz Augusto von Dentz |
10 years ago |
1 file, +7, -0 |
| db24bf09 |
shared/gatt-helper: Consolidate error checking
This consolidate the error checking for attribute not found in
discover_op_complete. |
Luiz Augusto von Dentz |
10 years ago |
1 file, +6, -41 |
| f58d61e7 |
audio/avrcp: Fix crash when acting as TG
When acting as TG the code may end up using GetCapabilities to figure
out if volume changed event is supported, this cause crashes with
remote devices that don't support TG themselves because
session->controller is not initialized.
Note that to pass AVRCP qualification when volume changed is supported
the device has to support TG as well as CT record, this is because PTS
will attempt to fetch the TG record for any test that it is sending
commands so devices where this crash happen most likely don't have
volume control feature enabled. |
Luiz Augusto von Dentz |
10 years ago |
1 file, +6, -0 |
| 853bd605 |
build: Add missing docs to EXTRA_DIST
This adds doc/gatt-api.txt and doc/input-api.txt to EXTRA_DIST so they
get included in make dist tarball. |
Luiz Augusto von Dentz |
10 years ago |
1 file, +4, -2 |
| eaef1c56 |
audio/avdtp: Fix crash at NULL cb of discover_callback
This fixes a crash with below trace that a discover_callback
object has a NULL cb function pointer being triggered, which
may due to an error happened in avdtp_discover() and left it
unset.
0x00000000 in ?? ()
0xb6f5606e in finalize_discovery (err=22, session=0xb7514a00)
at profiles/audio/avdtp.c:1043
connection_lost (session=session@entry=0xb7514a00, err=err@entry=22)
at profiles/audio/avdtp.c:1143
0xb6f57cf6 in avdtp_connect_cb (chan=<optimized out>, err=0xb7514410,
user_data=0xb7514a00) at profiles/audio/avdtp.c:2373
0xb6f723e4 in accept_cb (io=0xb7516a10, cond=<optimized out>,
user_data=0xb7516b48) at btio/btio.c:203
0xb6e6cf10 in ?? () |
Hsin-Yu Chao |
10 years ago |
1 file, +2, -1 |
| 6d54bd04 |
core: Make device_set_bonded reset temporary flag
If device is set to bonded it means some info has been stored so it
cannot be temporary anymore. |
Luiz Augusto von Dentz |
10 years ago |
2 files, +2, -4 |
| d2b0eff6 |
core/adapter: Remove checks to device_is_temporary
btd_device_set_temporary already checks if value is already set. |
Luiz Augusto von Dentz |
10 years ago |
1 file, +4, -8 |
| 36468cc5 |
core/device: Convert temporary flag to bool |
Luiz Augusto von Dentz |
10 years ago |
4 files, +18, -18 |
| 1e4a95b2 |
core/device: Fix btd_device_set_temporary
In case the device is set as not temporary it should trigger
store_device_info but the function checks if temporary flag is set but
since currently the code only set the flag after the call nothing really
happens. |
Luiz Augusto von Dentz |
10 years ago |
1 file, +7, -5 |
| fc7dcd72 |
doc: Add test-uhid test numbers to coverage list |
Szymon Janc |
10 years ago |
1 file, +2, -1 |
| bc862609 |
build: Add unit/test-hog binary to .gitignore list |
Szymon Janc |
10 years ago |
1 file, +1, -0 |
| 63aa1eb2 |
unit/test-hog: Add TC/HGCF/RH/BV-01-I test
Verify that all CCC characteristic descriptors for all Report
characteristics of Report Type: Input Report can be written with
the value 0x0001 by a Report Host IUT. |
Mariusz Skamra |
10 years ago |
1 file, +43, -0 |
| 79064663 |
unit/test-hog: Add TC/HGRF/RH/BV-02-I test
Verify that all External Report Reference characteristic descriptors
for all Report Map characteristics can be read by a Report Host IUT. |
Mariusz Skamra |
10 years ago |
1 file, +33, -0 |
| c47a1de1 |
unit/test-hog: Add TC/HGRF/RH/BV-06-I test
Verify that all Report Reference characteristic descriptors for
all Report characteristic of Report Type: Output Report can be
read by a Report Host IUT. |
Mariusz Skamra |
10 years ago |
1 file, +33, -0 |
| ce6ca33e |
unit/test-hog: Add TC/HGRF/RH/BV-09-I test
Verify that all HID Information characteristics can be read by a
Report Host IUT. |
Mariusz Skamra |
10 years ago |
1 file, +21, -0 |
| e0457dee |
unit/test-hog: Add TC/HGRF/RH/BV-08-I test
Verify that all Report Reference characteristic descriptors for all
Report characteristics of Report Type: Feature Report can be read
by a Report Host IUT. |
Mariusz Skamra |
10 years ago |
1 file, +33, -0 |
| 605fbd53 |
unit/test-hog: Add TC/HGRF/RH/BV-01-I test
Verify that all Report Map characteristics can be read by
Report Host IUT |
Mariusz Skamra |
10 years ago |
2 files, +293, -0 |
| fbea1565 |
doc: Add note about LE Privacy and out-of-band data update |
Marcel Holtmann |
10 years ago |
1 file, +5, -0 |
| b8e58fbb |
tools: Print OOB extended data information details |
Marcel Holtmann |
10 years ago |
1 file, +51, -83 |
| 8f07b9df |
tools: Fix minor typo in OOB extended data parsing |
Marcel Holtmann |
10 years ago |
1 file, +3, -5 |
| 38c7cd66 |
tools: Add option for doing OOB pairing with LE privacy enabled |
Marcel Holtmann |
10 years ago |
1 file, +59, -1 |
| d5e8e85c |
lib: Add management event strings for advertising added/removed |
Marcel Holtmann |
10 years ago |
1 file, +2, -0 |
| a9caf338 |
tools: Track local out-of-band data update notification events |
Marcel Holtmann |
10 years ago |
1 file, +24, -0 |
| 8ce5d053 |
lib: Add mgmt event for local out-of-band data update notification |
Marcel Holtmann |
10 years ago |
1 file, +8, -0 |
| d437fba7 |
doc: Introduce a command that notifies about local OOB data updates |
Marcel Holtmann |
10 years ago |
1 file, +37, -2 |
| 249bc19c |
doc: Providing Security Manager TK Value is actually not supported |
Marcel Holtmann |
10 years ago |
1 file, +4, -6 |
| 5d3794fe |
android/hog: Allow to pass custom fd for uhid
This will be useful for unitests. |
Szymon Janc |
10 years ago |
3 files, +28, -8 |
| 0d468ec3 |
lib/mgmt: Update mgmt command string-lookup table |
Johan Hedberg |
10 years ago |
1 file, +9, -7 |
| e738d197 |
tools: Separate between initiator and acceptor provided OOB data |
Marcel Holtmann |
10 years ago |
1 file, +50, -26 |
| 65bdd910 |
tools: Generate the Security Manager TK Value if requested |
Marcel Holtmann |
10 years ago |
1 file, +37, -20 |
| 0ac25dcd |
doc: Mention that Security Manager TK Value field is special |
Marcel Holtmann |
10 years ago |
1 file, +9, -4 |
| 3b0bd221 |
tools: Parse the OOB data fields and extract TK, Hash and Randomizer |
Marcel Holtmann |
10 years ago |
1 file, +62, -2 |
| e842ba66 |
core/device: Remove call to g_attrib_set_mtu
The call to g_attrib_set_mtu is no longer needed since
g_attrib_get_buffer has learned to check bt_att MTU. |
Luiz Augusto von Dentz |
10 years ago |
1 file, +0, -5 |
| 14569a33 |
core/device: Fix not handling notification
attio callbacks needs to be triggered as soon as possible once connected
otherwise profiles such as HoG may miss notification that are sent while
bt_gatt_client is doing MTU exchange. |
Luiz Augusto von Dentz |
10 years ago |
1 file, +3, -2 |
| 64f86417 |
attrib: Fix not honoring MTU
If MTU has changed, by bt_gatt_client for example, the code should be
able to figure it out without waiting g_attrib_set_mtu to be called. |
Luiz Augusto von Dentz |
10 years ago |
1 file, +15, -0 |
| 1f6bd25b |
tools: Read extended local OOB data for LE pairing |
Marcel Holtmann |
10 years ago |
1 file, +51, -2 |