XBee API operation library for mbed
Embed:
(wiki syntax)
Show/hide line numbers
ZigBeeIOSampleIndicator.h
00001 #ifndef UK_AC_HERTS_SMARTLAB_XBEE_ZigBeeIOSampleIndicator 00002 #define UK_AC_HERTS_SMARTLAB_XBEE_ZigBeeIOSampleIndicator 00003 00004 #include "RxBase.h" 00005 #include "Address.h" 00006 #include "IOSamples.h" 00007 #include "ISampleResponse.h" 00008 00009 class ZigBeeIOSampleIndicator: public ISampleResponse, public RxBase 00010 { 00011 public: 00012 ZigBeeIOSampleIndicator(APIFrame *frame); 00013 00014 virtual int getRSSI(); 00015 00016 virtual IOSamples * getIOSamples(); 00017 00018 virtual int getSamplesCount(); 00019 00020 /** 00021 * bit mask 00022 * SUCCESS = 0x00, 00023 * PACKET_ACKNOWLEDGED = 0x01, 00024 * PACKET_WAS_A_BROADCAST = 0x02, 00025 * PACKET_RECEIVED_ON_BOARDCAST_PAN = 0x04, 00026 * PACKET_ENCRYPTED_WITH_APS_ENCRYPTION = 0x20, 00027 * PACKET_WAS_SENT_FROM_AN_END_DEVICE = 0x40, 00028 */ 00029 virtual int getReceiveStatus(); 00030 00031 virtual Address getRemoteDevice(); 00032 00033 bool convert(APIFrame * frame); 00034 }; 00035 00036 #endif
Generated on Tue Jul 12 2022 11:17:05 by 1.7.2