XBee API operation library for mbed

Committer:
yangcq88517
Date:
Wed Mar 30 19:58:48 2016 +0000
Revision:
8:4da2ac03e35e
put every thing together and documentation bug fix

Who changed what in which revision?

UserRevisionLine numberNew contents of line
yangcq88517 8:4da2ac03e35e 1 #ifndef UK_AC_HERTS_SMARTLAB_XBEE_ATCommandRequest
yangcq88517 8:4da2ac03e35e 2 #define UK_AC_HERTS_SMARTLAB_XBEE_ATCommandRequest
yangcq88517 8:4da2ac03e35e 3
yangcq88517 8:4da2ac03e35e 4 #include "TxBase.h"
yangcq88517 8:4da2ac03e35e 5 #include "ICommandRequest.h"
yangcq88517 8:4da2ac03e35e 6
yangcq88517 8:4da2ac03e35e 7 class ATCommandRequest: public TxBase, public ICommandRequest
yangcq88517 8:4da2ac03e35e 8 {
yangcq88517 8:4da2ac03e35e 9
yangcq88517 8:4da2ac03e35e 10 public:
yangcq88517 8:4da2ac03e35e 11 //0x08 or 0x09
yangcq88517 8:4da2ac03e35e 12 //FrameID
yangcq88517 8:4da2ac03e35e 13 //AT_Command
yangcq88517 8:4da2ac03e35e 14 //Parameter_Value
yangcq88517 8:4da2ac03e35e 15
yangcq88517 8:4da2ac03e35e 16 /// <summary>
yangcq88517 8:4da2ac03e35e 17 ///
yangcq88517 8:4da2ac03e35e 18 /// </summary>
yangcq88517 8:4da2ac03e35e 19 /// <param name="FrameID"></param>
yangcq88517 8:4da2ac03e35e 20 /// <param name="AT_Command"></param>
yangcq88517 8:4da2ac03e35e 21 /// <param name="Parameter_Value">this can be null</param>
yangcq88517 8:4da2ac03e35e 22 ATCommandRequest(unsigned char frameID, const char * command, const unsigned char * parameter=NULL, int offset=0, int length=0);
yangcq88517 8:4da2ac03e35e 23
yangcq88517 8:4da2ac03e35e 24 virtual void setAppleChanges(bool appleChanges);
yangcq88517 8:4da2ac03e35e 25
yangcq88517 8:4da2ac03e35e 26 virtual void setCommand(const char * command);
yangcq88517 8:4da2ac03e35e 27
yangcq88517 8:4da2ac03e35e 28 virtual void setParameter(const unsigned char * parameter, int offset, int length);
yangcq88517 8:4da2ac03e35e 29 };
yangcq88517 8:4da2ac03e35e 30
yangcq88517 8:4da2ac03e35e 31 #endif