cancel
Showing results for 
Search instead for 
Did you mean: 

Looking for an indication of BLE stack exists on STM32WB55

YWor.1
Associate III

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Remy ISSALYS
ST Employee

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

View solution in original post

1 REPLY 1
Remy ISSALYS
ST Employee

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