Telink TLSR8232 BLE SDK Developer Handbook
AN-19112700-E1
114
Ver.1.0.0
If the return value is 0, it indicates info obtaining failure; if the return value is non-zero
value, it indicates the starting address of the info in Flash. For example, if there are three
bonding devices currently, to obtain info of the latest connected device, “index” should be
set to
“2”.
blc_smp_param_loadByIndex(2
,
…)
The API below obtains information of bonding device from Flash via Master address
(connection addr in Link Layer).
u32
blc_smp_param_loadByAddr
(
u8
addr_type,
u8
* addr,
smp_param_save_t
* smp_param_load);
If the return value is 0, it indicates info obtaining failure; if the return value is non-zero
value, it indicates the starting address of the info in Flash.