Hi,
we are working on use-case to activate call-forwarding rule when no
reply , but ofono is returning error "Invalid arguments in method
call" when trying to set the reply-timeout value.
below is the code for the use-case
GValue val={0,{{0}}};
g_value_init(&val,G_TYPE_UINT);
uint value=30;
g_value_set_uint(&val,value);
GError *error=NULL;
dbus_g_proxy_call (proxy,"SetProperty", &error,
G_TYPE_STRING,"VoiceNoReplyTimeout", G_TYPE_VALUE,&val,
G_TYPE_INVALID, G_TYPE_INVALID);
in our observation , when preparing DBusMessage, it is taking uint32
as basic type for uint ,
and in ofono after receiving DBusMessage it is expecting for value of
type DBUS_TYPE_UINT16 but the message contains DBUS_TYPE_UINT32 type
value.
is there is any specific reason to expect the time-out value as uint16 type.
we are following the pre-requisites to set the reply-timput value as
specified in call-forwarding doc.
Thanks
sai.