Skip to main content
Associate
April 15, 2024
Solved

[BLE] pairing random value is incorrect

  • April 15, 2024
  • 1 reply
  • 1481 views

Hi,

I use STM32BW55.

I get trouble for pairing random value.

pairing random value is 0xffffffffffffffffffffffffffffffff.

How do I resolve it?

I set :

  • static random address
  • IR
  • ER
  • appearance
  • IO capability : No Input/No output
  • Bonding Mode : Bonding Mode
  • Secure Connection : Not support

I attached WireShark's log.

Best answer by mmt-10

I'm sorry for delaying update.

I resolved it.

I set wrong setting for RNG on CubeMX.

I fix setting for RNG, then pairing random value is random number.

1 reply

STTwo-32
Technical Moderator
May 15, 2024

Hello @mmt-10 

Can you give more details and how to reproduce this issue?

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.
mmt-10AuthorBest answer
Associate
May 15, 2024

I'm sorry for delaying update.

I resolved it.

I set wrong setting for RNG on CubeMX.

I fix setting for RNG, then pairing random value is random number.