cc3000 hostdriver with the mbed socket interface

Fork of cc3000_hostdriver_mbedsocket by Martin Kojtal

Revision:
45:50ab13d8f2dc
Parent:
33:9e23b24fb4f3
Child:
51:897cfc2c7e8c
--- a/cc3000_simplelink.cpp	Sun Oct 13 11:46:21 2013 +0200
+++ b/cc3000_simplelink.cpp	Wed Nov 06 17:56:25 2013 +0100
@@ -68,20 +68,17 @@
         case BOOTLOADER_PATCHES:
             result = (void *)_fBootLoaderPatches;
             break;
-        // case WLAN_CB:
-        //     result = (void *)_fWlanCB;
-        //     break;
         default:
             result = 0;
          }
          return result;
 }
 
-uint8_t *cc3000_simple_link::get_transmit_buffer() {
+uint8_t* cc3000_simple_link::get_transmit_buffer() {
     return _tx_buffer;
 }
 
-uint8_t *cc3000_simple_link::get_received_buffer() {
+uint8_t* cc3000_simple_link::get_received_buffer() {
     return _rx_buffer;
 }
 
@@ -170,8 +167,4 @@
     _received_data = pointer;
 }
 
-//void cc3000_simple_link::set_wlan_cb(tWlanCB fpointer) {
-//    _fWlanCB = fpointer;
-//}
-
-}
+} // mbed_cc3000 namespace