2022-05-12 04:19 AM
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.
Solved! Go to Solution.
2022-05-18 12:54 AM
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
2022-05-18 12:54 AM
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