asd

Dependencies:   mbed

Revision:
0:3c2ab0fec740
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CoordCommands.h	Mon Feb 08 16:13:38 2016 +0000
@@ -0,0 +1,17 @@
+#include "mbed.h"
+
+class CoordinatorCommands
+{   
+    
+public:
+    CoordinatorCommands(Serial* _serialXB, Serial* _pc, char* panID, int panIDLength);
+    void SendCommand(char lengthMSB, char lengthLSB, char frameType, char frameID, char aTCommandMSB, char aTCommandLSB, char* parameterValue, int paramLength);
+    void SetPanID(char* panID, int panIDLength);
+    void LectureDeTrame();
+    
+private:
+    Serial* m_Xbee;
+    Serial* m_PC;
+    bool m_InFrame;
+    static const char START_DELIMITER = 0x7E;        
+};
\ No newline at end of file