struct Core::Bluetooth::IGattCentralCharacteristicObserver
Overview
#include <coregattcentral.h> struct IGattCentralCharacteristicObserver: public Core::Bluetooth::IGattCentralAttributeObserver { // methods virtual void onGetDescriptorsCompleted ( IGattCentralDescriptor* descriptors [], int numDescriptors, ErrorCode errorCode ) = 0; virtual void onSubscribeCompleted (ErrorCode errorCode) = 0; virtual void onUnsubscribeCompleted (ErrorCode errorCode) = 0; virtual void onNotificationReceived (const uint8 valueBuffer [], int valueSize) = 0; };
Inherited Members
public: // methods virtual void onReadCompleted ( const uint8 valueBuffer [], int valueSize, ErrorCode errorCode ) = 0; virtual void onWriteCompleted (ErrorCode errorCode) = 0;
Detailed Documentation
Methods
virtual void onGetDescriptorsCompleted ( IGattCentralDescriptor* descriptors [], int numDescriptors, ErrorCode errorCode ) = 0
Callback for getDescriptorsAsync().
virtual void onSubscribeCompleted (ErrorCode errorCode) = 0
Callback for subscribeAsync().
virtual void onUnsubscribeCompleted (ErrorCode errorCode) = 0
Callback for unsubscribeAsync().
virtual void onNotificationReceived (const uint8 valueBuffer [], int valueSize) = 0
If this characteristic has been subscribed to: This function is called whever the value of this characteristic changes by other actors.
If this GATT central changes the value with writeAsync(), it responds with onWriteCompleted() instead.