Hi,
I'm using CC2564MODA BT module with a custom board based STM32L496.
Our application requires to have both BLE and Classic BT simultaneously. So I use HSP audiogateway in non-assisted mode for audio playback to a headset.
My device is a BLE slave and a Classic Master at the same time.
I have followed the HSPDemo example in which it is not mentioned anything about the automatic re-connection of classic Bt when the master device is power cycled. During the authentication process, the created LinkKey is stored locally. From some older posts, I have understood that I should keep the LinkKey in NV memory for later use. Is there any option in BT stack to store this value in NVM or do we need to handle it in the application?
If I have stored the LinkKey and retrieved it when the device is powered up, how do I get the proper callback to connect the device to the previously paired headset? What command should I issue for that?
Please clarify my doubts.
Thanks,
Indu