Browse Source

Correct duplicated message type code

master
Starbeamrainbowlabs 4 years ago
parent
commit
cafb1209b5
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      PixelHub Protocol.md

+ 2
- 2
PixelHub Protocol.md View File

@ -177,8 +177,8 @@ Type | Name | Description
-------:|-------------------|-------------
0 | Reset | Hard-resets the PixelBot. Useful if something has gone wrong, or to reset it's internal state.
1 | Error | May be sent by either party. Indicates that one or the other doesn't like a message that was sent by the other party.
1 | HandshakeRequest | Sent by a PixelBot upon connection.
2 | HandshakeResponse | Sent by the server in response to a `HandshakeRequest`.
5 | HandshakeRequest | Sent by a PixelBot upon connection.
6 | HandshakeResponse | Sent by the server in response to a `HandshakeRequest`.
11 | Move | Instructs a PixelBot to perform a movement.
12 | CommandOk | Sent by a pixelbot to indicate that the command sent by the server is ok, and that it will proceed to execute it.
13 | CommandComplete | Sent by a pixelbot to indicate that it has completed executing the command sent previously.