Hi Jeevaka,

> +     /* Enable emergency number list notification */
> +     g_at_chat_send(vd->chat, "AT+XLEMA=1", none_prefix, NULL, NULL, NULL);
> +
>       ofono_voicecall_register(vc);
> +
> +     g_at_chat_send(vd->chat, "AT+XLEMA?", xlema_prefix, xlema_read, vc,
> +                                                                     NULL);

do you really need the XLEMA? read command? If this works like the other
commands (like XCALLSTAT) that enable notifications, then with sending
AT+XLEMA=1 it should send out unsolicited +XLEMA: notifications and no
extra read command is needed.

Regards

Marcel


_______________________________________________
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono

Reply via email to