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.
XBeeTxStatusIndicator.cpp
00001 #include "XBeeTxStatusIndicator.h" 00002 00003 XBeeTxStatusIndicator::XBeeTxStatusIndicator(APIFrame * frame) 00004 : RxBase(frame) 00005 { } 00006 00007 int XBeeTxStatusIndicator::getFrameID() 00008 { 00009 return data[1]; 00010 } 00011 00012 int XBeeTxStatusIndicator::getDeliveryStatus() 00013 { 00014 return data[2]; 00015 } 00016 00017 bool XBeeTxStatusIndicator::convert(APIFrame * frame) 00018 { 00019 if (frame == NULL) 00020 return false; 00021 00022 if (frame->getFrameType() != APIFrame::XBee_Transmit_Status) 00023 return false; 00024 00025 return APIFrame::convert(frame); 00026 }
Generated on Tue Jul 12 2022 18:56:10 by 1.7.2