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