hci commands in tcl on Windows

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf hci commands in tcl on Windows

  • Creator
    Topic
  • #50647
    Alka Sharma
    Participant

    Looking for help on executing hci command with in tcl file. I have attached my script. The script is started by windows bat file which sets the root and site. Via the script, I am attempting to find all inbound threads and issuing the stop command.

    I cannot seem to get the hci commands to work.

    Alka…

Viewing 1 reply thread
  • Author
    Replies
    • #66958

      This works for me:

      global HciRootDir HciSiteDir HciSite sitecontrol

      netcfgLoad

      set processlist [code]global HciRootDir HciSiteDir HciSite sitecontrol

      netcfgLoad

      set processlist

      -- Max Drown (Infor)

    • #66959
      Charlie Bursell
      Participant

      exec hcicmd -p $process -c “$thread pstart”  

      Will not work on Windows Max.  On Windows, Tcl can only exec .exe, .bat, or .com files.  There is a special version of hcicmd named hcicmdnt

              exec hcicmdnt -p $process -c “$thread pstart”

      To exec Tcl or Perl scrupts you must exec Tcl or Perl and pass the full path of the script.  For example to exec hcienginerun:

      exec perl [file join $::HciRoot bin hcienginerun.pl] -p

Viewing 1 reply thread
  • The forum ‘Cloverleaf’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,116
Forums
28
Topics
9,292
Replies
34,432
Topic Tags
286
Empty Topic Tags
10