Host library for controlling a WiConnect enabled Wi-Fi module.

Dependents:   wiconnect-ota_example wiconnect-web_setup_example wiconnect-test-console wiconnect-tcp_server_example ... more

Revision:
26:8067e3d463d3
Parent:
21:17bb3eddcbae
Child:
27:b63f5a9cdefa
--- a/WiconnectTypes.h	Tue Aug 26 16:53:06 2014 -0700
+++ b/WiconnectTypes.h	Thu Oct 23 15:16:06 2014 -0700
@@ -134,7 +134,11 @@
  * @brief Timeout immediately
  */
 #define WICONNECT_NO_WAIT 0
-
+/**
+ * @ingroup api_core_macro
+ * @brief Default firmware update timeout in ms
+ */
+#define WICONNECT_FIRMWARE_UPDATE_TIMEOUT 90000
 
 /**
  * @ingroup api_socket_macro
@@ -183,6 +187,7 @@
 } WiconnectResult;
 
 
+
 /**
  * @ingroup types_core
  * @brief Function pointer for mapping from a host pin to a WiConnect Module GPIO.
@@ -226,6 +231,23 @@
 
 /**
  * @ingroup api_network_types
+ * @brief Network connection status
+ */
+typedef enum
+{
+    NETWORK_JOIN_RESULT_NONE,           ///< Haven't attempted to join
+    NETWORK_JOIN_RESULT_SUCCESS,        ///< Successfully joined the network
+    NETWORK_JOIN_RESULT_JOINING,        ///< Currently attempting to join
+    NETWORK_JOIN_RESULT_NO_SSID,        ///< The SSID has not be configured
+    NETWORK_JOIN_RESULT_NO_PASSWORD,    ///< The network requires a password and none has been set
+    NETWORK_JOIN_RESULT_BAD_SECURITY,   ///< The specified security type is not supported by the network
+    NETWORK_JOIN_RESULT_NOT_FOUND,      ///< The network with the configured SSID was not found
+    NETWORK_JOIN_RESULT_FAILED,         ///< Failed to join the network
+    NETWORK_JOIN_RESULT_ABORTED,        ///< Joining was aborted (via command)
+} NetworkJoinResult;
+
+/**
+ * @ingroup api_network_types
  * @brief Network RSSI signal level
  */
 typedef enum
@@ -379,8 +401,6 @@
 } FileType;
 
 
-
-
 // Forward declarations
 
 class Wiconnect;