NimBLE: Add Host based privacy (RPA) feature support

- This feature removes dependency on controller to use privacy (RPA)
This commit is contained in:
Prasad Alatkar
2020-03-06 11:02:18 +08:00
committed by Anton Maklakov
parent a3816bcb75
commit 48bd2d74b4
5 changed files with 19 additions and 3 deletions

View File

@@ -10,9 +10,11 @@ This example aims at understanding GATT database configuration, advertisement an
It also demonstrates security features of NimBLE stack. SMP parameters like I/O capabilities of device, Bonding flag, MITM protection flag and Secure Connection only mode etc., can be configured through menuconfig options.
For RPA feature (currently Host based privacy feature is supported), use API `ble_hs_pvcy_rpa_config` to enable/disable host based privacy. `own_addr_type` needs to be set to `BLE_ADDR_RANDOM` to use this feature.
To test this demo, any BLE scanner app can be used.
A Python based utility `bleprph_test.py` is also provided (which will run as a BLE GATT Client) and can be used to test this example.
A Python based utility `bleprph_test.py` is also provided (which will run as a BLE GATT Client) and can be used to test this example.
Note :