Hi Guru,


Spec does not say that AT+VGM=0 is MUTE and mentions that “0” means minimum
mic gain. Of course we can assume that minimum mic gain == mute but it needs
to be tested with few HF devices to ensure that the solution is
interoperable.



Assuming that our assumption is right and VM=0 means MUTE, you can display
the mute icon on the GUI.



But do you want user to then unmute from UI? We never know, if I see mute
icon, I may go and unmute from phone as it is easier compared to pressing
some combinations of buttons on HF device. In such case are you sending +VGM
command from phone to HFP device and with what value +VGM:??. Unless you do
this the MIC on HFP device is still mute.



What happens when you mute the mic from phone? Does the phone sends +VGM:0
to HF device?



Are you planning to support such behavior where user mute from phone and
un-mute from HF device? - I see potential issues here as unless the HF
(mute/unmute) state is synchronized with AG. For example if I do mute from
phone and then press HF device buttons to un-mute, we never know if the HFP
device will try to understand that user action as mute or un-mute. This
needs to be tested.



Regards,

Naveen
On Wed, Sep 29, 2010 at 9:45 AM, Gururaj BO <[email protected]> wrote:

> Hi  Naveen Jain
>
> Thanks for the information. In the HF device that I am using, the manual
> they have given is if we press particular button, it will mute the call.
> from logs I got is AT+VGM=0. may be they are telling mic gain of 0 as mute.
>
> Since when I mute( mean VGM=0) then UI is not getting updated and showing
> mute icon. So i took reference as VM=0 then updating the GUI.
>
> Is it valid to update mute icon based on VGM value?
>
> Thanks
> Gururaja B O
>
> On Tue, Sep 28, 2010 at 9:52 AM, Naveen Jain <[email protected]>wrote:
>
>> The HFP profile does not support MUTE feature. Please find the description
>> of AT+VGM command as per the HFP specification.
>>
>> Syntax: AT+VGM=<gain>
>>
>> Description:
>>
>> This command is issued by the HF device to report its current microphone
>> gain level setting to the AG (phone). <gain> is a decimal numeric constant,
>> relating to a particular (implementation dependent) volume level controlled
>> by the HF device. *This command does not change the microphone gain of
>> the AG; it simply indicates the current value of the microphone gain in the
>> HF device*.
>>
>> Values:
>>
>> <gain>: 0 -15, entered as integer values, where
>>
>> 0 = Minimum gain [It does not mean mite but just that this is min mic
>> gain]
>>
>> 15 = Maximum gain
>>
>>
>>
>> So how does HF device implement the mute feature? When user enables mute
>> during a call from HF device (by pressing some key/s on the HF device), the
>> HF device simply cuts the mic input (typically setting the mic gain to
>> zero), and only silence goes to the AG and then to the remote device. As
>> AG+VGM=0 does not mean any thing to AG, it cannot assume that mute is
>> enabled by HF. Hence when you enable mute from HF, you must unmute from HF.
>>   On Sat, Sep 25, 2010 at 8:41 PM, Pavan Savoy <[email protected]>wrote:
>>
>>>  HFP can support mute right? among voice dialing, redialing etc.? isn't
>>> this what makes hfp different from hsp?
>>> in any case i was interested to know how the sco connection was
>>> established? via the android gui or via some test application?
>>>
>>> On Sat, Sep 25, 2010 at 2:13 AM, Suresh Chandra Pal <
>>> [email protected]> wrote:
>>>
>>>> Guys,
>>>> This is a little bit confusing for me. I wonder that HSP/HFP supports
>>>> mute from Headset device. Please correct me if I am wrong.
>>>>
>>>>
>>>>
>>>>   On Fri, Sep 24, 2010 at 12:49 PM, Pavan Savoy 
>>>> <[email protected]>wrote:
>>>>
>>>>>  Hi ..
>>>>>
>>>>> Do you happen to have a development platform with modem on it?
>>>>> I am interested to know how you managed to connect to HSP/HFP from UI
>>>>> if you don't have a modem?
>>>>> or do you have a modem ?
>>>>>
>>>>>
>>>>>
>>>>> On Thu, Sep 23, 2010 at 10:05 AM, guru <[email protected]> wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> I connected Handsfree (HF) device to android phone, and received the
>>>>>> incoming call. While in the call i tried to mute the call, it is
>>>>>> getting mute but on GUI the mute icon is not getting changed. It is in
>>>>>> unmute condition only.
>>>>>>
>>>>>> When I discussed this, what I got is
>>>>>>
>>>>>> HF will communicate using AT commands AT+VGM=0 to mute  telephony
>>>>>> modem and if i mute from GUI it will mute the micro phone.
>>>>>>
>>>>>> so If we mute from HF we have to unmute from HF itself.
>>>>>>
>>>>>> Please let me know the behavior?
>>>>>>
>>>>>> --
>>>>>> unsubscribe: 
>>>>>> [email protected]<android-porting%[email protected]>
>>>>>> website: http://groups.google.com/group/android-porting
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> --Pavan Savoy
>>>>>
>>>>>
>>>>> --
>>>>> unsubscribe: 
>>>>> [email protected]<android-porting%[email protected]>
>>>>> website: http://groups.google.com/group/android-porting
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> --Pavan Savoy
>>>
>>> --
>>> unsubscribe: 
>>> [email protected]<android-porting%[email protected]>
>>> website: http://groups.google.com/group/android-porting
>>>
>>
>>
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to