108 Commits

Author SHA1 Message Date
Matthias Ringwald
1d66a705df auto-pts: implement gatt write without response + signed write without response 2020-08-26 11:55:23 +02:00
Matthias Ringwald
4f88b1807e auto-pts: add gatt client state 2020-08-26 11:55:23 +02:00
Matthias Ringwald
504a8416a3 auto-pts: implement gatt read long 2020-08-26 11:55:23 +02:00
Matthias Ringwald
377d0fb703 auto-pts: report att status for failed read characteristic value 2020-08-26 11:55:23 +02:00
Matthias Ringwald
641018e325 auto-pts: implement some GATT Client commands 2020-08-26 11:55:23 +02:00
Matthias Ringwald
aeb596dbcf auto-pts: use '000000' as passkey default 2020-08-26 11:55:22 +02:00
Matthias Ringwald
8cbcc51e2c auto-pts: enable mitm in btpclient as default 2020-08-26 11:55:22 +02:00
Matthias Ringwald
59f775cfa7 auto-pts: support BTP_GATT_OP_GET_ATTRIBUTES with UUID len = 0 2020-08-26 11:55:22 +02:00
Matthias Ringwald
568156403e auto-pts: run gatt server test via console 2020-08-26 11:55:22 +02:00
Matthias Ringwald
42d64f2df9 auto-pts: more debug output for att_db 2020-08-26 11:55:22 +02:00
Matthias Ringwald
e7733bf21d auto-pts: more debug output for att_db 2020-08-26 11:55:22 +02:00
Matthias Ringwald
272b529870 auto-pts: add BTP_GATT_OP_GET_ATTRIBUTES and BTP_GATT_OP_GET_ATTRIBUTE_VALUE 2020-08-26 11:55:22 +02:00
Matthias Ringwald
f2466b5e43 auto-pts: add ENABLE_BTP compile flag to add code to att_db 2020-08-26 11:55:21 +02:00
Matthias Ringwald
32a73f639d auto-pts: delete debugging code 2020-08-26 11:55:21 +02:00
Matthias Ringwald
a92b1593b3 auto-pts: remove timer before adding them again 2020-08-26 11:55:21 +02:00
Matthias Ringwald
8ebd173655 auto-pts: add log message length field 2020-08-26 11:55:21 +02:00
Matthias Ringwald
d91d7ea51f auto-pts: test delayed response on gap connect 2020-08-26 11:55:21 +02:00
Matthias Ringwald
c97981441f auto-pts: test immediate response on gap connect 2020-08-26 11:55:21 +02:00
Matthias Ringwald
1e7adb1f37 auto-pts: add btpclient heartbeat 2020-08-26 11:55:21 +02:00
Matthias Ringwald
00ec2a3103 auto-pts: exit btpclient on socket disconnect 2020-08-26 11:55:20 +02:00
Matthias Ringwald
336f31e777 auto-pts: delay response to connect until connection complete or timeout 2020-08-26 11:55:20 +02:00
Matthias Ringwald
b392e5cfb6 auto-pts: implement gatt server commands 2020-08-26 11:55:20 +02:00
Matthias Ringwald
4d56e5422c auto-pts: terminate btp log message with zero 2020-08-26 11:55:20 +02:00
Matthias Ringwald
89cc71cef7 auto-pts: BTP_GAP_SETTING_PRIVACY == false on start 2020-08-26 11:55:20 +02:00
Matthias Ringwald
b0efdb6cb6 auto-pts: use HCI Command to change connection params in master role 2020-08-26 11:55:20 +02:00
Matthias Ringwald
d9de98852d auto-pts: support log message command 2020-08-26 11:55:20 +02:00
Matthias Ringwald
456bc9e31f auto-pts: implement set bondable for GAP LE 2020-08-26 11:55:19 +02:00
Matthias Ringwald
ad98583a3e auto-pts: add 'send l2capp conn param update' command 2020-08-26 11:55:19 +02:00
Matthias Ringwald
786e475ebe auto-pts: auto-accept just works and numeric comparison 2020-08-26 11:55:19 +02:00
Matthias Ringwald
0a7e9aebe1 auto-pts: implement connection param update via l2cap 2020-08-26 11:55:19 +02:00
Matthias Ringwald
e4fd20371c auto-pts: add console commands for connect/disconnect 2020-08-26 11:55:19 +02:00
Matthias Ringwald
ac109e6c06 auto-pts: support directed advertising 2020-08-26 11:55:19 +02:00
Matthias Ringwald
5883f94f0f auto-pts: add 'enable connectable mode' and remove no BR/EDR flag 2020-08-26 11:55:19 +02:00
Matthias Ringwald
c76cb5f62e auto-pts: use correct service id for unknown commands 2020-08-26 11:55:18 +02:00
Matthias Ringwald
08ec452872 auto-pts: implement classic inquiry, report found devices 2020-08-26 11:55:18 +02:00
Matthias Ringwald
3d68b5c9c0 auto-pts: add console commands to control discoverable modes, return error for unknown commands 2020-08-26 11:55:18 +02:00
Matthias Ringwald
27e11a37a9 auto-pts: generate connected event for classic 2020-08-26 11:55:18 +02:00
Matthias Ringwald
4854fe27d5 auto-pts: implement gap connect, disconnect + connect/disconnect events 2020-08-26 11:55:18 +02:00
Matthias Ringwald
97fb77d83b auto-pts: support own_addr_type with identity, rpa, non-rpa in start advertising 2020-08-26 11:55:18 +02:00
Matthias Ringwald
b642f327ea auto-pts: check ad flags for general discovery as well [a2412] 2020-08-26 11:55:18 +02:00
Matthias Ringwald
63fa4200e4 auto-pts: use timeout for limited discovery, only report ad with limited discoverable flag set [a2410][a2411] 2020-08-26 11:55:17 +02:00
Matthias Ringwald
4a1d46c437 auto-pts: fix parsing of start advertisement command 2020-08-26 11:55:17 +02:00
Matthias Ringwald
baa9a07aac auto-pts: fix advertisement setup, add console command 2020-08-26 11:55:17 +02:00
Matthias Ringwald
6519249aa5 auto-pts: add TEST_POWER_CYCLE that tests libusb restart reliability 2020-08-26 11:55:17 +02:00
Matthias Ringwald
8372d94edd auto-pts: set AD-Flags based on discoverable type 2020-08-26 11:55:17 +02:00
Matthias Ringwald
f0e3106b0c auto-pts: process BTP advertisement/scan response data 2020-08-26 11:55:17 +02:00
Matthias Ringwald
3f0f513bea auto-pts: set fixed IRK 2020-08-26 11:55:17 +02:00
Matthias Ringwald
f9cd35e37d auto-pts: log BTP to stdout and pklg, implement more gap commands, add console ui 2020-08-26 11:55:16 +02:00
Matthias Ringwald
18f4873093 auto-pts: log socket disconnect 2020-08-26 11:55:16 +02:00
Matthias Ringwald
de782e49b0 auto-pts: log gap settings, make sure gap state is sent after power off, prefix advertisement with AD-Flags 2020-08-26 11:55:16 +02:00