diff options
author | Jean-François Milants <jf@codingfield.com> | 2022-09-11 14:59:49 +0200 |
---|---|---|
committer | Jean-François Milants <jf@codingfield.com> | 2022-09-11 14:59:49 +0200 |
commit | ada2c09581d2d13acfa5ce9a97671c0ec17863f1 (patch) | |
tree | 2f776adc59d0c63e403d2043cb8460e65d6c46fe /doc/MotionService.md | |
parent | 18cff286c75f432095db4b188e0f9a8a9e2bd8e8 (diff) | |
parent | c9a5c3fa5c930a5939d3114a6c6b48570d61ca24 (diff) |
Merge branch 'develop' into infineat-external-resources
# Conflicts:
# src/displayapp/screens/Symbols.h
# src/displayapp/screens/settings/SettingWatchFace.cpp
# src/displayapp/screens/settings/SettingWatchFace.h
Diffstat (limited to 'doc/MotionService.md')
-rw-r--r-- | doc/MotionService.md | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/doc/MotionService.md b/doc/MotionService.md index 7cec3fba..429794ac 100644 --- a/doc/MotionService.md +++ b/doc/MotionService.md @@ -1,17 +1,23 @@ # Motion Service + ## Introduction + The motion service exposes step count and raw X/Y/Z motion value as READ and NOTIFY characteristics. ## Service + The service UUID is **00030000-78fc-48fe-8e23-433b3a1942d0** ## Characteristics + ### Step count (UUID 00030001-78fc-48fe-8e23-433b3a1942d0) + The current number of steps represented as a single `uint32_t` (4 bytes) value. ### Raw motion values (UUID 00030002-78fc-48fe-8e23-433b3a1942d0) + The current raw motion values. This is a 3 `int16_t` array: - - [0] : X - - [1] : Y - - [2] : Z +- [0] : X +- [1] : Y +- [2] : Z |