adaptation for book and plug demo

Dependents:   BookAndPlug

Fork of BLE_API by Bluetooth Low Energy

Embed: (wiki syntax)

« Back to documentation index

CharacteristicDescriptorDiscovery Class Reference

CharacteristicDescriptorDiscovery Class Reference

Contain all definitions of callbacks and callbacks parameters types related to characteristic descriptor discovery. More...

#include <CharacteristicDescriptorDiscovery.h>

Data Structures

struct  DiscoveryCallbackParams_t
 Parameter type of CharacteristicDescriptorDiscovery::DiscoveryCallback_t. More...
struct  TerminationCallbackParams_t
 Parameter type of CharacteristicDescriptorDiscovery::TerminationCallback_t. More...

Public Types

typedef
FunctionPointerWithContext
< const
DiscoveryCallbackParams_t * > 
DiscoveryCallback_t
 Callback type for when a matching characteristic descriptor is found during characteristic descriptor discovery.
typedef
FunctionPointerWithContext
< const
TerminationCallbackParams_t * > 
TerminationCallback_t
 Callback type for when characteristic descriptor discovery terminates.

Detailed Description

Contain all definitions of callbacks and callbacks parameters types related to characteristic descriptor discovery.

This class act like a namespace for characteristic descriptor discovery types. It act like ServiceDiscovery by providing callbacks and callbacks parameters types related to the characteristic descriptor discovery process but contrary to ServiceDiscovery class, it does not force the porter to use a specific interface for the characteristic descriptor discovery process.

Definition at line 35 of file CharacteristicDescriptorDiscovery.h.


Member Typedef Documentation

Callback type for when a matching characteristic descriptor is found during characteristic descriptor discovery.

Parameters:
paramA pointer to a DiscoveryCallbackParams_t object which will remain valid for the lifetime of the callback. Memory for this object is owned by the BLE_API eventing framework. The application can safely make a persistent shallow-copy of this object in order to work with the service beyond the callback.

Definition at line 85 of file CharacteristicDescriptorDiscovery.h.

Callback type for when characteristic descriptor discovery terminates.

Parameters:
paramA pointer to a TerminationCallbackParams_t object which will remain valid for the lifetime of the callback. Memory for this object is owned by the BLE_API eventing framework. The application can safely make a persistent shallow-copy of this object in order to work with the service beyond the callback.

Definition at line 96 of file CharacteristicDescriptorDiscovery.h.