Browse Source

Update the information about PDO printing format

Clara Hobbs 6 years ago
parent
commit
bf61bb98c5
1 changed files with 8 additions and 9 deletions
  1. 8
    9
      docs/console_config.md

+ 8
- 9
docs/console_config.md View File

@@ -246,18 +246,17 @@ capital A.  For example: `2.25 A`
246 246
 
247 247
 ## PDO Format
248 248
 
249
-Wherever a PDO is printed, the following format is used.  
250
-
251
-A PDO consists of a number of fields, one per line.  Each field is of the
252
-format:
253
-
254
-    name: value
255
-
256 249
 When a list of PDOs is printed, each PDO is numbered with a line as follows:
257 250
 
258
-    PDO #1:
251
+    PDO n: type
252
+
253
+`n` is the index of the PDO.  `type` is one of `fixed`, `variable`, `battery`,
254
+or the entire PDO represented as a 32-bit hexadecimal number if the type is
255
+unknown.  If `type` is not a hexadecimal number, the rest of the PDO is printed
256
+as a list of fields, one per line, each indented by a single ASCII tab
257
+character.  Each field is of the format:
259 258
 
260
-The fields of such a PDO are each indented by a single ASCII tab character.
259
+    name: value
261 260
 
262 261
 **TODO**: describe exactly how each type of PDO is printed.
263 262
 

Loading…
Cancel
Save