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_hci.cpp
- Revision:
- 21:fb34ac8d9af5
- Parent:
- 0:615c697c33b0
- Child:
- 23:fed7f64dd520
diff -r 7e22775eadb9 -r fb34ac8d9af5 cc3000_hci.cpp
--- a/cc3000_hci.cpp Wed Oct 02 21:57:28 2013 +0000
+++ b/cc3000_hci.cpp Thu Oct 03 20:22:45 2013 +0000
@@ -53,6 +53,8 @@
uint16_t cc3000_hci::command_send(uint16_t op_code, uint8_t *buffer, uint8_t length) {
unsigned char *stream;
+ DBG_HCI_CMD("Command Sent : 0x%04X", op_code);
+
stream = (buffer + SPI_HEADER_SIZE);
UINT8_TO_STREAM(stream, HCI_TYPE_CMND);
SimpleLink Wi-Fi CC3000
Avnet Wi-Go System