mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-25 14:17:40 +00:00
todo progress
This commit is contained in:
parent
37eca63e58
commit
1929d38226
16
TODO.md
16
TODO.md
@ -1,22 +1,20 @@
|
|||||||
# High priority
|
# High priority
|
||||||
|
|
||||||
* implement regen user and radio prefs
|
* implement regen owner and radio prefs
|
||||||
* have meshservice send location data on mesh (if device has a GPS)
|
* have meshservice periodically send location data on mesh (if device has a GPS)
|
||||||
* implement getCurrentTime() - set based off gps but then updated locally
|
* implement getCurrentTime() - set based off gps but then updated locally
|
||||||
* confirm second device receives that gps message and updates device db
|
* confirm second device receives that gps message and updates device db
|
||||||
* pretty often send our position packet (but only if we've moved)
|
|
||||||
|
* save our node db (and any rx packets waiting for phone) to flash - see DeviceState protobuf
|
||||||
* port my graphics library over from the sw102, same screen controller and resolution
|
* port my graphics library over from the sw102, same screen controller and resolution
|
||||||
* very occasionally send our position and user packet (if for nothing else so that other nodes update last_seen)
|
* very occasionally send our position and user packet (if for nothing else so that other nodes update last_seen)
|
||||||
* switch to my gui layout manager
|
* switch to my gui layout manager
|
||||||
* have a state machine return the correct FromRadio packet to the phone, it isn't always going to be a MeshPacket. Do a notify on fromnum to force the radio to read our state machine generated packets
|
|
||||||
* send my_node_num when phone sends WantsNodes
|
|
||||||
* make jtag work on second board
|
* make jtag work on second board
|
||||||
* make basic gui. different screens: debug, one page for each user in the user db, last received text message
|
* make basic gui. different screens: debug, one page for each user in the user db, last received text message
|
||||||
* respond to the WantNodes message
|
|
||||||
|
|
||||||
# Medium priority
|
# Medium priority
|
||||||
|
|
||||||
* save our node db (and any rx packets waiting for phone) to flash - see DeviceState protobuf
|
* don't send location packets if we haven't moved
|
||||||
* send correct hw vendor in the bluetooth info - needed so the android app can update different radio models
|
* send correct hw vendor in the bluetooth info - needed so the android app can update different radio models
|
||||||
* use https://lastminuteengineers.com/esp32-sleep-modes-power-consumption/ association sleep pattern to save power - but see https://github.com/espressif/esp-idf/issues/2070
|
* use https://lastminuteengineers.com/esp32-sleep-modes-power-consumption/ association sleep pattern to save power - but see https://github.com/espressif/esp-idf/issues/2070
|
||||||
* correctly map nodeids to nodenums, currently we just do a proof of concept by always doing a broadcast
|
* correctly map nodeids to nodenums, currently we just do a proof of concept by always doing a broadcast
|
||||||
@ -64,4 +62,6 @@ until the phone pulls those packets. Ever so often power on bluetooth just so w
|
|||||||
* notify phone when rx packets arrive, currently the phone polls at startup only
|
* notify phone when rx packets arrive, currently the phone polls at startup only
|
||||||
* figure out if we can use PA_BOOST - yes, it seems to be on both boards
|
* figure out if we can use PA_BOOST - yes, it seems to be on both boards
|
||||||
* implement new ble characteristics
|
* implement new ble characteristics
|
||||||
* have MeshService keep a node DB by sniffing user messages
|
* have MeshService keep a node DB by sniffing user messages
|
||||||
|
* have a state machine return the correct FromRadio packet to the phone, it isn't always going to be a MeshPacket. Do a notify on fromnum to force the radio to read our state machine generated packets
|
||||||
|
* send my_node_num when phone sends WantsNodes
|
10
src/main.ino
10
src/main.ino
@ -359,8 +359,14 @@ void setup()
|
|||||||
//}
|
//}
|
||||||
|
|
||||||
service.init();
|
service.init();
|
||||||
BLEServer *serve = initBLE(getDeviceName(), HW_VENDOR, APP_VERSION); // FIXME, use a real name based on the macaddr
|
|
||||||
createMeshBluetoothService(serve);
|
bool useBluetooth = true;
|
||||||
|
if (useBluetooth)
|
||||||
|
{
|
||||||
|
DEBUG_MSG("Starting bluetooth\n");
|
||||||
|
BLEServer *serve = initBLE(getDeviceName(), HW_VENDOR, APP_VERSION); // FIXME, use a real name based on the macaddr
|
||||||
|
createMeshBluetoothService(serve);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop()
|
void loop()
|
||||||
|
Loading…
Reference in New Issue
Block a user