Skip to content

Commit 54ccd2c

Browse files
Update Navigation UUID documentation
Fixed mismatch between the service and characteristic IDs in the navigation service comments and documentation. They had old values not reflecting the current code and changes in doc/ble.md
1 parent 1ba99d2 commit 54ccd2c

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

doc/NavigationService.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ manDist (string) - Manouvre Distance, the distance to the upcoming change
99
progress (uint8) - Percent complete of total route, value 0-100
1010

1111
## Service
12-
The service UUID is c7e60001-78fc-48fe-8e23-433b3a1942d0
12+
The service UUID is 00010000-78fc-48fe-8e23-433b3a1942d0
1313

1414
## Characteristics
15-
## Flags (UUID c7e60002-78fc-48fe-8e23-433b3a1942d0)
15+
## Flags (UUID 00010001-78fc-48fe-8e23-433b3a1942d0)
1616
All included icons are from pure-maps, which provides the actual routing from the client. The icon names ultimately come from the mapbox project "direction-icons", See https://github.com/rinigus/pure-maps/tree/master/qml/icons/navigation See the end of this document for the full lsit of supported icon names.
1717

18-
## Narrative (UUID c7e60003-78fc-48fe-8e23-433b3a1942d0)
18+
## Narrative (UUID 00010002-78fc-48fe-8e23-433b3a1942d0)
1919
This is a client supplied string describing the upcoming instruction such as "At the roundabout take the first exit".
2020

21-
## Man Dist (UUID c7e60004-78fc-48fe-8e23-433b3a1942d0)
21+
## Man Dist (UUID 00010003-78fc-48fe-8e23-433b3a1942d0)
2222
This is a short string describing the distance to the upcoming instruction such as "50 m".
2323

24-
## Progress (UUID c7e60001=5-78fc-48fe-8e23-433b3a1942d0)
24+
## Progress (UUID 00010004-78fc-48fe-8e23-433b3a1942d0)
2525
The percent complete in a uint8. The watch displays this as an overall progress in a progress bar.
2626

2727
## Full icon list

src/components/ble/NavigationService.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#undef max
2727
#undef min
2828

29-
// c7e60000-78fc-48fe-8e23-433b3a1942d0
29+
// 00010000-78fc-48fe-8e23-433b3a1942d0
3030
#define NAVIGATION_SERVICE_UUID_BASE \
3131
{ 0xd0, 0x42, 0x19, 0x3a, 0x3b, 0x43, 0x23, 0x8e, 0xfe, 0x48, 0xfc, 0x78, 0x00, 0x00, 0x00, 0x00 }
3232

0 commit comments

Comments
 (0)