Skip to main content
Csu.11
Associate II
Nov 25, 2021 10:00 AM UTC
Question

STM32WB5MM-DK Unable to run the BLE_LLD_Chat example generated by STM32Cubeide

/**
 * @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.

This topic has been closed for replies.

1 reply

ST Technical Moderator
Dec 9, 2021 3:01 PM UTC

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

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