cancel
Showing results for 
Search instead for 
Did you mean: 

I made a ble observer program based on p2p_client, and Error: Set scan parameters failed (Status = 0x01)

Aboyh
Associate II

Hello,

Based on p2p_client, I want to create an observer program where the device scans the broadcaster/ beacon
I set the scan parameters first, then I enable scan
and an error occurs
i used wireless stack = stm32wb5x_BLE_Stack_full_fw.bin
----------------------------------------------------------------------------------
Error: Set scan parameters failed (Status = 0x01)

Aboyh_0-1730688149008.png

----------------------------------------------------------------------------------
Is the way I did it not right?
If the community has an example of a pure ble observer/ scanner program without connecting to another device, can you give it to me?

I have attached my program code below

Thank you for cooperation.

 

Regards

1 REPLY 1
STTwo-32
ST Employee

Hello @Aboyh 

Unfortunately, there is not any official observer example. 

For the error message that you are receiving. It is normal since to be able to use the HCI_LE_SET_SCAN_PARAMETERS command, you have to upload the stm32wb5x_BLE_Stack_full_extended_fw.bin since the stm32wb5x_BLE_Stack_full_fw.bin does not support the HCI_LE_SET_SCAN_PARAMETERS command.

Best Regards.

STTwo-32

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.