cancel
Showing results for 
Search instead for 
Did you mean: 

How do we enable BLE scanning on STM32WB5x?

MSing.1713
Associate III

This is a repost because the forum decided that my follow-up was a 'solution'.

We want to scan using the BLE Full stack, v1.21.  What is happening is that the BLE stack is claiming that these HCI commands are unsupported. 

HCI_LE_SetScan_Parameters
HCI_LE_SetScan_Enable
HCI_LE_Set_Extended_Scan_Parameters
HCI_LE_Set_Extended_Scan_Enable
HCI_Read_Local_Supported_Commands

The last one is unexpected.

The AN5270 doesn't list the 'full' stack among the firmware that is documented as having specific commands.  Section 2.1:

In Table 1 "Y" means that the corresponding command applies to the dedicated Bluetooth® Low Energy (BLE) stack variant, namely LO / BO / PO / BF / LB, respectively, for Link layer only / Beacon only / Peripheral only / Basic feature / Link layer only basic.

Is there another place for documentation on the supported HCI commands per stack?  Is there another set of commands we should be used to enable scanning?

Cheers

0 REPLIES 0