hcicmd

With the engine running, hcicmd -p process starts the hcicmd prompt.

hcicmd -p process [-s site] [-t type] [-h host] 
[-c cmd ...] [-v] [-w seconds] [-help]
  • -p process specifies the engine process name. This is optional if -t is d.
  • -s site specifies the site.
  • -t type specifies the type of process:
    • e specifies engine. This is the default.
    • d specifies daemon.
  • -h host specifies the process host machine.
  • -c cmd runs the command.
  • -v specifies verbose mode.
  • -w seconds sets the time-out. The default is 30 seconds. The input value range is 1,65535.
  • -help shows usage help message.

When the engine is running, hcicmd -p process brings up a hcicmd prompt. Use the prompt to communicate with the engine processes command thread.

Two examples of common uses for hcicmd are:

  • hcicmd -p test -c conn_1 pstop  

    This stops the thread named conn_1 in the process test.

  • hcicmd -p test -c conn_1 pstart  

    This starts the thread named conn_1 in the process test.