Remote_Wifi_Switch/main/main.h
2025-02-21 15:26:53 +05:30

34 lines
716 B
C

/*
* main.h
*
* Created on: Feb 11, 2023
* Author: Nael
*/
#ifndef MAIN_MAIN_H_
#define MAIN_MAIN_H_
#define SENS_INT_WAKEUP 0
#define SENS_INT_WAKEUP0 1
/*************** Cellular Configs **************/
#define FAKE_NETWORK 0
#define TEMPSTICK_SERVER 1
#define TESTING_SERVER 1 // 0 Partha server, 1 Ranjeet server.
/***********************************************/
/***************** WIFI Configs ****************/
#define WIFI_NEEDED 1
/***********************************************/
#define DEFAULT_COMMS_MODE 1
void update_checkin_timer(uint64_t checkin_interval);
#if (SENS_INT_WAKEUP == 1)
void set_periodic_sleep_mode();
#else
void set_sleep_mode();
#endif
#endif /* MAIN_MAIN_H_ */