this is using the mbed os version 5-13-1
Diff: source/WifiManager.h
- Revision:
- 75:08eff6258e1b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/source/WifiManager.h Thu Mar 14 21:34:06 2019 +0000
@@ -0,0 +1,25 @@
+#ifndef __WIFI_MANAGER_H__
+#define __WIFI_MANAGER_H__
+
+class WifiManager {
+public:
+ WifiManager();
+public:
+ void scanChannels();
+ void getAvailableAPs();
+ void connect2AP(const char * WIFI_SSID, const char * WIFI_PASSWORD);
+ void sendHttpsRequest();
+ void sendHttpRequest();
+
+
+
+private:
+
+ /**
+ * Allows timeout to be changed between commands
+ *
+ * @param timeout_ms timeout of the connection
+ */
+ void set_timeout(uint32_t timeout_ms = UBLOX_ODIN_W2_MISC_TIMEOUT);
+};
+#endif
\ No newline at end of file