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 |
|
Matthias Ringwald
|
296e7eac7f
|
test/auto-pts: ignore Service Changed indications in btpclient
|
2021-06-09 10:07:29 +02:00 |
|
Matthias Ringwald
|
905c28a62c
|
l2cap_signaling: mark classic-only parts
|
2021-06-09 10:07:29 +02:00 |
|
Milanka Ringwald
|
76cdba3e40
|
test/gatt-service-client: test connect
|
2021-06-08 15:21:35 +02:00 |
|
Milanka Ringwald
|
8546175965
|
gatt-service: query characteristic value, only if previously found
|
2021-06-08 15:21:35 +02:00 |
|
Milanka Ringwald
|
7da2c1bab6
|
test/mock: handle query for services and characteristics
|
2021-06-08 15:21:35 +02:00 |
|
Milanka Ringwald
|
4436e8564b
|
gatt-services/battery_service_client: validate that services contain battery level characteristic
|
2021-06-08 15:21:35 +02:00 |
|
Matthias Ringwald
|
1287373805
|
test/auto-pts: disable gatt client pairing
|
2021-06-08 13:32:10 +02:00 |
|
Milanka Ringwald
|
a0d1b860d4
|
ble/gatt-service: fix complie
|
2021-06-07 17:48:48 +02:00 |
|
Milanka Ringwald
|
af7704047a
|
test/gatt-service-clien: simulate GATT_EVENT_QUERY_COMPLETE event
|
2021-06-07 17:43:42 +02:00 |
|
Milanka Ringwald
|
5fa2c39a49
|
ble/gatt-service: avoid use after free in GATT service clients
|
2021-06-07 17:43:42 +02:00 |
|
Milanka Ringwald
|
4011bbc579
|
gatt-service/battery_service_client: implement de-init
|
2021-06-07 17:43:42 +02:00 |
|
Milanka Ringwald
|
0f7fd6c19b
|
test/gatt-service-client: mock gatt_client, add skeleton test code for battery service client
|
2021-06-07 17:43:42 +02:00 |
|
Milanka Ringwald
|
828d79a6b4
|
test/gatt_client: fix makefile
|
2021-06-07 17:43:42 +02:00 |
|
Milanka Ringwald
|
3402111e20
|
gatt-service: remove unused includes from GATT clients
|
2021-06-07 17:43:42 +02:00 |
|
Matthias Ringwald
|
e3be979d4c
|
test/coverage: use whitelist for bat subset
|
2021-06-07 10:44:40 +02:00 |
|
Matthias Ringwald
|
b0e4fcd554
|
add missing includes to fix build
|
2021-06-05 16:52:58 +02:00 |
|
Matthias Ringwald
|
2602fc6597
|
test/security_manager_sc: update usb dongle paths
|
2021-06-05 16:27:27 +02:00 |
|
Matthias Ringwald
|
3cfa40866d
|
Remove stdio.h include from btstack_debug.h, add to individual files
|
2021-06-05 16:27:27 +02:00 |
|
Matthias Ringwald
|
2cd41b3385
|
remove leftover debug printf
|
2021-06-05 16:27:27 +02:00 |
|
Milanka Ringwald
|
48cdff9c38
|
MISRAC2012-Rule-8.3_b: match function declaration and definition
|
2021-06-03 13:03:13 +02:00 |
|
Milanka Ringwald
|
b45b7749fd
|
MISRAC2012-Rule-8.3_b: match function declaration and definition
|
2021-06-03 11:35:40 +02:00 |
|
Milanka Ringwald
|
2ea56b0c3a
|
docu: use filename instead of title for API submenu
|
2021-06-03 08:50:02 +02:00 |
|
Milanka Ringwald
|
c436b76054
|
att_db: fix spelling, update API docu
|
2021-06-03 08:50:02 +02:00 |
|
Matthias Ringwald
|
60589707ee
|
Merge pull request #359 from dlech/gatt-client-const-uuid128
ble/gatt_client: add const qualifier to uuid128
|
2021-06-02 19:15:33 +02:00 |
|
Matthias Ringwald
|
41f9be703f
|
avoid function param modification
|
2021-06-02 19:11:43 +02:00 |
|