BayEOS-Arduino  1.8.0_0.0.4
Public Member Functions | List of all members
RxIoSampleBaseResponse Class Reference

#include <XBee.h>

Inheritance diagram for RxIoSampleBaseResponse:
RxResponse RxDataResponse XBeeResponse Rx16IoSampleResponse Rx64IoSampleResponse

Public Member Functions

uint8_t getSampleSize ()
 
bool containsAnalog ()
 
bool containsDigital ()
 
bool isAnalogEnabled (uint8_t pin)
 
bool isDigitalEnabled (uint8_t pin)
 
uint16_t getAnalog (uint8_t pin, uint8_t sample)
 
bool isDigitalOn (uint8_t pin, uint8_t sample)
 
uint8_t getSampleOffset ()
 
- Public Member Functions inherited from RxResponse
uint8_t getRssi ()
 
uint8_t getOption ()
 
bool isAddressBroadcast ()
 
bool isPanBroadcast ()
 
uint8_t getDataLength ()
 
uint8_t getDataOffset ()
 
virtual uint8_t getRssiOffset ()=0
 
- Public Member Functions inherited from RxDataResponse
uint8_t getData (int index)
 
uint8_t * getData ()
 
- Public Member Functions inherited from XBeeResponse
 XBeeResponse ()
 
uint8_t getApiId ()
 
void setApiId (uint8_t apiId)
 
uint8_t getMsbLength ()
 
void setMsbLength (uint8_t msbLength)
 
uint8_t getLsbLength ()
 
void setLsbLength (uint8_t lsbLength)
 
uint8_t getChecksum ()
 
void setChecksum (uint8_t checksum)
 
uint8_t getFrameDataLength ()
 
void setFrameData (uint8_t *frameDataPtr)
 
uint8_t * getFrameData ()
 
void setFrameLength (uint8_t frameLength)
 
uint16_t getPacketLength ()
 
void reset ()
 
void init ()
 
void getZBTxStatusResponse (XBeeResponse &response)
 
void getZBRxResponse (XBeeResponse &response)
 
void getZBRxIoSampleResponse (XBeeResponse &response)
 
void getTxStatusResponse (XBeeResponse &response)
 
void getRx16Response (XBeeResponse &response)
 
void getRx64Response (XBeeResponse &response)
 
void getRx16IoSampleResponse (XBeeResponse &response)
 
void getRx64IoSampleResponse (XBeeResponse &response)
 
void getAtCommandResponse (XBeeResponse &responses)
 
void getRemoteAtCommandResponse (XBeeResponse &response)
 
void getModemStatusResponse (XBeeResponse &response)
 
bool isAvailable ()
 
void setAvailable (bool complete)
 
bool isError ()
 
uint8_t getErrorCode ()
 
void setErrorCode (uint8_t errorCode)
 

Additional Inherited Members

- Protected Attributes inherited from XBeeResponse
uint8_t * _frameDataPtr
 

Detailed Description

Represents a Series 1 RX I/O Sample packet

Definition at line 479 of file XBee.h.

Member Function Documentation

◆ getAnalog()

uint16_t RxIoSampleBaseResponse::getAnalog ( uint8_t  pin,
uint8_t  sample 
)

Returns the 10-bit analog reading of the specified pin. Valid pins include ADC:0-5. Sample index starts at 0

Definition at line 423 of file XBee.cpp.

◆ getSampleSize()

uint8_t RxIoSampleBaseResponse::getSampleSize ( )

Returns the number of samples in this packet

Definition at line 303 of file XBee.cpp.

◆ isAnalogEnabled()

bool RxIoSampleBaseResponse::isAnalogEnabled ( uint8_t  pin)

Returns true if the specified analog pin is enabled

Definition at line 319 of file XBee.cpp.

◆ isDigitalEnabled()

bool RxIoSampleBaseResponse::isDigitalEnabled ( uint8_t  pin)

Returns true if the specified digital pin is enabled

Definition at line 323 of file XBee.cpp.

◆ isDigitalOn()

bool RxIoSampleBaseResponse::isDigitalOn ( uint8_t  pin,
uint8_t  sample 
)

Returns true if the specified pin is high/on. Valid pins include DIO:0-8. Sample index starts at 0

Definition at line 461 of file XBee.cpp.


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