Commit: 834a45d22ee3295c51827f568160a92dbc87bef6
Parent: db663b1d57895070efb6cabfd78cb1b5c480cb43
Author: Szymon Janc <szymon.janc@codecoup.pl>
Committer: Szymon Janc <szymon.janc@codecoup.pl>
Date: 2018-03-26 17:06:20
Tree: 2e2a38ff9cdd6d6d445ed40f158679fffb79f5b1

Add support for requiring min key size for access GATT characteristics This allows to configure bluetoothd to require minimum encryption key size when accessing GATT server characteristics. It is a global configuration option affecting whole GATT database.

Diffstat

M peripheral/gatt.c | 2 +-
M src/adapter.c | 45 ++++++++++++++++++++++++++++++++- - - - - - - - - - - - -
M src/device.c | 15 +++++++++++++- -
M src/device.h | 1 +
M src/hcid.h | 2 ++
M src/main.c | 17 ++++++++++++++- - -
M src/main.conf | 5 +++++
M src/shared/att.c | 22 +++++++++++++++++++- - -
M src/shared/att.h | 3 ++-
M src/shared/gatt-client.c | 4 ++- -
M src/shared/gatt-server.c | 47 +++++++++++++++++++++++++++++++++++++++- - - - - - - -
M src/shared/gatt-server.h | 3 ++-
M tools/btgatt-server.c | 2 +-
M unit/test-gatt.c | 2 +-

14 files changed, 134 insertions(+), 36 deletions(-)

View Full Diff | Patch