-
-
Notifications
You must be signed in to change notification settings - Fork 969
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of JF/PineTime into master
- Loading branch information
Showing
317 changed files
with
12,185 additions
and
468 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
image: | ||
file: docker/.gitpod.Dockerfile | ||
github: | ||
prebuilds: | ||
# enable for the master/default branch (defaults to true) | ||
master: true | ||
# enable for all branches in this repo (defaults to false) | ||
branches: false | ||
# enable for pull requests coming from this repo (defaults to true) | ||
pullRequests: false | ||
# enable for pull requests coming from forks (defaults to false) | ||
pullRequestsFromForks: false | ||
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true) | ||
addComment: true | ||
# add a "Review in Gitpod" button to pull requests (defaults to false) | ||
addBadge: false | ||
# add a label once the prebuild is ready to pull requests (defaults to false) | ||
addLabel: false #prebuilt-in-gitpod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
# Navigation Service | ||
## Introduction | ||
The navigation ble service provides 4 characteristics to allow the the watch to display navigation instructions from a companion application. The intended purpose is when performing some outdoor activities, for example running or cycling. | ||
|
||
The 4 characteristics are: | ||
flag (string) - Upcoming icon name | ||
narrative (string) - Textual description of instruction | ||
manDist (string) - Manouvre Distance, the distance to the upcoming change | ||
progress (uint8) - Percent complete of total route, value 0-100 | ||
|
||
## Service | ||
The service UUID is c7e60001-78fc-48fe-8e23-433b3a1942d0 | ||
|
||
## Characteristics | ||
## Flags (UUID c7e60002-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. | ||
|
||
## Narrative (UUID c7e60003-78fc-48fe-8e23-433b3a1942d0) | ||
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) | ||
This is a short string describing the distance to the upcoming instruction such as "50 m". | ||
|
||
## Progress (UUID c7e60001=5-78fc-48fe-8e23-433b3a1942d0) | ||
The percent complete in a uint8. The watch displays this as an overall progress in a progress bar. | ||
|
||
## Full icon list | ||
* arrive | ||
* arrive-left | ||
* arrive-right | ||
* arrive-straight | ||
* close | ||
* continue | ||
* continue-left | ||
* continue-right | ||
* continue-slight-left | ||
* continue-slight-right | ||
* continue-straight | ||
* continue-uturn | ||
* depart | ||
* depart-left | ||
* depart-right | ||
* depart-straight | ||
* end-of-road-left | ||
* end-of-road-right | ||
* ferry | ||
* flag | ||
* fork | ||
* fork-left | ||
* fork-right | ||
* fork-slight-left | ||
* fork-slight-right | ||
* fork-straight | ||
* invalid | ||
* invalid-left | ||
* invalid-right | ||
* invalid-slight-left | ||
* invalid-slight-right | ||
* invalid-straight | ||
* invalid-uturn | ||
* merge-left | ||
* merge-right | ||
* merge-slight-left | ||
* merge-slight-right | ||
* merge-straight | ||
* new-name-left | ||
* new-name-right | ||
* new-name-sharp-left | ||
* new-name-sharp-right | ||
* new-name-slight-left | ||
* new-name-slight-right | ||
* new-name-straight | ||
* notification-left | ||
* notification-right | ||
* notification-sharp-left | ||
* notification-sharp-right | ||
* notification-slight-left | ||
* notification-slight-right | ||
* notification-straight | ||
* off-ramp-left | ||
* off-ramp-right | ||
* off-ramp-sharp-left | ||
* off-ramp-sharp-right | ||
* off-ramp-slight-left | ||
* off-ramp-slight-right | ||
* off-ramp-straight | ||
* on-ramp-left | ||
* on-ramp-right | ||
* on-ramp-sharp-left | ||
* on-ramp-sharp-right | ||
* on-ramp-slight-left | ||
* on-ramp-slight-right | ||
* on-ramp-straight | ||
* rotary | ||
* rotary-left | ||
* rotary-right | ||
* rotary-sharp-left | ||
* rotary-sharp-right | ||
* rotary-slight-left | ||
* rotary-slight-right | ||
* rotary-straight | ||
* roundabout | ||
* roundabout-left | ||
* roundabout-right | ||
* roundabout-sharp-left | ||
* roundabout-sharp-right | ||
* roundabout-slight-left | ||
* roundabout-slight-right | ||
* roundabout-straight | ||
* turn-left | ||
* turn-right | ||
* turn-sharp-left | ||
* turn-sharp-right | ||
* turn-slight-left | ||
* turn-slight-right | ||
* turn-stright | ||
* updown | ||
* uturn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
FROM gitpod/workspace-full | ||
|
||
USER root | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
RUN apt-get update -qq \ | ||
&& apt-get install -y \ | ||
# x86_64 / generic packages | ||
bash \ | ||
build-essential \ | ||
cmake \ | ||
git \ | ||
make \ | ||
python3 \ | ||
python3-pip \ | ||
tar \ | ||
unzip \ | ||
wget \ | ||
# aarch64 packages | ||
libffi-dev \ | ||
libssl-dev \ | ||
python3-dev \ | ||
&& rm -rf /var/cache/apt/* /var/lib/apt/lists/*; | ||
|
||
# Needs to be installed as root | ||
RUN pip3 install adafruit-nrfutil | ||
|
||
COPY docker/build.sh /opt/ | ||
# Lets get each in a separate docker layer for better downloads | ||
# GCC | ||
RUN bash -c "source /opt/build.sh; GetGcc;" | ||
# NrfSdk | ||
RUN bash -c "source /opt/build.sh; GetNrfSdk;" | ||
# McuBoot | ||
RUN bash -c "source /opt/build.sh; GetMcuBoot;" | ||
|
||
# Link the default checkout workspace in to the default $SOURCES_DIR | ||
RUN ln -s /workspace/Pinetime /sources | ||
|
||
USER gitpod |
Oops, something went wrong.