paxcounter.conf time sync defaults modified
This commit is contained in:
		
							parent
							
								
									20a39ae6d6
								
							
						
					
					
						commit
						77e447d46d
					
				| @ -66,16 +66,16 @@ | |||||||
| #define RESPONSE_TIMEOUT_MS             60000   // firmware binary server connection timeout [milliseconds] | #define RESPONSE_TIMEOUT_MS             60000   // firmware binary server connection timeout [milliseconds] | ||||||
| 
 | 
 | ||||||
| // settings for syncing time of node with external time source | // settings for syncing time of node with external time source | ||||||
| #define TIME_SYNC_INTERVAL              0       // sync time attempt each .. minutes from time source (GPS/LORA/RTC) [default = 60], 0 means off | #define TIME_SYNC_INTERVAL              60      // sync time attempt each .. minutes from time source (GPS/LORA/RTC) [default = 60], 0 means off | ||||||
| #define TIME_SYNC_INTERVAL_RETRY        0       // retry time sync after lost sync each .. minutes [default = 10], 0 means off | #define TIME_SYNC_INTERVAL_RETRY        10      // retry time sync after lost sync each .. minutes [default = 10], 0 means off | ||||||
| #define TIME_SYNC_COMPILEDATE           0       // set to 1 to use compile date to initialize RTC after power outage [default = 0] | #define TIME_SYNC_COMPILEDATE           0       // set to 1 to use compile date to initialize RTC after power outage [default = 0] | ||||||
| #define TIME_SYNC_LORAWAN               0       // set to 1 to use LORA network as time source, 0 means off [default = 0] | #define TIME_SYNC_LORAWAN               0       // set to 1 to use LORA network as time source, 0 means off [default = 0] | ||||||
| #define TIME_SYNC_LORASERVER            0       // set to 1 to use LORA timeserver as time source, 0 means off [default = 0] | #define TIME_SYNC_LORASERVER            0       // set to 1 to use LORA timeserver as time source, 0 means off [default = 0] | ||||||
| 
 | 
 | ||||||
| // settings for syncing time with timeserver applications | // settings for syncing time with timeserver applications | ||||||
| #define TIME_SYNC_SAMPLES               2       // number of time requests for averaging | #define TIME_SYNC_SAMPLES               1       // number of time requests for averaging | ||||||
| #define TIME_SYNC_CYCLE                 60      // delay between two time samples [seconds] | #define TIME_SYNC_CYCLE                 60      // delay between two time samples [seconds] | ||||||
| #define TIME_SYNC_TIMEOUT               600     // timeout waiting for timeserver answer [seconds] | #define TIME_SYNC_TIMEOUT               300     // timeout waiting for timeserver answer [seconds] | ||||||
| 
 | 
 | ||||||
| // time zone, see https://github.com/JChristensen/Timezone/blob/master/examples/WorldClock/WorldClock.ino | // time zone, see https://github.com/JChristensen/Timezone/blob/master/examples/WorldClock/WorldClock.ino | ||||||
| #define DAYLIGHT_TIME                   {"CEST", Last, Sun, Mar, 2, 120}     // Central European Summer Time | #define DAYLIGHT_TIME                   {"CEST", Last, Sun, Mar, 2, 120}     // Central European Summer Time | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user