Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MMA8451Q Multi_WS2811 NVIC_set_all_priorities TSI cc3000_hostdriver_mbedsocket mbed
Fork of CubicHand by
GloveWifi.h
00001 #include "mbed.h" 00002 #include "cc3000.h" 00003 #include "TCPSocketConnection.h" 00004 00005 #pragma once 00006 00007 using namespace mbed_cc3000; 00008 00009 class GloveWifi 00010 { 00011 public: 00012 GloveWifi(); 00013 ~GloveWifi(); 00014 void Init(); 00015 void Connect(); 00016 void Disconnect(); 00017 void Reconnect(); 00018 int GetDataFromBuffer(char * buf, int size); 00019 uint8_t SendDataToGlove(uint8_t * buf, uint16_t size); 00020 00021 private: 00022 TCPSocketConnection * socket; 00023 cc3000 * wifi; 00024 uint32_t DropCount; 00025 00026 };
Generated on Tue Jul 12 2022 21:52:20 by
1.7.2
