386 B
386 B
controller
generates self a random id of 4 digits
protocole send
register: <clientID>;<current epoch>
command: <clientID>;d;<x_value>,<y_value>
request boats: <clientID>;boats
protocole recive
list of boats: boats:<boatID>;<boat_name>;<boat_status>[;<boatID>;<boat_name>;<boat_status>[...]]
exits controll mode and enter boat select mode
error: FAIL