mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-21 03:40:47 +00:00
wiced: add btstack_link_key_db_wiced_dct_get_storage_size for Classic Link Key DB
This commit is contained in:
parent
132b48eff2
commit
85447f545f
@ -223,6 +223,10 @@ void btstack_link_key_db_wiced_dct_delete_all(void){
|
||||
}
|
||||
}
|
||||
|
||||
int btstack_link_key_db_wiced_dct_get_storage_size(void){
|
||||
return NVM_NUM_LINK_KEYS * sizeof(link_key_nvm_t);
|
||||
}
|
||||
|
||||
const btstack_link_key_db_t * btstack_link_key_db_wiced_dct_instance(void){
|
||||
return &btstack_link_key_db_wiced_dct;
|
||||
}
|
||||
|
@ -61,6 +61,11 @@ const btstack_link_key_db_t * btstack_link_key_db_wiced_dct_instance(void);
|
||||
*/
|
||||
void btstack_link_key_db_wiced_dct_delete_all(void);
|
||||
|
||||
/*
|
||||
* @brief Get Size of Link DB DCT part
|
||||
*/
|
||||
int btstack_link_key_db_wiced_dct_get_storage_size(void);
|
||||
|
||||
/* API_END */
|
||||
|
||||
#if defined __cplusplus
|
||||
|
Loading…
x
Reference in New Issue
Block a user