Skip to content

Commit

Permalink
Update dvl-protocol.md
Browse files Browse the repository at this point in the history
Clarify serial protocol behavior
  • Loading branch information
wlkh authored Feb 28, 2024
1 parent ee58f26 commit c43188f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/dvl/dvl-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ Packets sent to and received from the DVL start with a `w` and end with LF, CR+L
| `w` | `c` or `r` | `x` | `,[option]` | `*xx` | `\n`, `\r\n`, or `\r` |

`Direction` is `c` (short for 'command') for packets sent to the DVL, and `r` (short for 'response') for packets sent from the DVL.
The commands can be sent as a string or entered one character at a time from a terminal.
The commands can be sent from a terminal program that supports sending a full line at a time. The timeout between characters is approximately 10 ms.


!!!note
Expand All @@ -341,7 +341,7 @@ The commands in the table are shown without the checksum and without the mandato
| | | `wrp,`*[details below]* | [Dead reckoning](../dead-reckoning) report |
| | | `wrx,`*[details below]* | DEPRECATED: Velocities calculated (old format) |
| | | `wrt,`*[details below]* | DEPRECATED: Transducer information (old format) |
| | | `wr?` | Malformed request: packet cannot be understood |
| | | `wr?` | Malformed request: packet cannot be understood or no newline received before timeout |
| | | `wr!` | Malformed request: packet does not match the given checksum |
| | | `wrn` | Not acknowledged (nack): an error occurred when handling the packet |

Expand Down

0 comments on commit c43188f

Please sign in to comment.