Skip to content

[Feature Request]: OTA over LoRa #7881

Description

@realtag-github

Platform

Cross-Platform

Description

I had an idea about how to do LoRa OTA. I don't know if it is feasible though.

  1. Cryptographically sign firmware binaries. Allow to configure what cryptographic key-pair to accept.
  2. Split partition microcontroller into two. Similar to how wifi OTA for esp32 works.
  3. Store slow LoRa OTA broadcasts into second partition to start assembling firmware out of chunks. Similar to how torrents or bitcoin blockchain sync work. (Too computationally heavy for microcontroller?)
  4. Have a mechanism that can request chunks from specific node(s). Store OTA firmware on the second partition on the sender node. OTA would be cryptographically signed by Meshtastic, but allows custom key to sign.
  5. Allow nodes to not re-broadcast this type of traffic or limit it only favorite nodes.
  6. Have a rate limit of this type of traffic on every node. If network is too busy then de-prioritize it.

Maybe I missed something, but I would like to start this discussion. Maybe my idea is too difficult or too computationally heavy for the microcontroller. But to me it looks like it could work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions