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