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.
Dependents: cc3000_hello_world_demo cc3000_simple_socket_demo cc3000_ntp_demo cc3000_ping_demo ... more
Diff: cc3000_event.cpp
- Revision:
- 41:eb1999bd50fb
- Parent:
- 38:1d374a7f0c0d
- Child:
- 42:bd2c631a031a
diff -r acb9324640c4 -r eb1999bd50fb cc3000_event.cpp
--- a/cc3000_event.cpp Sat Oct 12 20:51:05 2013 +0000
+++ b/cc3000_event.cpp Sat Oct 12 21:03:45 2013 +0000
@@ -198,7 +198,6 @@
#endif
}
-Timer timer;
uint8_t *cc3000_event::hci_event_handler(void *ret_param, uint8_t *from, uint8_t *fromlen) {
uint8_t *received_data, argument_size;
uint16_t length;
@@ -207,11 +206,7 @@
uint32_t return_value;
uint8_t * RecvParams;
uint8_t *RetParams;
-
-
- timer.reset();
- timer.start();
-
+
while (1)
{
if (_simple_link.get_data_received_flag() != 0)
@@ -450,12 +445,6 @@
return NULL;
}
}
-
- if ( timer.read_ms() > 10000)
- {
- DBG_HCI("TIMEOUT Waiting for CC3000 Event - BAD");
- break;
- }
}
}
SimpleLink Wi-Fi CC3000
Avnet Wi-Go System