Skip to main content
YWor.1
Associate III
May 12, 2022
Solved

Looking for an indication of BLE stack exists on STM32WB55

  • May 12, 2022
  • 1 reply
  • 670 views

Hi.

I trying to find out which BLE stack FW is installed on CPU2 at runtime. Is there any command or buffer that I can read to find out if BLE_stack_full, BLE_stack_basic or BLE_stack_light is installed?

Thanks.

Yair.

This topic has been closed for replies.
Best answer by Remy ISSALYS

Hello,

You can use SHCI_GetWirelessFwInfo command in order to recover stack type, like this:

WirelessFwInfo_t WirelessInfo;
SHCI_GetWirelessFwInfo( &WirelessInfo );
switch(WirelessInfo.StackType)
{
 case INFO_STACK_TYPE_BLE_FULL:
 APP_DBG_MSG("Wireless Firmware Type : Ble Full\n");
 break;
 
 case INFO_STACK_TYPE_BLE_FULL_EXT_ADV:
 APP_DBG_MSG("Wireless Firmware Type : Ble Full Extended\n");
 break;
 
 ...
}

Stack type are defined in shci.h file.

Best Regards

1 reply

Remy ISSALYS
Remy ISSALYSBest answer
Technical Moderator
May 18, 2022

Hello,

You can use SHCI_GetWirelessFwInfo command in order to recover stack type, like this:

WirelessFwInfo_t WirelessInfo;
SHCI_GetWirelessFwInfo( &WirelessInfo );
switch(WirelessInfo.StackType)
{
 case INFO_STACK_TYPE_BLE_FULL:
 APP_DBG_MSG("Wireless Firmware Type : Ble Full\n");
 break;
 
 case INFO_STACK_TYPE_BLE_FULL_EXT_ADV:
 APP_DBG_MSG("Wireless Firmware Type : Ble Full Extended\n");
 break;
 
 ...
}

Stack type are defined in shci.h file.

Best Regards