hcihprimtest

This command tests HPRIM record format configurations. This test reads, parses, and displays messages, ensuring that configurations match the input data.

hcihprimtest [-a] [-e encoding] [-d n] [-i] [-f format] 
[-F fieldname] [-w search expression ] [-p sepChars] 
[-V version] [-v variant] [-t test] [-c drivercontrol] 
[-n] file
  • -a specifies to read the selected data file and process all the messages in it.
  • -e encoding is the encoding name for the data file.
  • -d n shows data at detail level n. The detail level range is 0-4, where 0 is raw, unparsed data and 4 is the most detailed.
  • -i displays field addresses using index notation.
  • -f format specifies the file format:
    • -f len10 specifies 10-byte length-encoded.
    • -f nl specifies newline terminated. This is the default.
    • -f eof specifies end-of-file terminated.
  • -F fieldname shows the listed field name.
  • -w search expression specifies the search string or regular expression for which to search.
  • -p sepChars are the separator characters used for parsing or encoding. This needs to be in a keyed list format.
  • -V version specifies the HPRIM version.
  • -v variant specifies the HPRIM variant.
  • -t test picks which test to run.
  • -c drivercontrol is used to set the content to message metadata DRIVERCONTROL.
  • -n shows the field names.
  • file specifies the data file with which to test.