It issues xpl-trig sensor.basic commands in response to the following events:
sensor.basic
{
device=listen
type=mic
current=1
}
This message is sent when HAL is listening via microphone. Type will change if VR is via handset.
sensor.basic
{
device=macro
current=macroname
}
Execute 'macroname' macro.
sensor.basic
{
device=newvmail
current=1
}
cid.meteor
{
CallType=outgoing
CCS=initiated
}
Outgoing call started.
cid.meteor
{
CallType=incoming
CCS=ring
}
Incoming call.
sensor.basic
{
device=sensorname
type=flag
current=1
}
Flag 'sensorname' set to 1. Type can be flag, counter, variable or timer.
sensor.basic
{
device=VR
current="phrase recognized"
}
Recognize the listed phrase via VR.
The app responds to control.basic xpl-cmnd messages allowing some control of HAL devices:
control.basic
{
device=sensorname
type=flag
current=1
}
Set a flag to 1.
control.basic
{
device=sensorname
type=variable
current=1
}
Set a variable to 1
control.basic
{
device=sensorname
type=timer
current=60
}
Set timer to 60 seconds.
control.basic
{
device=sensorname
type=counter
current=+1
}
control.basic
{
device=sensorname
type=counter
current=-1
}
control.basic
{
device=sensorname
type=counter
current=20
}

No comments:
Post a Comment