Implementation of BLE_Hid in STM32CubeWB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-01 11:36 PM
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.
- Labels:
-
BLE
-
STM32WB series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-09 9:20 AM - edited ‎2024-08-09 9:21 AM
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:
- How to build wireless applications with STM32WB MCUs - Application note
- STM32CubeWBA: Flash management - stm32mcu
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-12 7:19 PM
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.
