cc3000 hostdriver with the mbed socket interface
Dependents: cc3000_hello_world_demo cc3000_simple_socket_demo cc3000_ntp_demo cc3000_ping_demo ... more
Diff: cc3000_socket.cpp
- Revision:
- 5:245ac5b73132
- Parent:
- 4:15b58c119a0a
- Child:
- 11:5e3771b29385
diff -r 15b58c119a0a -r 245ac5b73132 cc3000_socket.cpp
--- a/cc3000_socket.cpp Sat Sep 21 15:01:05 2013 +0000
+++ b/cc3000_socket.cpp Thu Sep 26 19:50:37 2013 +0000
@@ -89,7 +89,7 @@
_simple_link.set_transmit_error(0);
return errno;
}
- if(SOCKET_STATUS_ACTIVE != get_socket_active_status(sd))
+ if(SOCKET_STATUS_ACTIVE != _event.get_socket_active_status(sd))
return -1;
// If there are no available buffers, return -2. It is recommended to use
SimpleLink Wi-Fi CC3000
Avnet Wi-Go System