diff --git a/platformio.ini b/platformio.ini index 077e825dc..5d388aafe 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 000000000..fbd22439b --- /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)