27 } WIFI_State; |
27 } WIFI_State; |
28 |
28 |
29 |
29 |
30 |
30 |
31 /** |
31 /** |
32 * @brief System request for WiFi connection. |
|
33 * @param state Boolean state request. |
|
34 */ |
|
35 void requestWiFi_system(bool state); |
|
36 |
|
37 /** |
|
38 * @brief User request for WiFi connection. |
|
39 * @param state Boolean state request. |
|
40 */ |
|
41 void requestWiFi_user(bool state); |
|
42 |
|
43 /** |
|
44 * @brief Test if Wifi is ready and connected |
32 * @brief Test if Wifi is ready and connected |
45 * @return Return true is connected and we have an IP address. |
33 * @return Return true is connected and we have an IP address. |
46 */ |
34 */ |
47 bool ready_WiFi(void); |
35 bool ready_WiFi(void); |
|
36 |
|
37 |
|
38 void status_WiFi(void); |
|
39 |
48 |
40 |
49 /** |
41 /** |
50 * @brief Main task for the wifi_manager |
42 * @brief Main task for the wifi_manager |
51 * @param pvParameters Parameters for the task. |
43 * @param pvParameters Parameters for the task. |
52 */ |
44 */ |