Structure representing a request to add an attribute in the BLE stack.

Public Attributes#

void *

service handler

uint16_t

Attribute handle.

uint16_t

If this variable is 1, Host has to maintain attributes and records in the application.

Attribute type UUID.

uint8_t

Attribute property.

uint16_t

Attribute data length.

uint8_t

Attribute data.

Public Attribute Documentation#

serv_handler#

void* rsi_ble_req_add_att_s::serv_handler

service handler


handle#

uint16_t rsi_ble_req_add_att_s::handle

Attribute handle.


config_bitmap#

uint16_t rsi_ble_req_add_att_s::config_bitmap

If this variable is 1, Host has to maintain attributes and records in the application.

  • If 0, Stack will maintain the attributes and records


att_uuid#

uuid_t rsi_ble_req_add_att_s::att_uuid

Attribute type UUID.


property#

uint8_t rsi_ble_req_add_att_s::property

Attribute property.


data_len#

uint16_t rsi_ble_req_add_att_s::data_len

Attribute data length.


data#

uint8_t rsi_ble_req_add_att_s::data[RSI_DEV_ATT_LEN]

Attribute data.

The maximum value is 240, please refer RSI_DEV_ATT_LEN Macro