Temp Fork

Dependencies:   MMA8451Q Multi_WS2811 NVIC_set_all_priorities TSI cc3000_hostdriver_mbedsocket mbed

Fork of CubicHand by Model-Based Team

Revision:
3:5f5d75cba8e1
Child:
13:c701f1122797
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/GloveWifi.h	Fri Dec 05 21:35:37 2014 +0000
@@ -0,0 +1,23 @@
+#include "mbed.h"
+#include "cc3000.h"
+#include "TCPSocketConnection.h"
+
+class GloveWifi
+{
+	public:
+		GloveWifi();
+		~GloveWifi();
+		void Init();
+		void Connect();
+		void Disconnect();
+		uint8_t GetDataFromBuffer(uint8_t * buf, uint16_t size);
+		uint8_t SendDataToGlove(uint8_t * buf, uint16_t size);
+
+	private:
+		const char* ECHO_SERVER_ADDRESS;
+        const int ECHO_SERVER_PORT;
+    	TCPSocketConnection socket;
+		cc3000 * wifi;
+		Serial * pc;
+	
+};
\ No newline at end of file