Firmware for Arduino | PLEN Project Company Inc.
PLEN2::Protocol::Buffer Class Reference

Buffer struct. More...

#include <Protocol.h>

Public Types

enum  { LENGTH = 128 }
 Buffer length. More...
 

Public Member Functions

 Buffer ()
 Constructor. More...
 

Public Attributes

char data [LENGTH]
 Actual buffer instance. More...
 
uint8_t position
 Current iterator's position. More...
 

Detailed Description

Buffer struct.

Member Enumeration Documentation

anonymous enum

Buffer length.

Attention
The value is required to be at least more than BLE payload length (= 20 bytes), and it should be defined 2^N length for processing the class with high speed.
Enumerator
LENGTH 

Constructor & Destructor Documentation

PLEN2::Protocol::Buffer::Buffer ( )
inline

Constructor.

Member Data Documentation

char PLEN2::Protocol::Buffer::data[LENGTH]

Actual buffer instance.

uint8_t PLEN2::Protocol::Buffer::position

Current iterator's position.


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