BLE_API v2.1.3

Macros
BLE Attribute Permission Definition
BLE ATT/ GATT Definition » BLE ATT/ GATT Definition for "ATTRIBUTE_BLE"

## Macros
#define | ATT_PERMISSION_ENC_READ 0x04
#define | ATT_PERMISSION_ENC_WRITE 0x08
#define | ATT_PERMISSION_AUTHE_READ 0x10
#define | ATT_PERMISSION_AUTHE_WRITE 0x20
#define | ATT_PERMISSION_AUTHO_READ 0x40
#define | ATT_PERMISSION_AUTHO_WRITE 0x80

## Detailed Description

BLE attribute permission definition for "propertyValue" in ATTRIBUTE_BLE.

Note
  bit[2:7] in "UUID format and characteristic permission".

## Macro Definition Documentation

## ◆ ATT_PERMISSION_AUTHE_READ

#define ATT_PERMISSION_AUTHE_READ 0x10

The attribute is authentication required for the remote read access.

## ◆ ATT_PERMISSION_AUTHE_WRITE

#define ATT_PERMISSION_AUTHE_WRITE 0x20

The attribute is authentication required for the remote write access.

## ◆ ATT_PERMISSION_AUTHO_READ

#define ATT_PERMISSION_AUTHO_READ 0x40

The attribute is authorization required for the remote read access.

## ◆ ATT_PERMISSION_AUTHO_WRITE

#define ATT_PERMISSION_AUTHO_WRITE 0x80

The attribute is authorization required for the remote write access.

## ◆ ATT_PERMISSION_ENC_READ

#define ATT_PERMISSION_ENC_READ 0x04

The attribute is encryption required for the remote read access.

## ◆ ATT_PERMISSION_ENC_WRITE

#define ATT_PERMISSION_ENC_WRITE 0x08

The attribute is encryption required for the remote write access.