@Jussi

Please either include the git repository or more preferred an actual
hyperlink to the commit on github, as it makes it easier for someone
looking at the bug to view directly.

https://github.com/rilmodem/ofono/commit/7f3955122af8b0349fb7d3f2db8abd754459d146

I'm not sure I understand how the check in provision_context() could
trigger an InvalidParameter return to a SetProperty DBus call?   I
checked and provision_context() is static and is only called by
provision_contexts() which in turn is only called by the spn and gid1
callback functions.  Am I missing something?

Looking at pri_set_property (
https://github.com/rilmodem/ofono/blob/master/src/gprs.c#L1122 ), if the
property being set is MessageCenter or MessageProxy, invalid arg is
returned if the context type isn't MMS or INTERNET, or if the DBus type
isn't a string.

@Antti

FYI, as opposed to doing everything via dfeet or dbus-send, check ofono-
scripts.  There's such a script called 'set-context-property' which
*should* handle this for you.   That said, it might not have been
patched, so please let us know if it doesn't work.

Also can you please include your full command-line for dbus-send?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1362068

Title:
  setting ConnectionContext MessageCenter or MessageProxy always returns
  "invalid parameters"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1362068/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to