Updated readme.

main
noah metz 2023-12-14 17:15:57 -07:00
parent 4ff88e29fd
commit 8cd24089d9
1 changed files with 12 additions and 1 deletions

@ -18,4 +18,15 @@ Known States:
- 0x61 : driver skills
- 0x51 : auton skills
From this the flags are thus:
0: ? - always 1
1: ? - always 0
2: ? - always 0
3: ? - always 0
4-5: mode - 0 for paused, 1 for auton, 2 for driver,
6: ? - always 1
7: 0 for skills - 1 for competition
The field control sequence(aka when the controller sends 0xA7) can be responded to with either a 0x02 ACK packet to acknowledge that the current values are correct, or a 0x53 packet to send new values. However, a 0x02 must be sent at least every 20 packets else the controller will restart the connect sequence.
All of the protocol reversing has been done with 1 brain & 1 controller, so any unique fields are constant and will need to be updated.