Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Work In Progress] Lorax - reliable communication with broadcast messages #18

Open
wants to merge 21 commits into
base: main
Choose a base branch
from

Conversation

lloydroc
Copy link
Owner

The lorax feature has the following:

The high level interface is called lorax. These goals of this high level interface is to send structured data over Lora that is reliable. This data is reliable from the criteria that we have checksums for the packets that are sent and will retry when messages are not responded to. Here are the details of the lorax interface:

  1. Interaction over sockets uses a message structure similar to the Internet Protocol
  2. The message is processed and converted to a packet that is sent over the air with Lora
  3. For reliability we will retry failed packets we don't get responses for, or have failed checksums
  4. Broadcasts are sent out and neighbors are stored. This allows us to discover who our neighbors are

@lloydroc lloydroc added the enhancement New feature or request label Nov 26, 2021
src/connection.c Outdated Show resolved Hide resolved
src/connection.h Outdated Show resolved Hide resolved
// used for stdin or a pipe
else
{
opts->input_standard = 0;
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Covered in other PR

src/list.c Outdated Show resolved Hide resolved
src/main_lorax.c Outdated Show resolved Hide resolved
src/message.c Show resolved Hide resolved
src/options_lorax.h Outdated Show resolved Hide resolved
[Service]
Type=forking
PIDFile=/run/lorax/lorax.pid
# TODO need to paramaterize the server socket to not be echo
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe need to register

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant