Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
BLEDataView Struct Reference

#include <MIDI_Interfaces/BLEMIDI/BLEAPI.hpp>

Detailed Description

Non-owning, std::span-style read-only view of BLE data.

Definition at line 42 of file BLEAPI.hpp.

+ Collaboration diagram for BLEDataView:

Public Member Functions

 operator bool () const
 
 BLEDataView ()=default
 
 BLEDataView (const uint8_t *data, uint16_t length)
 

Public Attributes

const uint8_t * data = nullptr
 
uint16_t length = 0
 

Constructor & Destructor Documentation

◆ BLEDataView() [1/2]

BLEDataView ( )
default

◆ BLEDataView() [2/2]

BLEDataView ( const uint8_t * data,
uint16_t length )
inline

Definition at line 49 of file BLEAPI.hpp.

Member Function Documentation

◆ operator bool()

operator bool ( ) const
inlineexplicit

Definition at line 45 of file BLEAPI.hpp.

Member Data Documentation

◆ data

const uint8_t* data = nullptr

Definition at line 43 of file BLEAPI.hpp.

◆ length

uint16_t length = 0

Definition at line 44 of file BLEAPI.hpp.


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