Bluetooth: Add infrastructure to handle multiple identities

Make it possible to have multiple identity addresses as an LE
peripheral. For central role only the default identity is supported
for now. This also extends the flash storage in a backward compatible
way.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
Johan Hedberg 2018-07-04 12:58:10 +03:00 committed by Johan Hedberg
commit 5708f1e8b1
22 changed files with 340 additions and 168 deletions

View file

@ -382,6 +382,14 @@ config BT_DEVICE_APPEARANCE
consult the following link:
https://www.bluetooth.com/specifications/assigned-numbers
config BT_ID_MAX
int "Maximum number of local identities"
range 1 10
default 1
help
Maximum number of supported local identity addresses. For most
products this is safe to leave as the default value (1).
endif # BT_HCI_HOST
config BT_TINYCRYPT_ECC