This is an old version of the documentation. View the latest version here.
Control Surface  1.0.0
MIDI Control Surface library for Arduino
Public Member Functions | Private Attributes | List of all members
BLEMIDI Class Reference

#include <BLEMIDI.hpp>

Collaboration diagram for BLEMIDI:

Public Member Functions

 ~BLEMIDI ()
 
void setServerCallbacks (BLEServerCallbacks *cb)
 
void setCharacteristicsCallbacks (BLECharacteristicCallbacks *cb)
 
void begin (BLEServerCallbacks *serverCallbacks, BLECharacteristicCallbacks *midiCallbacks)
 
void notifyValue (uint8_t *data, size_t len)
 
std::string getValue ()
 

Private Attributes

BLECharacteristic * pCharacteristic = nullptr
 
BLEServer * pServer = nullptr
 
BLE2902 * descriptor
 

Detailed Description

Definition at line 24 of file BLEMIDI.hpp.

Constructor & Destructor Documentation

◆ ~BLEMIDI()

BLEMIDI::~BLEMIDI ( )
inline

Definition at line 26 of file BLEMIDI.hpp.

Member Function Documentation

◆ setServerCallbacks()

void BLEMIDI::setServerCallbacks ( BLEServerCallbacks *  cb)
inline
Note
Must be called after begin.

Definition at line 33 of file BLEMIDI.hpp.

◆ setCharacteristicsCallbacks()

void BLEMIDI::setCharacteristicsCallbacks ( BLECharacteristicCallbacks *  cb)
inline
Note
Must be called after begin.

Definition at line 44 of file BLEMIDI.hpp.

◆ begin()

void BLEMIDI::begin ( BLEServerCallbacks *  serverCallbacks,
BLECharacteristicCallbacks *  midiCallbacks 
)
inline

Definition at line 52 of file BLEMIDI.hpp.

◆ notifyValue()

void BLEMIDI::notifyValue ( uint8_t *  data,
size_t  len 
)
inline

Definition at line 92 of file BLEMIDI.hpp.

◆ getValue()

std::string BLEMIDI::getValue ( )
inline

Definition at line 97 of file BLEMIDI.hpp.

Member Data Documentation

◆ pCharacteristic

BLECharacteristic* BLEMIDI::pCharacteristic = nullptr
private

Definition at line 100 of file BLEMIDI.hpp.

◆ pServer

BLEServer* BLEMIDI::pServer = nullptr
private

Definition at line 101 of file BLEMIDI.hpp.

◆ descriptor

BLE2902* BLEMIDI::descriptor
private

Definition at line 102 of file BLEMIDI.hpp.


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