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.
ATCommandRequest.h
00001 #ifndef UK_AC_HERTS_SMARTLAB_XBEE_ATCommandRequest 00002 #define UK_AC_HERTS_SMARTLAB_XBEE_ATCommandRequest 00003 00004 #include "TxBase.h" 00005 #include "ICommandRequest.h" 00006 00007 class ATCommandRequest: public TxBase, public ICommandRequest 00008 { 00009 00010 public: 00011 //0x08 or 0x09 00012 //FrameID 00013 //AT_Command 00014 //Parameter_Value 00015 00016 /// <summary> 00017 /// 00018 /// </summary> 00019 /// <param name="FrameID"></param> 00020 /// <param name="AT_Command"></param> 00021 /// <param name="Parameter_Value">this can be null</param> 00022 ATCommandRequest(unsigned char frameID, const char * command, const unsigned char * parameter=NULL, int offset=0, int length=0); 00023 00024 virtual void setAppleChanges(bool appleChanges); 00025 00026 virtual void setCommand(const char * command); 00027 00028 virtual void setParameter(const unsigned char * parameter, int offset, int length); 00029 }; 00030 00031 #endif
Generated on Tue Jul 12 2022 18:56:10 by 1.7.2