12774 Commits

Author SHA1 Message Date
Milanka Ringwald
7db51b3755 test/gatt-service-client: add device information client tests 2021-06-16 09:36:40 +02:00
Milanka Ringwald
2b60725a79 test/gatt-service-client: add device information client test 2021-06-15 17:12:36 +02:00
Milanka Ringwald
bd8c526a6c test/gatt-service-client: clean up battery test 2021-06-15 17:12:07 +02:00
Milanka Ringwald
66881873e3 gatt-service/device_information_service_client: prevent calling query twice 2021-06-15 17:11:32 +02:00
Milanka Ringwald
498fd4ba42 gatt-service/device_information_service_client: handle service without characteristics 2021-06-15 17:10:31 +02:00
Milanka Ringwald
a58af5a9d3 gatt-service/device_information_service_client: refactor query done 2021-06-15 17:09:55 +02:00
Milanka Ringwald
26dcf8356f gatt-service/device_information_service_client: fix function pointer, extend finalize client 2021-06-15 17:08:40 +02:00
Milanka Ringwald
e92f7a17ed test/mock: extend functionality 2021-06-15 16:57:09 +02:00
Matthias Ringwald
406aa36651 test/gatt-service-client: add CMake project 2021-06-14 17:01:47 +02:00
Matthias Ringwald
43bef108c2 test/gatt-service-client: ancs_client_test 2021-06-14 17:01:47 +02:00
Matthias Ringwald
41866fd3e0 gatt-service/ancs_service: cleanup, add coverage helper 2021-06-14 17:01:47 +02:00
Matthias Ringwald
7dbac95571 test/mock: support uuid128 in mock_gatt_client, support indications 2021-06-14 17:01:47 +02:00
Milanka Ringwald
db990ff995 .gitignore build* folders 2021-06-14 17:01:47 +02:00
Milanka Ringwald
86d0910f31 gatt-service-client/ancs-client: setup test 2021-06-14 17:01:47 +02:00
Milanka Ringwald
eb80b8cf0d example/a2dp_sink_demo: fix conversion AVDTP to SBC channel mode 2021-06-14 13:49:14 +02:00
Milanka Ringwald
a2e9e6d72f avrcp: fix AVRCP button release request 2021-06-14 13:20:01 +02:00
Milanka Ringwald
b623cfeb1d avrcp_controller: improve variable names 2021-06-14 11:03:55 +02:00
Milanka Ringwald
10264417a0 avrcp: fix operation IDs 2021-06-14 10:11:25 +02:00
Milanka Ringwald
d73b1693fc src/hfp: remove printf from library 2021-06-14 09:46:38 +02:00
Matthias Ringwald
2eea7a3576 btstack_debug: add btstack_unreachable() e.g. to mark switch default that should not be reached 2021-06-12 12:11:29 +02:00
Matthias Ringwald
e0ff5d41db test: fix c/c++ mixed compile warning, streamline makefile 2021-06-12 12:03:02 +02:00
Matthias Ringwald
04d1de7f2d example: revert accidental commit 2021-06-12 00:08:36 +02:00
Matthias Ringwald
98ef7bd9eb gatt-services/battery_service_client: fix compile for pts test 2021-06-11 23:08:40 +02:00
Milanka Ringwald
578a1772ce gatt-services/battery_service_client: remove left-over break 2021-06-11 22:51:33 +02:00
Milanka Ringwald
f837410276 test/gatt-service-client: more tests 2021-06-11 22:49:46 +02:00
Milanka Ringwald
7e693ad3d4 test/mock: extend mock_gatt_client 2021-06-11 22:49:46 +02:00
Milanka Ringwald
2da54b5b8b gatt-services/battery_service_client: extract battery_service_start_polling_if_needed, reduce branches 2021-06-11 22:49:46 +02:00
Milanka Ringwald
3e103d3c80 gatt-services/battery_service_client: verify value length 2021-06-11 22:49:46 +02:00
Milanka Ringwald
76eae86790 gatt-services/battery_service_client: remove unreachable code 2021-06-11 22:49:46 +02:00
Milanka Ringwald
13ca7098d4 gatt-services/battery_service_client: fix querying characteristic configuration 2021-06-11 22:49:46 +02:00
Milanka Ringwald
6289ff84c3 gatt-services/battery_service_client: fix read characteristic descriptor 2021-06-11 22:49:46 +02:00
Milanka Ringwald
9eca220635 gatt-services/battery_service_client: use btstack_next_cid_ignoring_zero 2021-06-11 22:49:46 +02:00
Matthias Ringwald
6a79f6bafc fix Classic-only compile 2021-06-11 14:57:28 +02:00
Matthias Ringwald
f58736741d fix build 2021-06-11 13:03:56 +02:00
Matthias Ringwald
e06798b61b example: use AD Flags 0x02 in dual-mode examples 2021-06-11 12:07:51 +02:00
Matthias Ringwald
f7e6a692b0 gap: stop LE connecting if create connection fails (e.g. connectable adv active and multiple roles not supported) 2021-06-11 11:35:27 +02:00
Matthias Ringwald
ba9fc86712 sm: fix race condition between local address changes and pairing procedure
Cahce address active for connection/advertisements on connection complete
2021-06-11 11:27:17 +02:00
Matthias Ringwald
6bcfa63272 gap: cache own address on start advertising and connecting, provide getters 2021-06-11 11:24:08 +02:00
Matthias Ringwald
d5314cbe14 sm: cache local address in sm_connection_t at connection complete 2021-06-11 10:15:54 +02:00
Matthias Ringwald
6edb4dfb63 test/auto-pts: disable advertisements on power off 2021-06-10 17:28:41 +02:00
Matthias Ringwald
dbd5dcc31a gap: avoid requesting authentication twice 2021-06-10 16:05:53 +02:00
Matthias Ringwald
e9f98c4a52 gap: store link key in hci connection struct to allow authenticate after pairing without bonding 2021-06-10 15:45:12 +02:00
Milanka Ringwald
a73d0b9d3c btstack_util: add btstack_next_cid_ignoring_zero 2021-06-09 11:19:15 +02:00
Milanka Ringwald
98f6d969a9 test/gatt-service-client: new tests for battery service client 2021-06-09 10:50:09 +02:00
Milanka Ringwald
ec1a0dae0a test/mock: enable set errors for discovery commands 2021-06-09 10:50:09 +02:00
Milanka Ringwald
6ad61799b1 test/mock: fix handle when service is empty 2021-06-09 10:50:09 +02:00
Milanka Ringwald
5b92fca970 test/mock: fix item order in service declaration 2021-06-09 10:50:09 +02:00
Milanka Ringwald
24152f0859 test/mock: implement read_value_of_characteristic 2021-06-09 10:50:09 +02:00
Milanka Ringwald
d41a8f5111 test/mock: rename states 2021-06-09 10:50:09 +02:00
Milanka Ringwald
a3d5cd9f83 gatt-service/battery_service_client: remove unreachable code, replace check with assert 2021-06-09 10:50:09 +02:00