1.2.2.1.2.1.17 Permission key size

C

#define ATT_PERMISSION_KEY_SIZE                             0x10

Description

The definition of of permission key size.

Note

Attribute might require permission (Encryption/Authentication Permission) to be accessed. The key size defines the minimum length of the pairing key.

Key size shorter than this length is considered as unsafe authentication/encryption. Length ranges from 7 bytes to 16 bytes.

Set to zero to disable the key size checking.

Macro Definition

MacroDescription
ATT_PERMISSION_KEY_SIZEMinimum length of the pairing key.