Issue saving OpenThread network info in NVM on the STM32WB55.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-01-31 6:46 PM
I have been trying to have the STM32WB55 save the OpenThread network information after joining the network, so that it can automatically join it upon power cycle.
After joining the network through the commissioning process, I call SHCI_C2_FLASH_StoreData(THREAD_IP), but it doesn't seem to save the information in flash memory. I show the code snippet that calls the function in the Joiner handler below:
static void APP_THREAD_JoinerHandler(otError OtError, void *pContext)
{
if (OtError == OT_ERROR_NONE)
{
SHCI_C2_FLASH_StoreData(THREAD_IP);
OtError = otThreadSetEnabled(NULL, true);
if (OtError != OT_ERROR_NONE)
{
APP_THREAD_Error(ERR_THREAD_START, OtError);
}
APP_DBG("JOIN SUCCESS!");
}
else
APP_THREAD_Error(ERR_THREAD_JOINER_CB, OtError);
}
- Labels:
-
STM32WB series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-03-14 9:09 AM
Hi YTalh,
As far as it seems ST is no answering to Thread related question, did you find any solution?
With the latest lib package the call to SHCI_C2_FLASH_StoreData result in a SHCI_ERR_UNSUPPORTED_FEATURE that is quite strange seen that OpenThread specifications states that some data NEED to be saved in the NVM.
