trouble-host

Crates

0.2.0

Versions

default

Flavors

Constant ACTIVITY_GOAL

Source
pub const ACTIVITY_GOAL: BluetoothUuid16;
Expand description

Bluetooth characteristic UUID.

0x2b4e Activity Goal

The Activity Goal characteristic is used to represent the goal or target of a user, such as number of steps or total energy expenditure, related to a physical activity session.


§Structure

§Data Type

FieldPresence Flags
Typeboolean8
Size1

§Description

See sec:org.bluetooth.characteristic.activity_goal/field/presence_flags

––///

§Data Type

FieldTotal Energy Expenditure
Typeuint16
Size0 or 2

§Description

Base Unit: org.bluetooth.unit.energy.joule Represented values: M = 1, d = 3, b = 0 Unit is joule with a resolution of 1000 J. Present if bit 0 of Presence Flags field is set to 1

––///

§Data Type

FieldNormal Walking Steps
Typeuint24
Size0 or 3

§Description

Unit: org.bluetooth.unit.unitless Present if bit 1 of Presence Flags field is set to 1

––///

§Data Type

FieldIntensity Steps
Typeuint24
Size0 or 3

§Description

Unit: org.bluetooth.unit.unitless Present if bit 2 of Presence Flags field is set to 1

––///

§Data Type

FieldFloor Steps
Typeuint24
Size0 or 3

§Description

Unit: org.bluetooth.unit.unitless Present if bit 3 of Presence Flags field is set to 1

––///

§Data Type

FieldDistance
Typeuint24
Size0 or 3

§Description

Base Unit: org.bluetooth.unit.length.metre Represented values: M = 1, d = 1, b = 0 Unit is meter with a resolution of 1 m. Present if bit 4 of Presence Flags field is set to 1

––///

§Data Type

FieldDuration of Normal Walking
Typeuint24
Size0 or 3

§Description

Unit: org.bluetooth.unit.time.second Present if bit 5 of Presence Flags field is set to 1

––///

§Data Type

FieldDuration of Intensity Walking
Typeuint24
Size0 or 3

§Description

Unit: org.bluetooth.unit.time.second Present if bit 6 of Presence Flags field is set to 1


more information