File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
libraries/Bluefruit52Lib/src/utility Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -389,10 +389,10 @@ void bond_clear_all(void)
389
389
InternalFS.mkdir (BOND_DIR_CNTR);
390
390
}
391
391
392
- void bond_remove_key (uint8_t role, uint16_t ediv )
392
+ void bond_remove_key (uint8_t role, ble_gap_addr_t const * id_addr )
393
393
{
394
- // char filename[BOND_FNAME_LEN];
395
- // get_fname(filename, role, ediv );
396
- //
397
- // InternalFS.remove(filename);
394
+ char filename[BOND_FNAME_LEN];
395
+ get_fname (filename, role, id_addr-> addr );
396
+
397
+ InternalFS.remove (filename);
398
398
}
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ void bond_clear_prph(void);
57
57
void bond_clear_cntr (void );
58
58
void bond_clear_all (void );
59
59
60
- void bond_remove_key (uint8_t role , uint16_t ediv ) TU_ATTR_DEPRECATED (" FIXME remove key " );
60
+ void bond_remove_key (uint8_t role , ble_gap_addr_t const * id_addr );
61
61
62
62
bool bond_save_keys (uint8_t role , uint16_t conn_hdl , bond_keys_t const * bkeys );
63
63
bool bond_load_keys (uint8_t role , ble_gap_addr_t * , bond_keys_t * bkeys );
You can’t perform that action at this time.
0 commit comments