cc3000 hostdriver with the mbed socket interface
Fork of cc3000_hostdriver_mbedsocket by
Diff: cc3000.cpp
- Revision:
- 48:192e2fde71e9
- Parent:
- 47:a63fe1a4f568
- Child:
- 51:897cfc2c7e8c
--- a/cc3000.cpp Tue Jan 20 09:04:49 2015 +0000 +++ b/cc3000.cpp Sat Feb 28 16:40:39 2015 +0000 @@ -99,6 +99,7 @@ } void cc3000::init(const char *ip, const char *mask, const char *gateway) { + _wlan.start(0); _netapp.dhcp((uint32_t *)ip, (uint32_t *)mask, (uint32_t *)gateway, (uint32_t *)ip); //dns = ip _wlan.stop(); wait(1);