FreeRTOS: FreeRTOS Cellular Library v1.2.0
FreeRTOS Cellular Library
CellularTime_t Struct Reference

Represents time. More...

#include <cellular_types.h>

Data Fields

uint8_t month
 
uint8_t day
 
uint8_t hour
 
uint8_t minute
 
uint8_t second
 
uint16_t year
 
int32_t timeZone
 
uint8_t dst
 

Detailed Description

Represents time.

Field Documentation

◆ month

uint8_t CellularTime_t::month

1..12 (Jan = 1 .. Dec = 12).

◆ day

uint8_t CellularTime_t::day

Day of the month 1..31.

◆ hour

uint8_t CellularTime_t::hour

Hour of the day 0..23.

◆ minute

uint8_t CellularTime_t::minute

Minute of the hour 0..59.

◆ second

uint8_t CellularTime_t::second

Second of the minute 0..59.

◆ year

uint16_t CellularTime_t::year

Year (like 2019).

◆ timeZone

int32_t CellularTime_t::timeZone

Timezone represented in 15 minute increments (UTC+1 will be 4 because 1 hour = 60 minutes = 4 * 15 minutes).

◆ dst

uint8_t CellularTime_t::dst

Daylight savings ( 0 = No adjustment for daylight savings 1 = +1 hour for daylight savings 2 = +2 hours for daylight savings ).


The documentation for this struct was generated from the following file: