MT2523 API Reference  LinkIt SDK v4
bt_gatts_characteristic_value_t Struct Reference

Characteristic value structure of the GATTS. More...

#include <bt_gatts.h>

Data Fields

union {
   uint8_t   value_uint_8
 The uint8 value of the characteristic. More...
 
   uint16_t   value_uint_16
 The uint16 value of the characteristic. More...
 
   uint32_t   value_uint_32
 The uint32 value of the characteristic. More...
 
   int8_t   value_int_8
 The int8 value of the characteristic. More...
 
   int16_t   value_int_16
 The int16 value of the characteristic. More...
 
   int32_t   value_int_32
 The int32 value of the characteristic. More...
 
   bt_gatts_rec_callback_t   callback
 If the length rec_hdr.value_len is 0 the callback should handle the read and write requests. More...
 
}; 
 

Detailed Description

Characteristic value structure of the GATTS.

Field Documentation

If the length rec_hdr.value_len is 0 the callback should handle the read and write requests.

int16_t value_int_16

The int16 value of the characteristic.

int32_t value_int_32

The int32 value of the characteristic.

int8_t value_int_8

The int8 value of the characteristic.

uint16_t value_uint_16

The uint16 value of the characteristic.

uint32_t value_uint_32

The uint32 value of the characteristic.

uint8_t value_uint_8

The uint8 value of the characteristic.


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