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.

Dependencies:   BufferedArray

Dependents:   MBEDminiproject

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ManyToOneRouteIndicator.cpp Source File

ManyToOneRouteIndicator.cpp

00001 #include "ManyToOneRouteIndicator.h"
00002 
00003 ManyToOneRouteIndicator::ManyToOneRouteIndicator(APIFrame * frame)
00004     : RxBase(frame)
00005 {  }
00006 
00007 Address ManyToOneRouteIndicator::getRemoteDevice()
00008 {
00009     return Address(data + 1);
00010 }
00011 
00012 bool ManyToOneRouteIndicator::convert(APIFrame * frame)
00013 {
00014     if (frame == NULL)
00015         return false;
00016 
00017     if (frame->getFrameType() != APIFrame::Many_to_One_Route_Request_Indicator)
00018         return false;
00019 
00020     return APIFrame::convert(frame);
00021 }