Eric House
3dfd419ec7
relay returning NOTHING is a thing; deal with it
2017-11-02 07:16:11 -07:00
Eric House
a1433e5f3d
add kill to relay.py; call from test script using curl
...
It'll eventually get called from Android and maybe linux, but for now
it's cool to have games disappear from the showinplay display when
they're done.
2017-10-31 20:05:07 -07:00
Eric House
d2897d6dc8
fix to match format of empty return case
2017-10-30 19:06:38 -07:00
Eric House
7b50c90aac
pass timeoutSeconds
...
ACK doesn't need to wait 2 seconds for a reply, and when it does so the
next send waits too. Eventually we'll want to combine messages already
in the queue into a single send. For now, this makes things better.
2017-10-28 20:12:05 -07:00
Eric House
6787fe1406
fix length byte
2017-10-22 21:29:16 -07:00
Eric House
4583b5d88d
use ! with struct instead of ntohs
2017-10-22 15:47:01 -07:00
Eric House
284888df44
add timeoutSecs param
2017-10-21 12:13:19 -07:00
Eric House
7414e0eeae
param should be json array as string
2017-10-18 22:02:14 -07:00
Eric House
fbaa1f139e
add test method and implement query() endpoint
2017-10-18 21:18:30 -07:00
Eric House
c08be98fda
wip: include multiple packets in reponse json
2017-10-18 07:09:05 -07:00
Eric House
b86ffeb2b9
wip: data gets to relay and response handled
...
A device registers and a game can start. But we don't get to being
able to make a move yet.
2017-10-18 06:53:15 -07:00
Eric House
2dc80ac93f
talk to new python script to interface with relay
...
So far uses curl and json-c to send b64-encoded data to new script
which is able to echo the data. Next that script will need to open a
UDP socket to the relay and return results that appear before timeout.
2017-10-17 21:32:11 -07:00