| 3ad89222 |
mgmt-tester: Provide basic Add Device success test cases |
Johan Hedberg |
11 years ago |
1 file, +64, -0 |
| 59c91626 |
mgmt-tester: Add invalid params tests for Add Device |
Johan Hedberg |
11 years ago |
1 file, +56, -0 |
| 29cf0393 |
monitor: Rename pairable to bondable |
Johan Hedberg |
11 years ago |
1 file, +1, -1 |
| 8dd40f07 |
doc/mgmt-api: Rename pairable to bondable |
Johan Hedberg |
11 years ago |
1 file, +8, -8 |
| c87e0ec6 |
mgmt: Rename pairable to bondable |
Johan Hedberg |
11 years ago |
7 files, +92, -91 |
| 02a1683d |
core: Remove left-over reference to AlwaysPairable |
Johan Hedberg |
11 years ago |
1 file, +0, -5 |
| 12464916 |
core: Remove always_pairable feature
We've decided to have pairable (soon to be renamed to bondable) always
set after all, so neither the always_pairable variable nor the
AlwaysPairable config option is needed. |
Johan Hedberg |
11 years ago |
6 files, +2, -99 |
| 7b168fc4 |
monitor: Add support for LE Connection Parameter Request event |
Marcel Holtmann |
11 years ago |
2 files, +17, -3 |
| 22503e30 |
monitor: Add support for LE Connection Parameter Request Reply commands |
Marcel Holtmann |
11 years ago |
2 files, +70, -2 |
| d437959e |
android/pts: Update ScPP tests results with PTS 5.2 |
Szymon Janc |
11 years ago |
3 files, +12, -12 |
| 5ff0dd08 |
android/pts: Update DIS tests results with PTS 5.2 |
Szymon Janc |
11 years ago |
3 files, +11, -11 |
| 323fe45f |
android: Allow to set required handsfree mode on Linux host
This is usefull for testing handsfree in non-default configuration. |
Andrei Emeltchenko |
11 years ago |
1 file, +4, -0 |
| 6a5ac14c |
android/README: Fix few typos and too long line |
Szymon Janc |
11 years ago |
1 file, +6, -5 |
| 75dc80ec |
android/hog: Fix handling UHID_FEATURE as UHID_OUTPUT
As with input plugin this code contain the same issue handling
UHID_FEATURE events can cause a crash. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +1, -11 |
| 3df0d667 |
input/hog: Cleanup unnecessary code
The callback register by bt_uhid_register already contains the event type
so there is no need to check for it again. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +0, -3 |
| 0ce3938c |
doc: Remove bogus DeviceFound signal reference |
Johan Hedberg |
11 years ago |
1 file, +3, -3 |
| f000a57e |
mgmt-tester: Update expected LE Host Supported command parameters |
Johan Hedberg |
11 years ago |
1 file, +1, -1 |
| 98ade945 |
core: Default to temporary=true when creating new devices
Since the code that calls Add Device depends on all devices undergoing a
temporary true -> false transition, start off by having them default to
being temporary. This fixes properly calling Add Device when loading
from storage upon bluetoothd startup. |
Johan Hedberg |
11 years ago |
2 files, +1, -2 |
| 193eddd8 |
tools/btmgmt: Fix grammar for zero items |
Johan Hedberg |
11 years ago |
1 file, +2, -2 |
| 7ae8e372 |
shared/gatt: Implement notification/indication helper.
This patch implements bt_gatt_register, which sets up internal callbacks for
incoming notifications and indications, parses the PDU and provides it to the
upper layer. It also automatically sends out a confirmation when an indication
is received. |
Arman Uguray |
11 years ago |
1 file, +60, -2 |
| c6e54c65 |
shared/gatt: Implement "Write Long Values" procedure.
This patch implements bt_gatt_write_long_value. |
Arman Uguray |
11 years ago |
1 file, +238, -2 |
| c33985a5 |
shared/gatt: Implement "Write Value" and "Write Without Response" procedures.
This patch implements the bt_gatt_write_without_response and bt_gatt_write_value
functions. |
Arman Uguray |
11 years ago |
1 file, +77, -5 |
| f3ca52c2 |
shared/gatt: Implement "Read Long Characteristic Values" procedure.
This patch implements bt_gatt_read_long_value. |
Arman Uguray |
11 years ago |
1 file, +202, -2 |
| b3694d30 |
shared/gatt: Implement "Read" procedure.
This patch implements bt_gatt_read_value, which can be used to read the value of
a characteristic or descriptor. |
Arman Uguray |
11 years ago |
1 file, +70, -2 |
| 4b8567f6 |
shared/gatt: Implement "Descriptor Discovery" procedure.
This patch implements bt_gatt_discover_descriptors. |
Arman Uguray |
11 years ago |
1 file, +153, -2 |
| d21412b9 |
shared/gatt: Implement "Characteristic Discovery" procedures.
This patch implements bt_gatt_discover_characteristics, which can perform the
characteristic discovery procedures "Discover All Characteristics of a Service"
and "Discover Characteristics by UUID". |
Arman Uguray |
11 years ago |
1 file, +172, -2 |
| 06712a43 |
shared/gatt: Implement "Discover Primary Service by UUID" procedure.
This patch implements bt_gatt_discover_primary_services for the case when a UUID
is provided. |
Arman Uguray |
11 years ago |
1 file, +122, -4 |
| d70c5cc0 |
shared/gatt: Implement "Discover All Primary Services" procedure.
This patch implements bt_gatt_discover_primary_services for the case when no
UUID is provided. |
Arman Uguray |
11 years ago |
1 file, +251, -2 |
| a1addc32 |
shared/gatt: Implement bt_gatt_exchange_mtu.
This patch implements the helper function bt_gatt_exchange_mtu, which performs
an ATT "Exchange MTU" request and resizes the internal buffer based on the
result. |
Arman Uguray |
11 years ago |
1 file, +84, -2 |
| 57833a7a |
shared/gatt: Introduce gatt-helpers.h skeleton.
This patch introduces the skeleton for src/shared/gatt-helpers, which defines
helper functions for over-the-air GATT client-side procedures that will be
frequently used by clients. Most of these functions require several sequential
ATT protocol requests and it is useful to abstract these details away from the
upper layer. |
Arman Uguray |
11 years ago |
3 files, +270, -1 |
| 6d7fbe61 |
android/cts: Update test results for CTS 4.4 R3 |
Szymon Janc |
11 years ago |
1 file, +34, -9 |
| 327a85dc |
android/pts: Regression tests on SM against PTS 5.2 |
Sebastian Chlad |
11 years ago |
3 files, +18, -12 |
| 67a7d441 |
android/tester-ng: Fix not freeing porperties value
This fixes 3 valgrind reports like:
8 bytes in 2 blocks are definitely lost in loss record 7 of 47
==8437== at 0x4C2AB80: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8437== by 0x5089610: g_malloc (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==8437== by 0x50A0B57: g_memdup (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==8437== by 0x40E94E: create_property (tester-main.c:623)
==8437== by 0x40F96C: ssp_request_cb (tester-main.c:741)
==8437== by 0x5F70E5A: notification_handler (hal-ipc.c:125)
==8437== by 0x534B181: start_thread (pthread_create.c:312)
==8437== by 0x565C30C: clone (clone.S:111) |
Jakub Tyszkowski |
11 years ago |
1 file, +3, -0 |
| 85cd2899 |
android/tester-ng: Remove not needed include |
Jakub Tyszkowski |
11 years ago |
1 file, +0, -2 |
| af323066 |
android/tester-ng: Fix not initializing step
This fixes the following vagrind report:
==12708== 4 errors in context 1 of 1:
==12708== Conditional jump or move depends on uninitialised value(s)
==12708== at 0x40E359: verify_step (tester-main.c:416)
==12708== by 0x40E5FD: verify_action (tester-main.c:540)
==12708== by 0x5083CE4: g_main_context_dispatch (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==12708== by 0x5084047: ??? (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==12708== by 0x5084309: g_main_loop_run (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)
==12708== by 0x40D51C: tester_run (tester.c:812)
==12708== by 0x40251E: main (tester-main.c:1496) |
Jakub Tyszkowski |
11 years ago |
1 file, +1, -1 |
| 412e945f |
android/tester-ng: Fix structure members constness
It's better to know what actually may change by looking at the structure
definitions. Some api calls can modify their parameters (returning file
descriptor in socket HAL API) but most of them don't.
This patch mostly applies to action_data and test_case structs that defines
the actual test case. |
Jakub Tyszkowski |
11 years ago |
1 file, +13, -13 |
| 5c880251 |
android/tester-ng: Fix treating callback as action step
Next action step might pass before the action was even called. This was
possible when not expected callback came. This patch forces check for
callback also on the incomming step and not only on the expected one. |
Jakub Tyszkowski |
11 years ago |
1 file, +1, -1 |
| a7f27289 |
monitor: Print proper LE supported state combination |
Marcel Holtmann |
11 years ago |
1 file, +108, -49 |
| b64b640d |
input: Remove broken UHID_FEATURE support
The forward_report function currently assumes that all events it gets
are of UHID_OUTPUT type. Simply remove trying to use it for anything
else until we have a proper patch for UHID_FEATURE handling. |
Johan Hedberg |
11 years ago |
1 file, +3, -10 |
| 9da398ec |
android/tester: Remove old socket HAL test cases
These were already ported to the new testing framework. |
Jakub Tyszkowski |
11 years ago |
1 file, +0, -416 |
| 4af83746 |
android/tester-ng: Add socket connect success cases
Adding socket connect cases requires to set up the the l2cap and
rfcomm servers on the emulated device. For this, the bthost_l2cap_connect_cb
type had to exposed in tester-main.h and pulled some bthost dependencies
along. |
Jakub Tyszkowski |
11 years ago |
6 files, +244, -3 |
| abe7582c |
android/tester-ng: Fix trying to verify late callbacks
Dont even try to verify late callbacks when test case already ended.
This was triggering confusing message about verifying step N+1 when we
have only N steps in current case. |
Jakub Tyszkowski |
11 years ago |
1 file, +7, -0 |
| aca151a7 |
android/tester-ng: Set scan enable for dual mode devices
This is needed for socket HAL connect test cases. |
Jakub Tyszkowski |
11 years ago |
1 file, +14, -2 |
| 324a38c7 |
android/tester-ng: Add various socket connect fail cases
Thiose test verifies socket porofile behaviour in case of invalid
parameters passed to 'connect' command. |
Jakub Tyszkowski |
11 years ago |
1 file, +61, -0 |
| f3b42a16 |
android/tester-ng: Add socket double listen fail case |
Jakub Tyszkowski |
11 years ago |
1 file, +10, -0 |
| c603589f |
android/tester-ng: Add socket listen - close than listen case
This checks for another successfull listen after closing previous fd. |
Jakub Tyszkowski |
11 years ago |
1 file, +36, -0 |
| 85ef0439 |
android/tester-ng: Add socket listen - verify channel case |
Jakub Tyszkowski |
11 years ago |
1 file, +38, -0 |
| e4229f74 |
android/tester-ng: Add socket listen - verify fd case |
Jakub Tyszkowski |
11 years ago |
1 file, +37, -0 |
| fb876ac8 |
android/tester-ng: Add socket listen - invalid channel case |
Jakub Tyszkowski |
11 years ago |
1 file, +18, -0 |
| 6f9532df |
android/tester-ng: Add socket listen - invalid param cases |
Jakub Tyszkowski |
11 years ago |
2 files, +79, -0 |