Standard Tcl proc

An hciSMATInsert root level standard Tcl procedure is provided.

Parameters: {smatdbname XXX} {saveContext XXX}

Purpose: This saves all messages in a context into a SMAT database.

This Tcl proc opens a SMAT database at start mode, saves messages at run mode, and closes the SMAT database at shutdown mode.

  • If smatdbname value is not provided, then a warning is reported and there is no save.
  • If saveContext is not given, then the TPS context/state is used.