Temp Fork
Dependencies: MMA8451Q Multi_WS2811 NVIC_set_all_priorities TSI cc3000_hostdriver_mbedsocket mbed
Fork of CubicHand by
GloveWifi.h
- Committer:
- kalbers
- Date:
- 2014-12-06
- Revision:
- 13:c701f1122797
- Parent:
- 3:5f5d75cba8e1
- Child:
- 15:b48ac00af0b8
File content as of revision 13:c701f1122797:
#include "mbed.h" #include "cc3000.h" #include "TCPSocketConnection.h" #pragma once using namespace mbed_cc3000; 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: TCPSocketConnection * socket; cc3000 * wifi; };