pfodParser
3.61.0
The pfodParser library is handles commands sent from the Android pfodApp, pfodApp supports WiFi, BLE, Bluetooth and SMS connections
|
(c)2015 Forward Computing and Control Pty. More...
#include <pfodBLEBufferedSerial.h>
Inherits Stream.
Public Member Functions | |
pfodBLEBufferedSerial () | |
pfodBLEBufferedSerial (size_t _bufferSize) | |
pfodBLEBufferedSerial * | connect (Stream *_stream) |
virtual size_t | write (uint8_t) |
virtual size_t | write (const uint8_t *buf, size_t size) |
virtual int | available () |
virtual int | read () |
virtual int | peek () |
virtual void | flush () |
void | setDebugStream (Print *out) |
size_t | bytesToBeSent () |
void | clearTxBuffer () |
void | setBLEBlockSendDelay (uint16_t count) |
Static Public Attributes | |
static const size_t | BLE_SEND_BLOCK_SIZE = 20 |
Protected Member Functions | |
void | sendAfterDelay () |
size_t | _write (uint8_t c) |
Protected Attributes | |
Stream * | stream |
size_t | bufferSize |
size_t | sendBufferIdxHead |
size_t | sendBufferIdxTail |
uint8_t | sendBlock [BLE_SEND_BLOCK_SIZE] |
uint8_t * | sendBuffer |
Print * | debugOut |
unsigned long | sendDelay_uS |
(c)2015 Forward Computing and Control Pty.
Ltd. This code may be freely used for both private and commerical use. Provide this copyright is maintained.
Definition at line 15 of file pfodBLEBufferedSerial.h.
pfodBLEBufferedSerial::pfodBLEBufferedSerial | ( | ) |
pfodBLEBufferedSerial::pfodBLEBufferedSerial | ( | size_t | _bufferSize | ) |
|
protected |
|
virtual |
size_t pfodBLEBufferedSerial::bytesToBeSent | ( | ) |
void pfodBLEBufferedSerial::clearTxBuffer | ( | ) |
pfodBLEBufferedSerial* pfodBLEBufferedSerial::connect | ( | Stream * | _stream | ) |
|
virtual |
|
virtual |
|
virtual |
|
protected |
void pfodBLEBufferedSerial::setBLEBlockSendDelay | ( | uint16_t | count | ) |
void pfodBLEBufferedSerial::setDebugStream | ( | Print * | out | ) |
|
virtual |
|
virtual |
|
static |
Definition at line 36 of file pfodBLEBufferedSerial.h.
|
protected |
Definition at line 45 of file pfodBLEBufferedSerial.h.
|
protected |
Definition at line 50 of file pfodBLEBufferedSerial.h.
|
protected |
Definition at line 48 of file pfodBLEBufferedSerial.h.
|
protected |
Definition at line 49 of file pfodBLEBufferedSerial.h.
|
protected |
Definition at line 46 of file pfodBLEBufferedSerial.h.
|
protected |
Definition at line 47 of file pfodBLEBufferedSerial.h.
|
protected |
Definition at line 51 of file pfodBLEBufferedSerial.h.
|
protected |
Definition at line 42 of file pfodBLEBufferedSerial.h.