Skip to main content
asala.19
Associate III
May 20, 2020
Question

STM32WB55 BLE Security

  • May 20, 2020
  • 2 replies
  • 1390 views

Hi,

Is there any example/Demo available which represent complete BLE security.

i.e Paring using numeric comparison method and also only authorized person can read or write BLE characteristics.

How we can implement such kind of security in stm32wb55. Please help me if any document or example code is available.

Regards,

Arjun

This topic has been closed for replies.

2 replies

Remi QUINTIN
Technical Moderator
May 20, 2020

The HeartRate project is the only example using pairing mechanism. It is a JustWork example using a push button once the connection is set.

The slave device can request the paring with the aci_gap_slave_security_req command.

The master device can request the paring with aci_gap_send_pairing_req command.

We expect to have a Passkey example soon.

We do not have yet examples showing the BLE privacy feature using the IRK for Private Resolvable Address.

asala.19
asala.19Author
Associate III
May 21, 2020

Hi Remi,

  

Thanks for the quick response.

We want to enable the BLE security Numeric Comparison method which uses ECDH key pair to generate LTK(long term key) with our TPM(HW crypto chip).

Ref blog: https://www.bluetooth.com/blog/bluetooth-pairing-part-4/

So is this possible? if yes then How we can achieve this thing? is there any API flow diagram available for STM32WB55?

Regards,

Arjun

Remi QUINTIN
Technical Moderator
May 27, 2020

Numeric Comparison method  is fully supported by the BLE stack on the STM32WB.

Please have a look at the joint document.