CC3000 WiFi code, emulation but still untested