struct Core::Bluetooth::IGattCentralAttribute

Overview

#include <coregattcentral.h>

struct IGattCentralAttribute
{
    // methods

    virtual ErrorCode readAsync () = 0;
    virtual ErrorCode writeAsync (const uint8 valueBuffer [], int valueSize) = 0;
};

Detailed Documentation

Methods

virtual ErrorCode readAsync () = 0

Request the current value of the attribute.

virtual ErrorCode writeAsync (const uint8 valueBuffer [], int valueSize) = 0

Write a new value to the attribute.