cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB55 BLE Security

asala.19
Associate III

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

3 REPLIES 3
Remi QUINTIN
ST Employee

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.

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
ST Employee

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

Please have a look at the joint document.