meshtastic-android/TODO.md

71 wiersze
4.0 KiB
Markdown
Czysty Zwykły widok Historia

2020-01-26 23:01:59 +00:00
# High priority
2020-02-01 20:33:53 +00:00
2020-02-04 20:12:29 +00:00
* if radio disconnects, we need to requeue a new connect attempt in RadioService
2020-02-03 18:01:51 +00:00
* when notified phone should download messages
* fix startup race conditions in services, allow reads to block as needed
2020-01-27 22:54:35 +00:00
* investigate the Signal SMS message flow path, see if I could just make Mesh a third peer to signal & sms?
2020-01-26 23:01:59 +00:00
* make signal work when there is no internet up
* make Signal rx path work
2020-01-27 22:54:35 +00:00
* send Signal message type. It seems to be? " public static final int WHISPER_TYPE = 2;
public static final int PREKEY_TYPE = 3;
public static final int SENDERKEY_TYPE = 4;
public static final int SENDERKEY_DISTRIBUTION_TYPE = 5;"
2020-02-01 20:33:53 +00:00
* don't do mesh based algoritm for node id assignment (initially) - instead just store in flash - possibly even in the initial alpha release do this hack
* add large packet reassembly?
2020-02-03 03:20:17 +00:00
* optionally turn off crypto in signal - preferably though see if there is a nice way to be a peer of signal/sms and now mesh.
* change signal package ID - if distributing modified binary
2020-02-01 20:33:53 +00:00
* good tips on which bands might be more free https://github.com/TheThingsNetwork/ttn/issues/119
* make my android app show mesh state
2020-01-22 22:48:06 +00:00
* use https://codelabs.developers.google.com/codelabs/jetpack-compose-basics/#4 to show service state
2020-02-03 03:20:17 +00:00
* connect to bluetooth device automatically using minimum power, start looking at phone boot
* 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
# Medium priority
2020-02-04 21:24:04 +00:00
* test with oldest android
* stop using a foreground service
* 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).
2020-01-27 22:54:35 +00:00
Don't leave device discoverable. Don't let unpaired users do things with device
2020-02-03 02:38:01 +00:00
* if the rxpacket queue on the device overflows (because android hasn't connected in a while) send a special packet to android which means 'X packets have been dropped because you were offline' -drop oldest packets first
2020-01-21 17:37:39 +00:00
# Low priority
2020-01-22 22:27:22 +00:00
* make analytics optional
2020-02-03 03:20:17 +00:00
* also add a receiver that fires after a new update was installed from the play store
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)
2020-01-26 23:01:59 +00:00
* undo base64
* use android service from Signal
* send signal message type over wire
* DONE add broadcasters for use by signal (node changes and packet received)
* DONE have signal declare receivers: https://developer.android.com/guide/components/broadcasts#manifest-declared-receivers
2020-01-27 22:54:35 +00:00
* fix // FIXME hack for now - throw IdNotFoundException(id) in MeshService
2020-02-01 20:33:53 +00:00
* clean up sw update code in device side
* add real messaging code/protobufs
2020-02-03 03:20:17 +00:00
* implement android side of mesh radio bluetooth link
* use the lora net code on my current protoboard
* investigate a 16 bit node number. If possible it would make collisions super rare. Much easier to just pick a nodenum and go.
* remove example code boilerplate from the service
* switch from protobuf-java to protobuf-javalite - much faster and smaller, just no JSON debug printing
* have phone use our local node number as its node number (instead of hardwired)