hcicmd
When the engine is running, hcicmd -p process brings up an hcicmd prompt. Use the prompt to communicate with the engine processes command thread.
hcicmd -p process [-s site] [-t type]
[-h host] [-c cmd...] [-v] [-w seconds][-help]
Note: Access commands are also
available through the Network Monitor GUI.
-p process
specifies the engine process name. This is optional if-p
isd
.-
-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.
-t d
arguments
These are used to send commands to the running monitor daemon.
The -p
argument is optional when
-t d
is specified.
To run a single command, invoke it using the-c
option:
hcicmd -t d [-p hcimonitord] [-c command]
To run in an interactive mode, omit the -c
option:
hcicmd -t d [-p hcimonitord]
cyclestatsdb
This manually cycles statsDB.
For example:
D:\ >hcicmd -t d -c "cyclestatsdb"
Response:
0: cyclestatsdb (Stats DB cycled)
Another response is:
1: cyclestatsdb (Stats DB is opened and cycling failed)