XBee API operation library for mbed
Embed:
(wiki syntax)
Show/hide line numbers
RouteRecordIndicator.h
00001 #ifndef UK_AC_HERTS_SMARTLAB_XBEE_RouteRecordIndicator 00002 #define UK_AC_HERTS_SMARTLAB_XBEE_RouteRecordIndicator 00003 00004 #include "Address.h" 00005 #include "RxBase.h" 00006 00007 class RouteRecordIndicator : public RxBase 00008 { 00009 public: 00010 RouteRecordIndicator(APIFrame * frame); 00011 00012 Address getRemoteDevice(); 00013 00014 /** 00015 * bit mask 00016 * SUCCESS = 0x00, 00017 * PACKET_ACKNOWLEDGED = 0x01, 00018 * PACKET_WAS_A_BROADCAST = 0x02, 00019 * PACKET_RECEIVED_ON_BOARDCAST_PAN = 0x04, 00020 * PACKET_ENCRYPTED_WITH_APS_ENCRYPTION = 0x20, 00021 * PACKET_WAS_SENT_FROM_AN_END_DEVICE = 0x40, 00022 */ 00023 int getReceiveStatus(); 00024 00025 int getNumberOfAddresses(); 00026 00027 /** Array of NET16 address 00028 * index is [0, getNumberOfAddresses() -1], -1 means not avaliable 00029 */ 00030 int getAddresses(int index); 00031 00032 bool convert(APIFrame * frame); 00033 }; 00034 00035 #endif
Generated on Tue Jul 12 2022 11:17:04 by 1.7.2