Azuma_wifi_switch/main/main.h

39 lines
817 B
C

/*
* main.h
*
* Created on: Feb 11, 2023
* Author: Nael
*/
#ifndef MAIN_MAIN_H_
#define MAIN_MAIN_H_
#include <stdint.h>
extern char MAC_ID[16];
#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
#define BUILD_VERSION_STRING "LRSM0009C_Azuma_v0.5"
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_ */