XBee and XBee-PRO ZigBee RF modules provide cost-effective wireless connectivity to electronic devices. They are interoperable with other ZigBee PRO feature set devices, including devices from other vendors.
Indicator/ISampleResponse.h
- Committer:
- yangcq88517
- Date:
- 2015-11-14
- Revision:
- 6:5f31ddc17239
- Parent:
- 2:700dc65ca3b1
File content as of revision 6:5f31ddc17239:
#ifndef UK_AC_HERTS_SMARTLAB_XBEE_ISampleResponse #define UK_AC_HERTS_SMARTLAB_XBEE_ISampleResponse #include "Address.h" #include "IOSamples.h" #include "IOSampleDecoder.h" class ISampleResponse { protected: //IOSamples * samples; public: virtual IOSamples * getIOSamples() = 0; virtual int getSamplesCount() = 0; /** * bit mask * SUCCESS = 0x00, * PACKET_ACKNOWLEDGED = 0x01, * PACKET_WAS_A_BROADCAST = 0x02, * PACKET_RECEIVED_ON_BOARDCAST_PAN = 0x04, * PACKET_ENCRYPTED_WITH_APS_ENCRYPTION = 0x20, * PACKET_WAS_SENT_FROM_AN_END_DEVICE = 0x40, */ virtual int getReceiveStatus() = 0; virtual Address getRemoteDevice() = 0; /// <summary> /// not apply to ZigBee /// </summary> /// <returns></returns> virtual int getRSSI() = 0; }; #endif