meshtastic-android/TODO.md

62 wiersze
2.7 KiB
Markdown
Czysty Zwykły widok Historia

2020-01-21 17:37:39 +00:00
* use android service from Signal
2020-01-26 20:18:49 +00:00
* send signal message type over wire
* fix // FIXME hack for now - throw IdNotFoundException(id) in MeshService
* undo base64
* optionally turn off crypto in signal
* clean up sw update code in device side
2020-01-26 20:18:49 +00:00
* change signal package ID
2020-01-23 14:34:15 +00:00
* DONE add broadcasters for use by signal (node changes and packet received)
* make compose based access show mesh state
2020-01-23 00:45:27 +00:00
* add real messaging code/protobufs
2020-01-22 22:48:06 +00:00
* use https://codelabs.developers.google.com/codelabs/jetpack-compose-basics/#4 to show service state
2020-01-23 00:45:27 +00:00
* connect to bluetooth device automatically using minimum power
2020-01-26 19:33:51 +00:00
* DONE have signal declare receivers: https://developer.android.com/guide/components/broadcasts#manifest-declared-receivers
* fix BT device scanning
2020-01-25 18:00:57 +00:00
* call crashlytics from exceptionReporter!!! currently not logging failures caught there
2020-01-21 17:37:39 +00:00
2020-01-23 04:46:00 +00:00
protobuf notes
protoc -I=. --java_out /tmp mesh.proto
2020-01-23 02:32:21 +00:00
2020-01-23 04:46:00 +00:00
to generate nanopb c code
/home/kevinh/packages/nanopb-0.4.0-linux-x86/generator-bin/protoc --nanopb_out=/tmp -I=app/src/main/proto mesh.proto
https://jpa.kapsi.fi/nanopb/docs/
nanopb binaries available here: https://jpa.kapsi.fi/nanopb/download/ use nanopb 0.4.0
2020-01-23 16:09:50 +00:00
2020-01-21 17:37:39 +00:00
# Medium priority
* change info() log strings to debug()
2020-01-23 14:46:23 +00:00
* use platform theme (dark or light)
2020-01-23 14:34:15 +00:00
* remove mixpanel analytics
2020-01-21 20:07:03 +00:00
* require user auth to pair with the device (i.e. press button on device to allow a new phone to pair with it).
Don't leave device discoverable. Don't let unpaired users do thing with device
2020-01-21 17:37:39 +00:00
* remove example code boilerplate from the service
2020-01-25 04:35:42 +00:00
* switch from protobuf-java to protobuf-javalite - much faster and smaller, just no JSON debug printing
2020-01-21 17:37:39 +00:00
# Low priority
2020-01-22 22:27:22 +00:00
* make analytics optional
2020-01-22 21:02:24 +00:00
* possibly use finotes for analytics https://finotes.com/
* also add a receiver that fires after a new update was installed from the play stoe
2020-01-22 22:27:22 +00:00
# Done
* DONE fix bluetooth update
* DONE refactor sw update code to share with my other bluetooth service
* DONE don't let sw update got to sleep during the update
2020-01-22 22:27:22 +00:00
* assert() is apparently a noop - change to use my version of assert
* DONE add crash reporting
* DONE add analytics (make them optional)
2020-01-22 22:48:06 +00:00
* make frontend using https://developer.android.com/jetpack/compose/tutorial
2020-01-23 18:39:54 +00:00
* change bluetooth mtu length to 512 (default is only 20)
* DONE get signal running under debugger
* Find good Signal hooks
* receive fake packets at power on to built initial state (for debugging, pretend there are a couple of nodes out there)
* learn our node number
* test mesh service from activity
2020-01-26 20:18:49 +00:00
* DONE handle failures in onCharWrite, instead of logAssert - because they can happen if device goes away
* DONE explictly broadcast towards signal https://developer.android.com/guide/components/broadcasts
* make test implementation of android service (doesn't use bluetooth)