2023-03-30 01:28:31 +02:00
|
|
|
#ifndef WLAN_H
|
|
|
|
#define WLAN_H
|
|
|
|
|
|
|
|
const int SLEEP_TIME = 480000000;
|
|
|
|
const int WIFI_TIMEOUT = 10000;
|
|
|
|
|
2023-03-30 02:10:49 +02:00
|
|
|
void wlan_connection(int max_retries);
|
2023-03-30 01:28:31 +02:00
|
|
|
void prometheus_connection(char *server, int port, char *fingerprint);
|
2023-03-30 02:10:49 +02:00
|
|
|
void enter_deep_sleep(bool wifi_timeout);
|
2023-03-30 01:28:31 +02:00
|
|
|
|
|
|
|
#endif /* WLAN_H */
|