| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
This replaces the uses of g_memdup with util_memdup since the former has
been deprecated:
warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead
[-Wdeprecated-declarations]
g_memdup2 requires bumping glib version which would likely have its
own problems thus why util_memdup was introduced.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds SPDX License Identifier and removes the license text.
-------------------------------------
License COUNT
-------------------------------------
GPL-2.0-or-later : 25
LGPL-2.1-or-later : 1
GPL-2.0-only : 2
BSD-2-Clause : 1
License: GPL-2.0-or-later
unit/test-hog.c
unit/test-eir.c
unit/test-gobex-header.c
unit/test-crc.c
unit/test-avrcp.c
unit/test-ringbuf.c
unit/test-gobex-apparam.c
unit/test-gobex.c
unit/test-hfp.c
unit/test-textfile.c
unit/test-avdtp.c
unit/test-sdp.c
unit/test-gatt.c
unit/test-avctp.c
unit/test-gattrib.c
unit/test-queue.c
unit/test-gobex-packet.c
unit/test-uuid.c
unit/test-crypto.c
unit/test-uhid.c
unit/test-gdbus-client.c
unit/test-midi.c
unit/test-lib.c
unit/test-mgmt.c
unit/test-gobex-transfer.c
License: LGPL-2.1-or-later
unit/test-mesh-crypto.c
License: GPL-2.0-only
unit/util.h
unit/util.c
License: BSD-2-Clause
unit/test-ecc.c
|
|
|
|
|
|
|
| |
Raw data payload must be copied since the declaration goes out of
scope:
Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=202213
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tester_monitor will forward the data to btmon when -m/--monitor is
enabled which will attempt to decode the PDUs:
= test-gatt: /robustness/unkown-command - init 11:44:53.464325
= test-gatt: /robustness/unkown-command - setup
= test-gatt: /robustness/unkown-command - setup complete
= test-gatt: /robustness/unkown-command - run
< test-gatt: User Data TX
ATT: Exchange MTU Request (0x02) len 2
Client RX MTU: 23
> test-gatt: User Data RX
ATT: Exchange MTU Response (0x03) len 2
Server RX MTU: 512
< test-gatt: User Data TX
ATT: Unknown (0xff) len 1
00 .
= test-gatt: /robustness/unkown-command - test passed
= test-gatt: /robustness/unkown-command - teardown
= test-gatt: /robustness/unkown-command - teardown complete
= test-gatt: /robustness/unkown-command - done
|
|
|
|
|
| |
This seems to fix problems of make check not working in 32 bit systems
with gcc 5.0.
|
| |
|
|
|
|
| |
Our tester framework actually produces much better output.
|
|
|
|
| |
This makes it possible to pass data without copying.
|
|
|
|
|
| |
This makes possible to return errors such as -EAGAIN to indicate the
request would block and a response will be sent asynchronously.
|
| |
|
| |
|
|
|
|
| |
Add test TP/NFR/BV-04-C for AVCTP.
|
|
|
|
|
| |
The test verifies that IUT (TG) correctly reports the parameters of the
incoming command in the handler callback.
|
|
|
|
|
| |
Add some tests checking that L2CAP connection is established, so they
are basically dummy tests.
|
|
|
|
|
|
| |
To verify that the IUT (TG) reports to the test system (CT) the
reception of a control message intended for an invalid PID (PID not
registered for reception of messages).
|
|
|
|
|
|
|
|
| |
To verify that the IUT (TG) formats correctly the following fields of
the AVCTP response message: “transaction label”, "message type(R)", PID,
“packet type”, IPID and “message information”. Check that AVCTP send
response packet along with other information. Payload is out of scope of
this test (AVC_CTYPE_REJECTED is OK).
|
|
Adds test TP/NFR/BV-01-C. To verify that the IUT (CT) formats correctly
the following fields of the AVCTP command message: “transaction label”,
"message type(C)", PID, “packet type”, IPID and “message information”.
|