nimble/host: Add support for storing client supported features values#2114
nimble/host: Add support for storing client supported features values#2114piotrnarajowski wants to merge 4 commits intoapache:masterfrom
Conversation
9ebf182 to
6c00b45
Compare
|
#AutoPTS run mynewt GATT/SR/GAS/BV-04-C |
|
Scheduled PR #2114 (comment), board: nrf52, estimated start time: 15:17:06, test case count: 1, estimated duration: 0:11:01 Test cases to be runGATT/SR/GAS/BV-04-C |
|
AutoPTS Bot results: Successful tests (1)GATT GATT/SR/GAS/BV-04-C PASS |
|
@andrzej-kaczmarek PTAL and enable workflows |
| #endif | ||
|
|
||
| static int | ||
| ble_store_ram_delete_cl_sup_feat(const struct ble_store_key_cl_sup_feat |
Check notice
Code scanning / CodeQL
Unused static function
| } | ||
|
|
||
| static int | ||
| ble_store_ram_read_cl_sup_feat(const struct ble_store_key_cl_sup_feat |
Check notice
Code scanning / CodeQL
Unused static function
| } | ||
|
|
||
| static int | ||
| ble_store_ram_write_cl_sup(const struct ble_store_value_cl_sup_feat |
Check notice
Code scanning / CodeQL
Unused static function
Add support for BLE_STORE_OBJ_TYPE_PEER_CL_SUP_FEAT. This is used for storing values of Client Supported Features for clients with a trusted relationship.
f565cb6 to
ad2f8cd
Compare
This adds support for storing client supported features for clients with a trusted relationship. Fixes Host qualification test case GATT/SR/GAS/BV-04-C
Extend storage unit tests to cover new object type PEER_CL_SUP_FEAT
Fix code style in ble_store.h
ad2f8cd to
3c6f1ab
Compare
|
Fixed coding style issues and updated ble_gatts_peer_cl_sup_feat_update function. Added check for disabling already enabled features for bonded clients |
|
|
||
| #include <inttypes.h> | ||
| #include "nimble/ble.h" | ||
| #include "../../host/src/ble_gatt_priv.h" |
There was a problem hiding this comment.
this needs other solution (eg. move declarations for public headers if now used in API)
we should not include private headers in public headers...
This adds support for storing client supported features for clients with a trusted relationship. Fixes Host qualification test
case GATT/SR/GAS/BV-04-C