Originally posted by Robert Milfajt
I wanted to be able to run hciprocstatus, actually poll the monitor daemon from a TCL script. After reading the hciprocstatus TCL code, I found this bunch of code:
after 30000 serverTimeOut
if { [catch {makeStatusServerConn $initcmd} msg] } {
puts stderr "Unable to contact hcimonitord: $msgn"
exit 69 ;# EX_UNAVAILABLE
}
Can I use the makeStatusServerConn call from my TCL script? I am assuming I would need to set the serverTimeOut variable too.
Thanks in advance for any help,