changed default debug settings

Fork of cc3000_hostdriver_mbedsocket by Martin Kojtal

Revision:
30:251a0a7d88de
Parent:
29:c40918cd9b6d
Child:
31:7b6e85b68b01
--- a/cc3000.h	Sun Oct 06 17:17:48 2013 +0200
+++ b/cc3000.h	Sun Oct 06 17:22:49 2013 +0200
@@ -1123,68 +1123,6 @@
     cc3000_hci          &_hci;
 };
 
-/** Client TCP/UDP class - TODO - not complete client
- */
-class cc3000_client {
-public:
-    /**
-     */
-    cc3000_client(cc3000 &cc3000_ref);
-    /**
-     */
-    cc3000_client(cc3000 &cc3000_ref, int16_t socket);
-    /**
-     */
-    bool connected(void);
-    /**
-     */
-    int16_t write(const void *buffer, uint16_t length, uint32_t flags);
-    /**
-     */
-    int16_t read(void *buffer, uint16_t length, uint32_t flags);
-    /**
-     */
-    void close(void);
-
-private:
-    int16_t _current_socket;
-    cc3000  &_cc3000;
-};
-
-/** Server TCP/UDP
- */
-class cc3000_server {
-public:
-    /** ctor (server was not created successfully)
-     */
-    cc3000_server(cc3000 &cc3000_ref, sockaddr socket_add);
-    /** ctor
-     */
-    cc3000_server(cc3000 &cc3000_ref, sockaddr socket_add, int16_t socket);
-    /** Blocking accept
-     */
-    int32_t accept(void);
-    /**
-     */
-    int32_t receive(void *buffer, uint16_t length, uint32_t flags);
-    /**
-     */
-    int32_t send(void *buffer, uint16_t length, uint32_t flags);
-    /**
-     */
-    void bind(void);
-    /**
-     */
-    void listen(uint32_t backlog);
-    /**
-     */
-    void close(void);
-private:
-    int16_t  _current_socket;
-    sockaddr _socket_address;
-    cc3000   &_cc3000;
-};
-
 /** The main class of entire cc3000 implementation
  */
 class cc3000 {
@@ -1316,25 +1254,6 @@
      */
     bool get_ip_config(tNetappIpconfigRetArgs *ip_config);
 #endif
-    /** Creates tcp client
-     *  \param ip_address Client's IP address
-     *  \param port       Client's PORT
-     *  \return client with socket != -1
-     */
-    cc3000_client create_tcp_client(uint32_t ip_address, uint16_t port);
-    /** Creates tcp server
-     *  \param ip_address Server's IP address
-     *  \param port       Server's PORT
-     *  \return server with socket != -1
-     */
-    cc3000_server create_tcp_server(uint32_t ip_address, uint16_t port);
-    /**
-     *  \brief Creates udp client
-     *  \param ip_address Server's IP address
-     *  \param port       Server's PORT
-     *  \return client with socket != -1
-     */
-    cc3000_client create_udp_client(uint32_t ip_address, uint16_t port);
     /**
      *  \brief Delete all stored profiles
      *  \param none