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
24
33int location_timezone(int8_t *timezone);
34
48int location_local_time(uint32_t *local_time_seconds);
49
50#ifdef CONFIG_ZTEST
51
55void location_timezone_reset(void);
56
57#endif /* CONFIG_ZTEST */
58
62
63#ifdef __cplusplus
64}
65#endif
66
67#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.