struct Core::Bluetooth::IGattCentralAttributeObserver

Overview

#include <coregattcentral.h>

struct IGattCentralAttributeObserver
{
    // methods

    virtual void onReadCompleted(
        const uint8 valueBuffer[],
        int valueSize,
        ErrorCode errorCode
    ) = 0;

    virtual void onWriteCompleted(ErrorCode errorCode) = 0;
};

// direct descendants

struct IGattCentralCharacteristicObserver;
struct IGattCentralDescriptorObserver;

Detailed Documentation

Methods

virtual void onReadCompleted(
    const uint8 valueBuffer[],
    int valueSize,
    ErrorCode errorCode
) = 0

Callback for readAsync().

virtual void onWriteCompleted(ErrorCode errorCode) = 0

Callback for writeAsync().