cc3000 hostdriver with the mbed socket interface

Fork of cc3000_hostdriver_mbedsocket by Martin Kojtal

Revision:
21:fb34ac8d9af5
Parent:
17:14b6a3a2b622
Child:
23:fed7f64dd520
--- a/cc3000.h	Wed Oct 02 21:57:28 2013 +0000
+++ b/cc3000.h	Thu Oct 03 20:22:45 2013 +0000
@@ -61,13 +61,17 @@
     #define DBG_SOCKET(x, ...) std::printf("[CC3000 : SOCKET] "x"\r\n", ##__VA_ARGS__);
 
     // DBG_HCI, prints a message for every recieved HCI event, quite a lot of debug
-    #define DBG_HCI(x, ...) std::printf("[CC3000 : HCI] "x"\r\n", ##__VA_ARGS__);
+    #define DBG_HCI(x, ...) std::printf("[CC3000 : HCI RX] "x"\r\n", ##__VA_ARGS__);
+    
+    // DBG_HCI_CMD, Prints commands that are sent
+    #define DBG_HCI_CMD(x, ...) std::printf("[CC3000 : HCI TX] "x"\r\n", ##__VA_ARGS__);
 
     // DBG_CC, General cc3000 debug messages
     #define DBG_CC(x, ...) std::printf("[CC3000] "x"\r\n", ##__VA_ARGS__);
 #else
     #define DBG_SOCKET(x, ...)
     #define DBG_HCI(x, ...)
+    #define DBG_HCI_CMD(x, ...)
     #define DBG_CC(x, ...)
 #endif