mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-01 00:28:18 +00:00
wiced: add le_device_db_wiced_dct_get_storage_size
This commit is contained in:
parent
247956ea1e
commit
ad1a357b97
@ -289,3 +289,7 @@ void le_device_db_dump(void){
|
||||
log_info_key("irk", entry.irk);
|
||||
}
|
||||
}
|
||||
|
||||
int le_device_db_wiced_dct_get_storage_size(void){
|
||||
return NVM_NUM_LE_DEVICES * sizeof(le_device_nvm_t);
|
||||
}
|
||||
|
@ -48,6 +48,8 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
/* API_START */
|
||||
|
||||
/**
|
||||
@ -55,6 +57,11 @@ extern "C" {
|
||||
*/
|
||||
void le_device_db_wiced_dct_set_start_address(uint32_t start_address);
|
||||
|
||||
/*
|
||||
* @brief Get Size of LE Device DB DCT part
|
||||
*/
|
||||
int le_device_db_wiced_dct_get_storage_size(void);
|
||||
|
||||
/*
|
||||
* @brief Delete all le device entries
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user