Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
location_timezone.h
Go to the documentation of this file.
1
9
10#ifndef INFUSE_SDK_INCLUDE_INFUSE_AUTO_LOCATION_TIMEZONE_H_
11#define INFUSE_SDK_INCLUDE_INFUSE_AUTO_LOCATION_TIMEZONE_H_
12
13#include <stdint.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
25
34int location_timezone(int8_t *timezone);
35
49int location_local_time(uint32_t *local_time_seconds);
50
51#ifdef CONFIG_ZTEST
52
56void location_timezone_reset(void);
57
58#endif /* CONFIG_ZTEST */
59
63
64#ifdef __cplusplus
65}
66#endif
67
68#endif /* INFUSE_SDK_INCLUDE_INFUSE_AUTO_LOCATION_TIMEZONE_H_ */
int location_timezone(int8_t *timezone)
Get the current approximate UTC timezone.
int location_local_time(uint32_t *local_time_seconds)
Get the current approximate local time.