FRC2706 / giorno

Scouting App made for the 2019-2020 FRC Competition
GNU General Public License v3.0
0 stars 0 forks source link

IP Sync #3

Closed crabctrl closed 4 years ago

crabctrl commented 4 years ago

Pretty straightforward, sync over IP, which could mean WiFi/USB/Bluetooth. Probably we should use TCP for this, and maybe JSON?

crabctrl commented 4 years ago

So this still applies to WiFi outside of competition (eg at the hotel), but CANNOT be used at the venue. However, this can still be used for syncing over USB.

crabctrl commented 4 years ago

Basic code for this has been pushed to ip-sync; I am using Android's NsdService feature to discover other devices (using DNS-SD), and then connect to/sync with them. It is almost complete, it just A) Hasn't been tested B) Does not accept connections from the server socket yet, only creates client connections.

crabctrl commented 4 years ago

This has been tested and works; it could use some improvement, but it's mostly fine