diff --git a/docs/software/TODO.md b/docs/software/TODO.md index b47fdb95..5547110d 100644 --- a/docs/software/TODO.md +++ b/docs/software/TODO.md @@ -2,7 +2,7 @@ You probably don't care about this section - skip to the next one. -1.2 cleanup & multichannel support: +## 1.2 cleanup & multichannel support: * DONE call RouterPlugin for *all* packets - not just Router packets * DONE generate channel hash from the name of the channel+the psk (not just one or the other) @@ -29,10 +29,11 @@ You probably don't care about this section - skip to the next one. * DONE release protobufs * DONE release to developers * fix 1.1.50 android debug panel display -* add gui in android app for setting region +* warn in android app about unset regions +* use set-channel from android +* DONE add gui in android app for setting region * stress test channel download from python, sometimes it seems like we don't get all replies * investigate @mc-hamster report of heap corruption -* use set-channel from android * DONE use set-user from android * combine acks and responses in a single message if possible (do routing plugin LAST and drop ACK if someone else has already replied) * don't send packets we received from the phone BACK TOWARDS THE PHONE (possibly use fromnode 0 for packets the phone sends?) @@ -40,12 +41,14 @@ You probably don't care about this section - skip to the next one. * make python tests more exhaustive * document the relationship between want_response (indicating remote node received it) and want_ack (indicating that this message should be sent reliably - and also get acks from the first rx node and naks if it is never delivered) * stress test multi channel +* use single byte 'well known' channel names for the four default channel names (longslow etc), and for admin, gpio, etc... +* use presence of gpio channel to enable gpio ops, same for serial etc... * pick default random admin key * DONE android should stop fetching channels once we've reached our first empty channel definition (hasSettings == true) * add channel restrictions for plugins (and restrict routing plugin to the "control" channel) * restrict gpio & serial & settings operations to the admin channel (unless local to the current node) -* warn in python api if we are too new to talk to the device code -* make a post warning about 1.2, telling how to stay on old android & python clients. link to this from the android dialog message and python version warning. +* DONE warn in python api if we are too new to talk to the device code +* DONE make a post warning about 1.2, telling how to stay on old android & python clients. link to this from the android dialog message and python version warning. * DONE "FIXME - move the radioconfig/user/channel READ operations into SettingsMessage as well" * DONE scrub protobufs to make sure they are absoloute minimum wiresize (in particular Data, ChannelSets and positions) * DONE change syncword (now ox2b) diff --git a/src/mesh/NodeDB.h b/src/mesh/NodeDB.h index 29c35369..b424adcb 100644 --- a/src/mesh/NodeDB.h +++ b/src/mesh/NodeDB.h @@ -154,7 +154,7 @@ extern NodeDB nodeDB; */ // Our delay functions check for this for times that should never expire -#define DELAY_FOREVER 0xffffffff +#define NODE_DELAY_FOREVER 0xffffffff #define IF_ROUTER(routerVal, normalVal) (radioConfig.preferences.is_router ? (routerVal) : (normalVal)) @@ -168,8 +168,8 @@ PREF_GET(position_broadcast_secs, IF_ROUTER(12 * 60 * 60, 15 * 60)) PREF_GET(wait_bluetooth_secs, IF_ROUTER(1, 60)) PREF_GET(screen_on_secs, 60) -PREF_GET(mesh_sds_timeout_secs, IF_ROUTER(DELAY_FOREVER, 2 * 60 * 60)) -PREF_GET(phone_sds_timeout_sec, IF_ROUTER(DELAY_FOREVER, 2 * 60 * 60)) +PREF_GET(mesh_sds_timeout_secs, IF_ROUTER(NODE_DELAY_FOREVER, 2 * 60 * 60)) +PREF_GET(phone_sds_timeout_sec, IF_ROUTER(NODE_DELAY_FOREVER, 2 * 60 * 60)) PREF_GET(sds_secs, 365 * 24 * 60 * 60) // We default to sleeping (with bluetooth off for 5 minutes at a time). This seems to be a good tradeoff between diff --git a/version.properties b/version.properties index c77424e6..9d155e71 100644 --- a/version.properties +++ b/version.properties @@ -1,4 +1,4 @@ [VERSION] major = 1 minor = 2 -build = 0 +build = 1