From c2b6a8de3e15fa66d48a373b3504fcebf12d905b Mon Sep 17 00:00:00 2001 From: Riku Isokoski Date: Sun, 21 Aug 2022 14:50:09 +0300 Subject: Fix markdown format with autoformatter (#1284) --- doc/MotionService.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'doc/MotionService.md') 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 -- cgit v1.2.3