Home
last modified time | relevance | path

Searched refs:utc (Results 1 – 8 of 8) sorted by relevance

/AliOS-Things-master/components/sensor/hal/
A Dgps_parse.c27 gps_time_t utc; member
58 gpgga_index[1].addr = &(gpgga_para->utc); in gps_gpgga_para_set()
144 pgpsdata->utc.year = result->utc.year; in gps_gpgga_data_get()
145 pgpsdata->utc.mon = result->utc.mon; in gps_gpgga_data_get()
146 pgpsdata->utc.day = result->utc.day; in gps_gpgga_data_get()
147 pgpsdata->utc.hour = result->utc.hour; in gps_gpgga_data_get()
148 pgpsdata->utc.min = result->utc.min; in gps_gpgga_data_get()
149 pgpsdata->utc.sec = result->utc.sec; in gps_gpgga_data_get()
150 pgpsdata->utc.hsec = result->utc.hsec; in gps_gpgga_data_get()
/AliOS-Things-master/components/sensor/drv/
A Ddrv_gps_simcom_sim868.c70 gps_time_t utc; member
126 sim868_index[3].addr = &(sim868_para->utc); in drv_gps_simcom_sim868_para_set()
218 pgpsdata->utc.year = result->utc.year; in drv_gps_simcom_sim868_data_get()
219 pgpsdata->utc.mon = result->utc.mon; in drv_gps_simcom_sim868_data_get()
220 pgpsdata->utc.day = result->utc.day; in drv_gps_simcom_sim868_data_get()
221 pgpsdata->utc.hour = result->utc.hour; in drv_gps_simcom_sim868_data_get()
222 pgpsdata->utc.min = result->utc.min; in drv_gps_simcom_sim868_data_get()
223 pgpsdata->utc.sec = result->utc.sec; in drv_gps_simcom_sim868_data_get()
224 pgpsdata->utc.hsec = result->utc.hsec; in drv_gps_simcom_sim868_data_get()
586 memcpy(&(gps->utc),&(g_gps_sim868_data.utc),sizeof(g_gps_sim868_data.utc)); in drv_gps_simcom_sim868_read()
/AliOS-Things-master/components/genie_service/core/src/
A Dgenie_time.c194 utc.hour = 0; in genie_time_periodic_start()
195 utc.minutes = 0; in genie_time_periodic_start()
196 utc.seconds = 0; in genie_time_periodic_start()
197 utc.day = utc.day + next_weekday_diff_get(local_time.weekday, schedule); in genie_time_periodic_start()
723 utc_time_t utc; in unix2UTC() local
876 utc.year = year; in unix2UTC()
877 utc.month = month; in unix2UTC()
878 utc.day = day; in unix2UTC()
880 utc.hour = hour; in unix2UTC()
882 utc.seconds = sec; in unix2UTC()
[all …]
/AliOS-Things-master/components/linksdk/components/ntp/
A Daiot_ntp_api.c41 uint64_t dst = 0, srt = 0, sst = 0, utc = 0; in _ntp_recv_handler() local
53 utc = (srt + sst + ntp_handle->sysdep->core_sysdep_time() - dst) / 2; in _ntp_recv_handler()
55 core_log_set_timestamp(ntp_handle->sysdep, utc); in _ntp_recv_handler()
58 core_utc2date(utc, ntp_handle->time_zone, &date); in _ntp_recv_handler()
64 recv.data.local_time.timestamp = utc; in _ntp_recv_handler()
/AliOS-Things-master/components/linksdk/components/logpost/
A Daiot_logpost_api.c393 char utc[32] = { 0 }; in aiot_logpost_send() local
396 …const char *src[] = { id_string, utc, logpost_loglevel[msg->loglevel], msg->module_name, code, msg… in aiot_logpost_send()
402 …_core_log_append_date(logpost_handle->sysdep, core_log_get_timestamp(logpost_handle->sysdep), utc); in aiot_logpost_send()
404 _core_log_append_date(logpost_handle->sysdep, msg->timestamp, utc); in aiot_logpost_send()
/AliOS-Things-master/components/linksdk/core/utils/
A Dcore_string.c259 int32_t core_utc2date(uint64_t utc, int8_t zone, core_date_t *date) in core_utc2date() argument
268 date->msec = utc % 1000; in core_utc2date()
269 utc_zone_s = (utc / 1000) + (zone * 60 * 60); in core_utc2date()
A Dcore_string.h34 int32_t core_utc2date(uint64_t utc, int8_t zone, core_date_t *date);
/AliOS-Things-master/components/sensor/include/sensor/
A Dsensor.h468 gps_time_t utc; member

Completed in 14 milliseconds