DTC debugging example

In this example, the hl7_in thread is configured as "not auto-start."

  1. Start the engine. From the command line, run hciengine -nl -p hie.
  2. Start hcicmd and run hcicmd -p hie.
  3. Run hcicmd HIE dtc_debug on.
  4. Run hcicmd hl7_in pstart to start thread hl7_in.
  5. Run hcicmd HIE dtc_debug info.
    hcicmd output:
    [0.0.11634] XID=5742782c4da30 currState=START, Step=1, Disp=DTCNEXT, 
    Code=ENRICH, nextState=state1
  6. Run the hcicmd HIE dtc_debug step and hcicmd HIE dtc_debug info several times. The state transition information is shown in the hciengine output and the hcicmd output.