Config for my moto harpia to turn it into a bike computer. We will
need

- working gps
- bluetooth (ble) stuff
- wayland "cage" compositor
- an app
- rsync service so that trails can be downloaded to a computer
- ip connectivity with flight mode
 - give it telent and dandroid as APs
 - use rfkill aggressively to save battery
 
Absent any reason I should not write the app in fennel I'm going to
write the app in fennel. I want it to

- display speed/cadence/time of day/power
- show where I am on a map
- record trail of where I've been (note: indoor counts too)

## open questions and todo itens


### can we somehow do non-flakey bluetooth (is it dbus?)

### adjust screen brightness 

* turn off backlight when stopped after a minute
* dim the screen when following a route and the next
 navigation instruction is still some way off
* tap to wake screen

### move widget updates from update-app-state to tick

### make saturn give visual feedback while it's loading an app

How does it know when the app has finished loading?  Maybe it
could get told when its window is obscured

### rename Maps to soemthing that describes its role better.

Cockpit?  HUD? (but it's actually H Down D) Head Unit? Navigate?
Dashboard? Cluster?  Codriver? Satnav? Binnacle? Launch? Ride? Embark?

### show speed limit

###  overlay planned route on map

* fetch planned route from nominated url
(don't want to type the url in, is there a better way to have it check in
with a mothership?)
* when off-course, calculate route to nearest point on course
* show next turn
* voice prompts
* perhaps we need a server-side component for route planning

### save trail

### elapsed time: what should it actually show? moving time, I guess

- moving time since when?

### profiles for pedal/motor differences

* think about how to use nfc tags or something for profiles so that
it can recognise when it's attached to bicycle or motorbike
* different map features (e.g. cycle tracks)
* ble power and cadence are meaningless on motorbike

### improve zoom

* at coarser zoom levels, we need to query for fewer objects: either 
do it by hand -

- houses
- minor roads
- major roads

or so something smart but complicated like "only return ways that
cover more than 1/16th the length of the tile"

* autozooom accordig to speed and/or upcoming waypoints




https://git.syndicate-lang.org/tonyg/squeak-phone/raw/commit/474960ddc665ed445a1f5afb0164fe39057720f9/devices/pine64-pinephone/modem-docs/80545ST10798A_LM940_QMI_Command_Reference_Guide_r3.pdf

Description
No description provided
Readme 1 MiB
Languages
C 38.5%
Fennel 36.7%
Nix 14.3%
Shell 4.7%
Python 4.2%
Other 1.6%