+ Collaboration diagram for Attribute Permission Bit:

Macros

#define BLE_GATTS_BROADCAST   (0x01)
 In one byte, bit0 means: Broadcast bit. More...
 
#define BLE_GATTS_READ   (0x02)
 In one byte, bit1 means: Read bit. More...
 
#define BLE_GATTS_WRITE_CMD   (0x04)
 In one byte, bit2 means: Write_cmd bit. More...
 
#define BLE_GATTS_WRITE_REQ   (0x08)
 In one byte, bit3 means: Write_req bit. More...
 
#define BLE_GATTS_NOTIFY   (0x10)
 In one byte, bit4 means: Notify bit. More...
 
#define BLE_GATTS_INDICATE   (0x20)
 In one byte, bit5 means: Indicate bit. More...
 
#define BLE_GATTS_WRITE_SIGNED   (0x40)
 In one byte, bit6 means: Write_signed bit. More...
 
#define BLE_GATTS_EXT_PROP   (0x80)
 In one byte, bit7 means: Ext_property bit. More...
 

Detailed Description

Macro Definition Documentation

◆ BLE_GATTS_BROADCAST

#define BLE_GATTS_BROADCAST   (0x01)

In one byte, bit0 means: Broadcast bit.

Used by BLE_GATTS_BROADCAST_ENABLE.

Definition at line 76 of file ble_gatts.h.

◆ BLE_GATTS_EXT_PROP

#define BLE_GATTS_EXT_PROP   (0x80)

In one byte, bit7 means: Ext_property bit.

Used by BLE_GATTS_EXT_PROP_ENABLE.

Definition at line 83 of file ble_gatts.h.

◆ BLE_GATTS_INDICATE

#define BLE_GATTS_INDICATE   (0x20)

In one byte, bit5 means: Indicate bit.

Used by BLE_GATTS_INDICATE_PERM_UNSEC, BLE_GATTS_INDICATE_PERM

Definition at line 81 of file ble_gatts.h.

◆ BLE_GATTS_NOTIFY

#define BLE_GATTS_NOTIFY   (0x10)

In one byte, bit4 means: Notify bit.

Used by BLE_GATTS_NOTIFY_PERM_UNSEC, BLE_GATTS_NOTIFY_PERM.

Definition at line 80 of file ble_gatts.h.

◆ BLE_GATTS_READ

#define BLE_GATTS_READ   (0x02)

In one byte, bit1 means: Read bit.

Used by BLE_GATTS_READ_PERM_UNSEC, BLE_GATTS_READ_PERM

Definition at line 77 of file ble_gatts.h.

◆ BLE_GATTS_WRITE_CMD

#define BLE_GATTS_WRITE_CMD   (0x04)

In one byte, bit2 means: Write_cmd bit.

Used by BLE_GATTS_WRITE_CMD_PERM_UNSEC, BLE_GATTS_WRITE_CMD_PERM.

Definition at line 78 of file ble_gatts.h.

◆ BLE_GATTS_WRITE_REQ

#define BLE_GATTS_WRITE_REQ   (0x08)

In one byte, bit3 means: Write_req bit.

Used by BLE_GATTS_WRITE_REQ_PERM_UNSEC, BLE_GATTS_WRITE_REQ_PERM.

Definition at line 79 of file ble_gatts.h.

◆ BLE_GATTS_WRITE_SIGNED

#define BLE_GATTS_WRITE_SIGNED   (0x40)

In one byte, bit6 means: Write_signed bit.

Used by BLE_GATTS_WRITE_SIGNED_PERM_UNSEC, BLE_GATTS_WRITE_SIGNED_PERM.

Definition at line 82 of file ble_gatts.h.