Temp Fork
Dependencies: MMA8451Q Multi_WS2811 NVIC_set_all_priorities TSI cc3000_hostdriver_mbedsocket mbed
Fork of CubicHand by
Diff: GloveWifi.h
- Revision:
- 13:c701f1122797
- Parent:
- 3:5f5d75cba8e1
- Child:
- 15:b48ac00af0b8
diff -r df94d17b5bee -r c701f1122797 GloveWifi.h --- a/GloveWifi.h Fri Dec 05 22:54:35 2014 +0000 +++ b/GloveWifi.h Sat Dec 06 23:25:32 2014 +0000 @@ -2,6 +2,10 @@ #include "cc3000.h" #include "TCPSocketConnection.h" +#pragma once + +using namespace mbed_cc3000; + class GloveWifi { public: @@ -14,10 +18,7 @@ uint8_t SendDataToGlove(uint8_t * buf, uint16_t size); private: - const char* ECHO_SERVER_ADDRESS; - const int ECHO_SERVER_PORT; - TCPSocketConnection socket; + TCPSocketConnection * socket; cc3000 * wifi; - Serial * pc; }; \ No newline at end of file