STM32WB5MM-DK
Unable to run the BLE_LLD_Chat example generated by STM32Cubeide
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-11-25 2:00 AM
/**
* @brief Check if the Coprocessor Wireless Firmware loaded supports Thread
* and display associated informations
* @param None
* @retval None
*/
void CheckWirelessFirmwareInfo(void)
{
WirelessFwInfo_t wireless_info_instance;
WirelessFwInfo_t* p_wireless_info = &wireless_info_instance;
if (SHCI_GetWirelessFwInfo(p_wireless_info) != SHCI_Success)
{
APP_BLE_LLD_Error(ERR_BLE_LLD_CHECK_WIRELESS, 0);
}
else
{
switch(p_wireless_info->StackType)
{
case INFO_STACK_TYPE_BLE_PHY_VALID :
break;
default :
APP_BLE_LLD_Error(ERR_BLE_LLD_CHECK_WIRELESS, 0);
break;
}
}
}
After debug, it was found that the CheckWirelessFirmwareInfo() function reported an error, and the StackType read by the SHCI_GetWirelessFwInfo() function was incorrect.
Labels:
- Labels:
-
BLE
-
STM32CubeIDE
-
STM32WB series
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-12-09 7:01 AM
Hello @Csu.1 ,
Which Cube package version are you using ?
Please make sure to use the latest release of Cube package and CubeIDE tool.
Imen
When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Thanks
Imen
