[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
RE: Re: sample xplhal scripts to process xap messages?
Hi Kevin,
> call
xpl.SendMsg(XPL_STAT,"","TTS.BASIC","speech=test")
(note
> underscore not hyphen in XPL_STAT)
>
> and all should be OK, at least it all then works for me :-)
>
> Actually in all my TTS messages the first param is "" and it
> works, haven't just got the time to check if I should have
> supplied a param here. Also the TTS.BASIC is a CMND not a
> STAT - but it seems to send CMND anyway for the above.
The first parameter of the xpl.SendMsg() function should be either:
Xpl-cmnd
Xpl-trig
Xpl-stat
If you leave it as an empty string, it will default to xpl-cmnd.
It's quite likely that xpl_stat would work with some apps, as quite a
few apps just check the sequence of bytes at offset 5 to be either
"cmnd", "stat" or "trig", but the - rather
than the _ is certainly the
correct notation.
Regards,
John
xPL Links: http://www.xplproject.org.uk http://www.xplhal.com http://www.xpl.myby.co.uk
To Post a Message: ukha_xpl@xxxxxxx
To Subscribe: ukha_xpl-subscribe@xxxxxxx
To Unsubscribe: ukha_xpl-unsubscribe@xxxxxxx
xPL Main Index |
xPL Thread Index |
xPL Home |
Archives Home
|