[Gta04-owner] [PATCH 2/6] hayes-ril: add CLVL
H. Nikolaus Schaller
hns at goldelico.com
Sun Apr 23 10:18:36 CEST 2017
> Am 23.04.2017 um 09:36 schrieb Andreas Kemnade <andreas at kemnade.info>:
>
> newer modem firmwares need AT+CLVL
> for having Modem->Sound output
AT+CLVL sets the "modem speaker" level.
I think it does not harm older modems...
>
> Signed-off-by: Andreas Kemnade <andreas at kemnade.info>
> ---
> hayes-ril/device.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/hayes-ril/device.c b/hayes-ril/device.c
> index cdcdc6c..1189d64 100644
> --- a/hayes-ril/device.c
> +++ b/hayes-ril/device.c
> @@ -682,6 +682,7 @@ int ril_device_at_setup(struct ril_device *ril_device)
>
> // Enable PCM
> at_send_string_locked("AT_OPCMENABLE=1"); //TODO: GTA04/GTM601 only
> + at_send_string_locked("AT+CLVL=7"); //TODO: GTA04/GTM601 only
>
> //ril_device_sim_ready_setup(); //called after +CREG state is 1 or 5
>
> --
> 2.1.4
>
> _______________________________________________
> Gta04-owner mailing list
> Gta04-owner at goldelico.com
> http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner
More information about the Gta04-owner
mailing list