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
This commit is contained in:
parent
1ba99d2427
commit
54ccd2cc07
|
@ -9,19 +9,19 @@ manDist (string) - Manouvre Distance, the distance to the upcoming change
|
||||||
progress (uint8) - Percent complete of total route, value 0-100
|
progress (uint8) - Percent complete of total route, value 0-100
|
||||||
|
|
||||||
## Service
|
## Service
|
||||||
The service UUID is c7e60001-78fc-48fe-8e23-433b3a1942d0
|
The service UUID is 00010000-78fc-48fe-8e23-433b3a1942d0
|
||||||
|
|
||||||
## Characteristics
|
## Characteristics
|
||||||
## Flags (UUID c7e60002-78fc-48fe-8e23-433b3a1942d0)
|
## Flags (UUID 00010001-78fc-48fe-8e23-433b3a1942d0)
|
||||||
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.
|
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.
|
||||||
|
|
||||||
## Narrative (UUID c7e60003-78fc-48fe-8e23-433b3a1942d0)
|
## Narrative (UUID 00010002-78fc-48fe-8e23-433b3a1942d0)
|
||||||
This is a client supplied string describing the upcoming instruction such as "At the roundabout take the first exit".
|
This is a client supplied string describing the upcoming instruction such as "At the roundabout take the first exit".
|
||||||
|
|
||||||
## Man Dist (UUID c7e60004-78fc-48fe-8e23-433b3a1942d0)
|
## Man Dist (UUID 00010003-78fc-48fe-8e23-433b3a1942d0)
|
||||||
This is a short string describing the distance to the upcoming instruction such as "50 m".
|
This is a short string describing the distance to the upcoming instruction such as "50 m".
|
||||||
|
|
||||||
## Progress (UUID c7e60001=5-78fc-48fe-8e23-433b3a1942d0)
|
## Progress (UUID 00010004-78fc-48fe-8e23-433b3a1942d0)
|
||||||
The percent complete in a uint8. The watch displays this as an overall progress in a progress bar.
|
The percent complete in a uint8. The watch displays this as an overall progress in a progress bar.
|
||||||
|
|
||||||
## Full icon list
|
## Full icon list
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
#undef max
|
#undef max
|
||||||
#undef min
|
#undef min
|
||||||
|
|
||||||
// c7e60000-78fc-48fe-8e23-433b3a1942d0
|
// 00010000-78fc-48fe-8e23-433b3a1942d0
|
||||||
#define NAVIGATION_SERVICE_UUID_BASE \
|
#define NAVIGATION_SERVICE_UUID_BASE \
|
||||||
{ 0xd0, 0x42, 0x19, 0x3a, 0x3b, 0x43, 0x23, 0x8e, 0xfe, 0x48, 0xfc, 0x78, 0x00, 0x00, 0x00, 0x00 }
|
{ 0xd0, 0x42, 0x19, 0x3a, 0x3b, 0x43, 0x23, 0x8e, 0xfe, 0x48, 0xfc, 0x78, 0x00, 0x00, 0x00, 0x00 }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue