Skip to content

Commit

Permalink
Update API.md
Browse files Browse the repository at this point in the history
  • Loading branch information
t0mpr1c3 authored Apr 15, 2024
1 parent 6a0bb74 commit 82f562e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ bytes are required by the SLIP protocol are not included in the message length.
| | | | | 1 = Left |
| | | | | 2 = Right |
| host | **reqTest** | 0x04 | 1 | Request hardware test operation |
| device | **cnfTest** | 0xC4 | 3 | *0xaa* |
| device | **cnfTest** | 0xC4 | 2 | *0xaa* |
| | | | | 0xaa = success (0 = success, other values = error) |
| host | **reqInit** | 0x05 | 3 | *0xaa 0xbb* |
| | | | | 0xaa = machine type: |
Expand All @@ -126,6 +126,9 @@ bytes are required by the SLIP protocol are not included in the message length.
| | | | | 0xbb = CRC8 checksum |
| device | **cnfInit** | 0xC5 | 2 | *0xaa* |
| | | | | 0xaa = success (0 = success, other values = error) |
| host | **reqQuit** | 0x0C | 1 | Request end of knitting operation |
| device | **cnfQuit** | 0xCC | 2 | *0xaa* |
| | | | | 0xaa = success (0 = success, other values = error) |
| host | **helpCmd** | 0x26 | 1 | Hardware test command requesting help on available commands. |
| host | **sendCmd** | 0x27 | 1 | Hardware test command requesting that the device send a |
| | | | | test packet consisting of three bytes, 0x31 0x32 0x33. |
Expand Down

0 comments on commit 82f562e

Please sign in to comment.