tweaked formatting
[wikirepo] / projects / anytone778uv_serial / index.mdwn
index 994f5cd..a768d01 100644 (file)
@@ -251,45 +251,45 @@ example, the checksum of a write message is wrong the radio can reply with
 \r
 Message fields:\r
 \r
-+-------+-------------------------------------+\r
-| Start | Length | Content                    | \r
-| Byte  | Bytes  |                            | \r
-+-------+--------+----------------------------+\r
-| 0x00  |    1   | Message Type:              |\r
-|       |        | * 0x57 ('W') Write message |\r
-|       |        | * 0x52 ('R') Read message  |\r
-+-------+--------+----------------------------+\r
-| 0x01  |    2   | Memory Read/Write Address  |\r
-+-------+--------+----------------------------+\r
-| 0x03  |    1   | Data Length (Bytes)        |\r
-|       |        | typically (always?) 0x10   |\r
-+-------+--------+----------------------------+\r
-| 0x04  | Length | Data Bytes to read/write   |\r
-+-------+--------+----------------------------+\r
-| -0x02 |    1   | [checksum](##Checksum)     |\r
-|       |        | over bytes 0x01 to -0x03   |\r
-+-------+--------+----------------------------+\r
-| -0x01 |    1   | End of message, always     |\r
-|       |        | 0x06                       |\r
-+-------+--------+----------------------------+\r
+       +-------+-------------------------------------+\r
+       | Start | Length | Content                    | \r
+       | Byte  | Bytes  |                            | \r
+       +-------+--------+----------------------------+\r
+       | 0x00  |    1   | Message Type:              |\r
+       |       |        | * 0x57 ('W') Write message |\r
+       |       |        | * 0x52 ('R') Read message  |\r
+       +-------+--------+----------------------------+\r
+       | 0x01  |    2   | Memory Read/Write Address  |\r
+       +-------+--------+----------------------------+\r
+       | 0x03  |    1   | Data Length (Bytes)        |\r
+       |       |        | typically (always?) 0x10   |\r
+       +-------+--------+----------------------------+\r
+       | 0x04  | Length | Data Bytes to read/write   |\r
+       +-------+--------+----------------------------+\r
+       | -0x02 |    1   | checksum                   |\r
+       |       |        | over bytes 0x01 to -0x03   |\r
+       +-------+--------+----------------------------+\r
+       | -0x01 |    1   | End of message, always     |\r
+       |       |        | 0x06                       |\r
+       +-------+--------+----------------------------+\r
 \r
 Message format, and a typical message writing the first 16 bytes of memory 49.\r
 This is also the format of the response from the radio if the host requests to\r
 read memory 49.\r
 \r
-+------+---------+--------+-------------------------------------+----------+-----+\r
-| Type | Address | Length | Data                                | Checksum | EoM |\r
-+------+---------+--------+-------------------------------------+----------+-----+\r
-|   57 |    0620 |    10  | 14500000 00100000 00010004 33001100 |    f3    | 06  |\r
-+------+---------+--------+-------------------------------------+----------+-----+\r
+       +------+---------+--------+-------------------------------------+----------+-----+\r
+       | Type | Address | Length | Data                                | Checksum | EoM |\r
+       +------+---------+--------+-------------------------------------+----------+-----+\r
+       |   57 |    0620 |    10  | 14500000 00100000 00010004 33001100 |    f3    | 06  |\r
+       +------+---------+--------+-------------------------------------+----------+-----+\r
 \r
 Message format, and a typical message from the host asking to read the first 16 bytes of memory 49.\r
 \r
-+------+---------+--------+----------+-----+\r
-| Type | Address | Length | Checksum | EoM |\r
-+------+---------+--------+----------+-----+\r
-|   52 |    0620 |    10  |    f3    | 06  |\r
-+------+---------+--------+----------+-----+\r
+       +------+---------+--------+----------+-----+\r
+       | Type | Address | Length | Checksum | EoM |\r
+       +------+---------+--------+----------+-----+\r
+       |   52 |    0620 |    10  |    f3    | 06  |\r
+       +------+---------+--------+----------+-----+\r
 \r
 ## Memory Format\r
 \r