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

Implement Google Nearby based Meshrabiya virtual network #12

Open
5 of 6 tasks
mikedawson opened this issue Sep 9, 2024 · 2 comments
Open
5 of 6 tasks

Implement Google Nearby based Meshrabiya virtual network #12

mikedawson opened this issue Sep 9, 2024 · 2 comments

Comments

@mikedawson
Copy link
Member

mikedawson commented Sep 9, 2024

Implement support for using Google Nearby as a transport layer for Meshrabiya:

  • @mikedawson design interfaces for abstract transports
  • @Prashant-Android Implement support for sending UDP packet as a byte Payload
  • @Prashant-Android Implement support for using nearby Streams
  • @Prashant-Android Implement chat using UDP
  • @mikedawson refactor to use abstract interfaces for current implementation
  • @Prashant-Android to update dependencies to match versions used in Ustad. Also convert to using libs.versions.toml like ustad, not variables in Gradle build file.
@mikedawson
Copy link
Member Author

As per @Prashant-Android - chat is working using DatagramSocket. Dependencies are updated.

@mikedawson
Copy link
Member Author

Reworked the Nearby implementation as envisioned. This fixed discovery collision / reliability issues (two nodes discovering each other at the same time both trying to connect at the same time).

Implementation now discovers nodes as expected using Nearby, checking ping times works as expected, and lost nodes are handled as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

1 participant