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-07
- Revision:
- 15:b48ac00af0b8
- Parent:
- 13:c701f1122797
- Child:
- 19:e751d075e2e6
File content as of revision 15:b48ac00af0b8:
#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(); void Reconnect(); uint8_t GetDataFromBuffer(uint8_t * buf, uint16_t size); uint8_t SendDataToGlove(uint8_t * buf, uint16_t size); private: TCPSocketConnection * socket; cc3000 * wifi; };