Sending sms via fso dbus in c
Sebastian
om-devel at music-starvation.de
Thu Nov 27 10:21:06 CET 2008
Sebastian schrieb:
> Hi,
>
> i have a problem with sending sms via dbus.
>
> I don't hav an idea how to get the last argument the features of the sms
> together. Number and text are no problem, but how do i append the
> feature array? Could anybody help me with this?
>
> number and text code:
> char* dbus_number = number;
> dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING,
> &dbus_number);
> char* dbus_text = text;
> dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING,
> &dbus_text);
>
>
if anyone is interested, i got it now:
DBusMessageIter array_iter;
dbus_message_iter_open_container(&iter, DBUS_TYPE_ARRAY, "{sv}",
&array_iter);
dbus_message_iter_close_container(&iter, &array_iter);
is needed for the array.
Greetings, Sebastian
> Greetings, Sebastian
>
> _______________________________________________
> devel mailing list
> devel at lists.openmoko.org
> https://lists.openmoko.org/mailman/listinfo/devel
>
>
More information about the devel
mailing list