cc3000 hostdriver with the mbed socket interface

Dependents:   cc3000_hello_world_demo cc3000_simple_socket_demo cc3000_ntp_demo cc3000_ping_demo ... more

Revision:
47:a63fe1a4f568
Parent:
45:50ab13d8f2dc
--- a/cc3000.h	Sun Nov 10 21:41:44 2013 +0100
+++ b/cc3000.h	Tue Jan 20 09:04:49 2015 +0000
@@ -1746,7 +1746,22 @@
      *  \return
      *      Pointer to a string containing the IP address.
      */
-    char* getIPAddress();
+     char* getIPAddress();
+     
+     /**
+     *  \brief Return the CC3000's firmware version.
+     *  \param firmware Retreived firmware version.
+     *  \return 0 if successful, -1 otherwise.
+     */
+     uint8_t read_sp_version(uint8_t firmware[2]);
+
+     /**
+     *  \brief routine to update firmware of CC3000
+     *  \param 
+     *  \return 0 if successful, -1 otherwise.
+     */
+     uint8_t write_patch(uint32_t file_id, uint32_t length, const uint8_t *data);
+               
      /**
      *  \brief Get the Gateway address of your Ethernet interface
      *  \param none