Skip to main content
Associate II
Aug 2, 2024 6:36 AM UTC
Question

Implementation of BLE_Hid in STM32CubeWB

Hello. Thanks again for all your appropriate assistance.

I would like to ask a question about the implementation details of BLE_Hid in STM32CubeWB.

> Is the data written by aci_hal_write_config_data saved in NVM area?(Is that implementation already in the sample?)

I would appreciate your response.

Best regars.

 

This topic has been closed for replies.

2 replies

ST Technical Moderator
Aug 9, 2024 4:20 PM UTC

Hello @ELEHM ,

The data written by the aci_hal_write_config_data command is saved in the NVM area. This command is used to configure various parameters of the BLE stack, and the changes made by this command are stored in NVM to ensure they persist across power cycles and resets.

You can refer to these resources that may be helpful for you:

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
ELEHMAuthor
Associate II
Aug 13, 2024 2:19 AM UTC

Hello @Imen.D 

Thanks for the reply.

I now understand how aci_hal_write_config_data works. Thanks.

So am I correct in my understanding that the aci_hal_read_config_data function, in contrast, is used to access data stored in NVM?
If so, do I need to read the data from the storage area before executing the hci_reset function?

Sorry for asking so many questions.

Best regards.