It shall be possible to set security on the link once there is such a requirement from remote server database. Also as a server we should be able to get security level to determine access to characteristics for remote client. Those patches adds support to set/get security level. Those patches are required in order to make Android code to use shared/gatt-client Note that if io is not L2CAP (e.g. unit test), set security level will always succeed and get will always return BT_SECURITY_LOW for now. Lukasz Rymanowski (3): shared/att: Add set/get security level shared/gatt-client: Expose API to set/get security level on att tools/btgatt-client: Add support for set/get security on the link src/shared/att.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++ src/shared/att.h | 3 ++ src/shared/gatt-client.c | 17 ++++++++++++ src/shared/gatt-client.h | 3 ++ tools/btgatt-client.c | 64 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 159 insertions(+) -- 1.8.4 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html