Hi,

On 9 September 2010 18:23, Marcel Holtmann <[email protected]> wrote:
>> +                     Tells the agent to play an audio tone.  A repeatable
>> +                     tone is played for the duration of the method call
>> +                     (until it is cancelled), otherwise it is played once
>> +                     and the method should return.  The text parameter
>> +                     contains an optional text to be displayed to the
>> +                     user.  The following tones are defined:
>
> string sounds here more than reasonable. For the looping part we have to
> clarify when to return from this method. For non repeating tones it is
> pretty clear. It should return when playing the tone finished. For the
> repeating one we can return right away, or after the first iteration has
> played. That needs to be properly described in what to expect from the
> agent.

My idea is for it to wait until the call is cancelled, and not return.
 Otherwise we'll have to send the duration in a 0.1s units.

>
> Also has PlayTone and PlayLoop method calls considered to have a clearer
> semantic separation?

That's a good idea, I'll change it to use the separate methods unless
someone objects.

>
>> +                             "dial tone"
>> +                             "busy"
>> +                             "congestion"
>> +                             "radio path acknowledge"
>> +                             "radio path not available"
>> +                             "error"
>> +                             "call waiting"
>> +                             "ringing tone"
>> +                             "general beep"
>> +                             "positive acknowledgement"
>> +                             "negative acknowledgement"
>> +                             "user ringing tone"
>> +                             "user sms alert"
>> +                             "critical" (high priority)
>> +                             "vibrate"
>> +                             "happy"
>> +                             "sad"
>> +                             "urgent action"
>> +                             "question"
>> +                             "message received"
>
> I prefer to have them as "call-waiting" with a - in between. Space are
> sort of a bad idea for constant type strings. And we do similar things
> for "cs-preferred" etc.

Ok.

> Can we also fix the typo in acknowledgment ;)

I think I copied it from the spec (I'll check), the interwebs claims
both forms are correct :)

> The alternate text string comes from the SIM Toolkit, right?

Yes, it's actually the AlphaId / Icon to be displayed *while* playing,
not instead.

Regards,
Andrew
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to