BLE_API v2.1.3

Data Fields
ATTRIBUTE_BLE Struct Reference
BLE Host and Profile Subsystem Definition » BLE Profile Subsystem Structure Definition

BLE Service Declaration With An Attribute. More...

`#include <ble_host.h>`

## Data Fields
void * | uuidType
void * | uuidValue
uint16_t | lenValue
uint8_t | propertyValue
uint8_t | permFormatDB
void(* | attCallFunc )(BLE_Event_AttParam *AttParam)

## Detailed Description

BLE Service Declaration With An Attribute.

## Field Documentation

## ◆ attCallFunc

void(* ATTRIBUTE_BLE::attCallFunc) (BLE_Event_AttParam *AttParam)

Register callback function.

## ◆ lenValue

uint16_t ATTRIBUTE_BLE::lenValue

The length of attribute value.

## ◆ permFormatDB

uint8_t ATTRIBUTE_BLE::permFormatDB

UUID format and characteristic permission.

## ◆ propertyValue

uint8_t ATTRIBUTE_BLE::propertyValue

Characteristic properties.

## ◆ uuidType

void* ATTRIBUTE_BLE::uuidType

Attribute type which defined by a UUID, an UUID is used to identify every attribute type.

## ◆ uuidValue

void* ATTRIBUTE_BLE::uuidValue

Attribute Value shall be the 16-bit Bluetooth UUID or 128-bit UUID for the service/ characteristic, known as the service/ characteristic UUID.

The documentation for this struct was generated from the following file:

- Source/Include/ble_host.h