[Gta04-owner] [PATCH v2 2/7] hayes-ril: add CLVL

Andreas Kemnade andreas at kemnade.info
Sun Apr 23 13:25:32 CEST 2017


newer modem firmwares need AT+CLVL
for having Modem->Sound output

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



More information about the Gta04-owner mailing list