From 0b62083e355f3468d83b614d0de79e38ffb1c7e8 Mon Sep 17 00:00:00 2001 From: geeksville Date: Tue, 14 Apr 2020 16:45:26 -0700 Subject: [PATCH] wip - plan --- platformio.ini | 1 + src/rf95/kh-todo.txt | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 src/rf95/kh-todo.txt diff --git a/platformio.ini b/platformio.ini index 077e825d..5d388aaf 100644 --- a/platformio.ini +++ b/platformio.ini @@ -65,6 +65,7 @@ debug_tool = jlink debug_init_break = tbreak setup lib_deps = + https://github.com/meshtastic/LoRaLayer2.git https://github.com/meshtastic/esp8266-oled-ssd1306.git ; ESP8266_SSD1306 SPI ; 1260 ; OneButton - not used yet diff --git a/src/rf95/kh-todo.txt b/src/rf95/kh-todo.txt new file mode 100644 index 00000000..fbd22439 --- /dev/null +++ b/src/rf95/kh-todo.txt @@ -0,0 +1,21 @@ +In old lib code: +* pass header all the way down to device +* have device send header using the same code it uses to send payload +* have device treat received header as identical to payload +* use new MessageHeader in existing app (make sure it is packed properly) + +In the sudomesh code: +* move this rf95 lib into the layer2 project +* make RadioInterface the new layer one API (move over set radio options) +* change meshtastic app to use new layer one API + +Now meshtastic is sharing layer one with disaster radio. +* change mesthastic app to use new layer two API (make sure broadcast still works for max TTL of 1) + +Now meshtastic is sharing layer two with disaster radio. + +* make simulation code work with new API +* make disaster radio app work with new API + +much later: +* allow packets to be filtered at the device level RX time based on dest addr (to avoid waking main CPU unnecessarily)