Data Structures | Macros | Typedefs
BleTimeTypes.h File Reference
#include "BleTypes.h"
+ Include dependency graph for BleTimeTypes.h:
+ This graph shows which files directly or indirectly include this file:

Data Structures

struct  BleDateTime
 
struct  BleDayDateTime
 

Macros

#define BLETIMEADJUSTREASON_DSTCHANGE   (0x08u)
 
#define BLETIMEADJUSTREASON_EXTERNALREFTIMEUPADTE   (0x02u)
 
#define BLETIMEADJUSTREASON_MANUAL   (0x01u)
 
#define BLETIMEADJUSTREASON_TIMEZONECHANGE   (0x04u)
 
#define BLETIMEADJUSTREASON_UNKNOW   (0x00u)
 
#define BLETIMEDSTOFFSET_HALFANHOUR   0x02
 
#define BLETIMEDSTOFFSET_ONEHOUR   0x04
 
#define BLETIMEDSTOFFSET_STANDARD   0x00
 
#define BLETIMEDSTOFFSET_TWOHOURS   0x08
 
#define BLETIMEDSTOFFSET_UNKNOWN   0xFF
 
#define BLETIMESOURCE_ATOMICCLOCK   5
 
#define BLETIMESOURCE_CELLULARNETWORK   6
 
#define BLETIMESOURCE_GPS   2
 
#define BLETIMESOURCE_MANUAL   4
 
#define BLETIMESOURCE_NETWORKTIMEPROTOCOL   1
 
#define BLETIMESOURCE_RADIOSIGNAL   3
 
#define BLETIMESOURCE_UNKNWOWN   0
 
#define BLETIMEZONE_UNKNOWN   -128
 

Typedefs

typedef U8 BleDayOfWeek
 
typedef U8 BleTimeAdjustReason
 
typedef U8 BleTimeDSTOffset
 
typedef U8 BleTimeFraction256
 
typedef U8 BleTimeSource
 
typedef S8 BleTimeZone
 

Macro Definition Documentation

#define BLETIMEADJUSTREASON_DSTCHANGE   (0x08u)
#define BLETIMEADJUSTREASON_EXTERNALREFTIMEUPADTE   (0x02u)
#define BLETIMEADJUSTREASON_MANUAL   (0x01u)
#define BLETIMEADJUSTREASON_TIMEZONECHANGE   (0x04u)
#define BLETIMEADJUSTREASON_UNKNOW   (0x00u)
#define BLETIMEDSTOFFSET_HALFANHOUR   0x02
#define BLETIMEDSTOFFSET_ONEHOUR   0x04
#define BLETIMEDSTOFFSET_STANDARD   0x00
#define BLETIMEDSTOFFSET_TWOHOURS   0x08
#define BLETIMEDSTOFFSET_UNKNOWN   0xFF
#define BLETIMESOURCE_ATOMICCLOCK   5
#define BLETIMESOURCE_CELLULARNETWORK   6
#define BLETIMESOURCE_GPS   2
#define BLETIMESOURCE_MANUAL   4
#define BLETIMESOURCE_NETWORKTIMEPROTOCOL   1
#define BLETIMESOURCE_RADIOSIGNAL   3
#define BLETIMESOURCE_UNKNWOWN   0
#define BLETIMEZONE_UNKNOWN   -128

Typedef Documentation

typedef U8 BleDayOfWeek

BleDayOfWeek type BleDayOfWeek is Day of the week. Valid range 1 (Monday) to 7 (Sunday). A value of 0 means that the day of Week is not known.

BleTimeAdjustReason type BleTimeAdjustReason is the current time adjust reason. A value of 0 means that the BleTimeAdjustReason is not known. Available possible values are BLETIMEADJUSTREASON_MANUAL: Manual time update BLETIMEADJUSTREASON_EXTERNALREFTIMEUPADTE: External reference time update BLETIMEADJUSTREASON_TIMEZONECHANGE: Change of time zone BLETIMEADJUSTREASON_DSTCHANGE: Change of DST (daylight savings time)

BleTimeDSTOffset type BleTimeDSTOffset defines the current Dayligth Saving Time offset. Available possible value are BLETIMEDSTOFFSET_STANDARD: Standard Time BLETIMEDSTOFFSET_HALFANHOUR: Half An Hour Daylight Time (+0.5h) BLETIMEDSTOFFSET_ONEHOUR: Daylight Time (+1h) BLETIMEDSTOFFSET_TWOHOURS: Double Daylight Time (+2h) BLETIMEDSTOFFSET_UNKNOWN: the DST is not known

BleTimeFraction256 type BleTimeFraction256 is the 1/256 fraction of second. A value of 0 means that the BleTimeFraction256 is not known.

typedef U8 BleTimeSource

BleTimeSource type BleTimeSource defines the time update source. Available possible value are +-----------------------------------—+--------------------—+ | value | means | +-----------------------------------—+--------------------—+ | BLETIMESOURCE_UNKNWOWN | Unknown | | BLETIMESOURCE_NETWORKTIMEPROTOCOL | Network Time Protocol | | BLETIMESOURCE_GPS | GPS | | BLETIMESOURCE_RADIOSIGNAL | Radio Time Signal | | BLETIMESOURCE_MANUAL | Manual | | BLETIMESOURCE_ATOMICCLOCK | Atomic Clock | | BLETIMESOURCE_CELLULARNETWORK | Cellular Network | +-----------------------------------—+--------------------—+

typedef S8 BleTimeZone

BleTimeZone type BleTimeZone defines the Time Zone from the Coordinated universal time (UTC) valid range is -48 (UTC-12:00) to 56 (UTC+14:00) BLETIMEZONE_UNKNOWN means that the timeZone is not known

+----—+--------—+ +----—+--------—+ +----—+--------—+ | value | means | | value | means | | value | means | +----—+--------—+ +----—+--------—+ +----—+--------—+ | -48 | UTC-12:00 | | -04 | UTC-1:00 | | +32 | UTC+8:00 | | -44 | UTC-11:00 | | -00 | UTC+0:00 | | +35 | UTC+8:45 | | -40 | UTC-10:00 | | +04 | UTC+1:00 | | +36 | UTC+9:00 | | -38 | UTC-9:30 | | +08 | UTC+2:00 | | +38 | UTC+9:30 | | -36 | UTC-9:00 | | +12 | UTC+3:00 | | +40 | UTC+10:00 | | -32 | UTC-8:00 | | +14 | UTC+3:30 | | +42 | UTC+10:30 | | -28 | UTC-7:00 | | +16 | UTC+4:00 | | +44 | UTC+11:00 | | -24 | UTC-6:00 | | +18 | UTC+4:30 | | +46 | UTC+11:30 | | -20 | UTC-5:00 | | +20 | UTC+5:00 | | +48 | UTC+12:00 | | -18 | UTC-4:30 | | +22 | UTC+5:30 | | +51 | UTC+12:45 | | -16 | UTC-4:00 | | +23 | UTC+5:45 | | +52 | UTC+13:00 | | -14 | UTC-3:30 | | +24 | UTC+6:00 | | +56 | UTC+14:00 | | -12 | UTC-3:00 | | +26 | UTC+6:30 | +----—+--------—+ | -08 | UTC-2:00 | | +28 | UTC+7:00 | +----—+--------—+ +----—+--------—+


This documentation file has been automatically generated on Fri Oct 4 2019 03:47:04 by doxygen 1.8.8