pfodParser
3.61.0
The pfodParser library is handles commands sent from the Android pfodApp, pfodApp supports WiFi, BLE, Bluetooth and SMS connections
|
An ack consists of a message with: More...
#include <pfodRadio.h>
Inherits pfod_Base.
Public Member Functions | |
pfodRadio (pfodRadioDriver *_driver, uint8_t _thisAddress) | |
void | setDebugStream (Print *_debugOut) |
void | debugPfodRadioMsg (pfodRadioMsg *msg) |
void | connectTo (uint8_t _to) |
void | listen () |
void | setAckTimeout (uint16_t _timeout_mS) |
void | setNoOfRetries (uint8_t _noOfRetries) |
void | setMaxWriteBufLen (size_t _maxLen) |
bool | recvMsg () |
bool | isNewMsg () |
bool | isAckForLastMsgSent () |
size_t | sendMsg () |
bool | isConnectionClosed () |
uint16_t | getLastRSSI () |
bool | notInTxMode () |
bool | inTxMode () |
pfodRadioMsg * | getReceivedMsg () |
void | sendAck () |
uint8_t | getThisAddress () |
bool | isServer () |
bool | init () |
int | available () |
int | peek () |
int | read () |
void | flush () |
size_t | write (uint8_t b) |
unsigned long | getDefaultTimeOut () |
void | _closeCurrentConnection () |
size_t | writeRawData (uint8_t c) |
Print * | getRawDataOutput () |
![]() | |
virtual bool | connect () |
virtual void | _setLinkTimeout (unsigned long _linkTimeout_mS) |
Protected Member Functions | |
bool | sendTo (uint8_t *_buf, uint8_t _len, uint8_t _address) |
void | sendMsg (pfodRadioMsg *radioMsg) |
void | pollRadio () |
void | clearTxRxBuffers () |
void | checkIfNeedToConnect () |
void | resendLastMsg () |
bool | isNewConnectionRequest () |
uint16_t | getRandomTimeout () |
void | setTimeLastMsgSent () |
void | checkForAllowableNewConnection () |
void | closeConnection () |
Protected Attributes | |
pfodRadioMsg | receivedMsg |
pfodRadioMsg | lastMsgSent |
bool | waitingForAckOfLastMsgSent |
unsigned long | timeLastMsgSent |
bool | connectionClosed |
Print * | debugOut |
An ack consists of a message with:
Definition at line 36 of file pfodRadio.h.
pfodRadio::pfodRadio | ( | pfodRadioDriver * | _driver, |
uint8_t | _thisAddress | ||
) |
|
virtual |
Implements pfod_Base.
|
virtual |
Reimplemented from pfod_Base.
|
protected |
|
protected |
|
protected |
|
protected |
void pfodRadio::connectTo | ( | uint8_t | _to | ) |
void pfodRadio::debugPfodRadioMsg | ( | pfodRadioMsg * | msg | ) |
|
virtual |
Reimplemented from pfod_Base.
|
virtual |
Implements pfod_Base.
uint16_t pfodRadio::getLastRSSI | ( | ) |
|
protected |
|
virtual |
Implements pfod_Base.
pfodRadioMsg* pfodRadio::getReceivedMsg | ( | ) |
uint8_t pfodRadio::getThisAddress | ( | ) |
bool pfodRadio::init | ( | ) |
bool pfodRadio::inTxMode | ( | ) |
bool pfodRadio::isAckForLastMsgSent | ( | ) |
bool pfodRadio::isConnectionClosed | ( | ) |
|
protected |
bool pfodRadio::isNewMsg | ( | ) |
bool pfodRadio::isServer | ( | ) |
void pfodRadio::listen | ( | ) |
bool pfodRadio::notInTxMode | ( | ) |
|
virtual |
Reimplemented from pfod_Base.
|
protected |
|
virtual |
Implements pfod_Base.
bool pfodRadio::recvMsg | ( | ) |
|
protected |
void pfodRadio::sendAck | ( | ) |
size_t pfodRadio::sendMsg | ( | ) |
|
protected |
|
protected |
void pfodRadio::setAckTimeout | ( | uint16_t | _timeout_mS | ) |
|
virtual |
Reimplemented from pfod_Base.
void pfodRadio::setMaxWriteBufLen | ( | size_t | _maxLen | ) |
void pfodRadio::setNoOfRetries | ( | uint8_t | _noOfRetries | ) |
|
protected |
|
virtual |
Reimplemented from pfod_Base.
|
virtual |
Implements pfod_Base.
|
protected |
Definition at line 98 of file pfodRadio.h.
|
protected |
Definition at line 104 of file pfodRadio.h.
|
protected |
Definition at line 92 of file pfodRadio.h.
|
protected |
Definition at line 91 of file pfodRadio.h.
|
protected |
Definition at line 97 of file pfodRadio.h.
|
protected |
Definition at line 96 of file pfodRadio.h.