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)
can we somehow do non-flakey bluetooth (is it dbus?)
cool extras
===========
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
note that IPS LCD requires as much battery for dark pixels
as light ones, so we get no power saving by colouring only part
of the screen
------
we need to not rotate the text labels
which means we need to redraw whenever the angle changes
which is much more often than when we cross a tile boundary
so caching the bitmap isn't going to work
put map features in a table in app-state keyed on tile key
use the fetch on-complete callback to update app-state directly.
side issue: we could move widget updates from update-app-state
to the timer
maybe we could put the polylines in app-state. if we store
------
random notes follow ...
https://git.syndicate-lang.org/tonyg/squeak-phone/raw/commit/474960ddc665ed445a1f5afb0164fe39057720f9/devices/pine64-pinephone/modem-docs/80545ST10798A_LM940_QMI_Command_Reference_Guide_r3.pdf
----
https://git.syndicate-lang.org/tonyg/squeak-phone/raw/commit/474960ddc665ed445a1f5afb0164fe39057720f9/devices/pine64-pinephone/modem-docs/80545ST10798A_LM940_QMI_Command_Reference_Guide_r3.pdf
----