hcidbprotocoltest

This command tests the specified database protocol thread.

hcidbprotocoltest [-a] [-d n] [-e enc] [-w searchExp] 
[-s outfile] [-r] [-f format] thread [infile] 
  • -a processes all records in the file.
  • -d n shows data at detail level n.
  • -e enc encodes from enc to UTF-8.
  • -w searchExp prints only the lines of the output-matched search expression. The search is case-sensitive.
  • -s outfile is the newline-terminated data file for queried database schema messages. This is valid only for the Inbound dbprotocol thread.
  • -r runs the SQL statements to insert/update the data in the database.
  • -f formatspecifies the input 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.
  • thread is the source thread to simulate.
  • infile is the data file with which to test.