cancel
Showing results for 
Search instead for 
Did you mean: 

Use computer Bluetooth connect to STM32WB board,need PIN

zxin.2116
Associate II

0690X00000AsPxfQAF.png0690X00000AsNqmQAF.png0690X00000AsNqrQAF.jpgI want use computer Bluetooth to communicate with STM32 board .

First, I use ST BLE sensor, succeed.

second,use conputer to connect,I need to write PIN.

Last,I use labview to scan ,I cannot find it.

I want to set up a route from stm32WB to my PC base application .

How can I solve the second step.

the STM32WB use the code is \\ P-NUCLEO-WB55.Nucleo\Applications\BLE

4 REPLIES 4
Stecklo
Senior

Pin is set in aci_gap_set_authentication_requirement(). It is "111111" by default

thanks,I have find it :BleApplicationContext.BleApplicationContext_legacy.bleSecurityParam.Fixed_Pin = 111111;​

but I still connot connect succeed. my computer can connect iphone(2)​ which connect to STM32WB board succeed.

Stecklo
Senior

Which operation system and API do you use on the PC?

Does your Bluetooth adapter support Bluetooth 4.0?