BayEOS-Arduino  1.8.0_0.0.4
Public Member Functions | List of all members
BayEOSBufferRAM Class Reference
Inheritance diagram for BayEOSBufferRAM:

Public Member Functions

 BayEOSBufferRAM (void)
 BayEOSBufferRAM (uint16_t max_length, uint16_t min_free=100)
 BayEOSBufferRAM (uint8_t *buffer, unsigned long max_length)
- Public Member Functions inherited from BayEOSBuffer
unsigned long available (void)
uint8_t freeSpace (uint8_t length)
int readPacket (uint8_t *dest)
uint8_t readBinary (unsigned long pos, uint8_t length, uint8_t *dest)
uint8_t readBinary (unsigned long pos, unsigned long end, uint8_t length, uint8_t *dest)
void next (void)
void set (unsigned long pos)
void seekReadPointer (unsigned long pos)
void reset (void)
uint8_t addPacket (const uint8_t *payload, uint8_t length)
uint8_t initPacket (unsigned long pos)
uint8_t initNextPacket (void)
uint8_t packetLength (void)
unsigned long packetMillis (void)
void setRTC (RTC &rtc, boolean absolute_time=true)
uint8_t rtc (void)
unsigned long getTime (void)
unsigned long writePos (void)
unsigned long readPos (void)
unsigned long endPos (void)
unsigned long length (void)

Additional Inherited Members

- Public Attributes inherited from BayEOSBuffer
boolean _absoluteTime
boolean _framesDiscarded
- Protected Member Functions inherited from BayEOSBuffer
uint8_t b_write (const uint8_t b)
uint8_t b_write (const uint8_t *b, uint8_t length)
int b_read ()
int b_read (uint8_t *dest, int length)
uint8_t b_seek (unsigned long pos)
- Protected Attributes inherited from BayEOSBuffer
unsigned long _max_length
unsigned long _read_pos
unsigned long _write_pos
unsigned long _pos
unsigned long _end

Detailed Description

Definition at line 13 of file BayEOSBufferRAM.h.

Constructor & Destructor Documentation

◆ BayEOSBufferRAM() [1/3]

BayEOSBufferRAM::BayEOSBufferRAM ( void  )

Constructor ...

Definition at line 3 of file BayEOSBufferRAM.cpp.

◆ BayEOSBufferRAM() [2/3]

BayEOSBufferRAM::BayEOSBufferRAM ( uint16_t  max_length,
uint16_t  min_free = 100 

Constructor using dynamic memory allocation Note: setting min_free to 0 may result in problems with strings

Definition at line 5 of file BayEOSBufferRAM.cpp.

◆ BayEOSBufferRAM() [3/3]

BayEOSBufferRAM::BayEOSBufferRAM ( uint8_t *  buffer,
unsigned long  max_length 

Constructor using a allocated buffer

Definition at line 17 of file BayEOSBufferRAM.cpp.

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