trouble-host

Crates

0.2.0

Versions

default

Flavors

Constant DATE_TIME

Source
pub const DATE_TIME: BluetoothUuid16;
Expand description

Bluetooth characteristic UUID.

0x2a08 Date Time

The Date Time characteristic is used to represent date and time.


§Structure

§Data Type

FieldYear
Typeuint16
Size2

§Description

Year as defined by the Gregorian calendar. Valid range 1582 to 9999. A value of 0 means that the year is not known. All other values are Reserved for Future Use.

––///

§Data Type

FieldMonth
Typeuint8
Size1

§Description

Month of the year as defined by the Gregorian calendar. Valid range 1 (January) to 12 (December). A value of 0 means that the month is not known. All other values are Reserved for Future Use.

––///

§Data Type

FieldDay
Typeuint8
Size1

§Description

Day of the month as defined by the Gregorian calendar. Valid range 1 to 31. A value of 0 means that the day of month is not known. All other values are Reserved for Future Use.

––///

§Data Type

FieldHours
Typeuint8
Size1

§Description

Number of hours past midnight. Valid range 0 to 23. All other values are Reserved for Future Use.

––///

§Data Type

FieldMinutes
Typeuint8
Size1

§Description

Number of minutes since the start of the hour. Valid range 0 to 59. All other values are Reserved for Future Use.

––///

§Data Type

FieldSeconds
Typeuint8
Size1

§Description

Number of seconds since the start of the minute. Valid range 0 to 59. All other values are Reserved for Future Use.


more information