For dbus-send, how to send a struct param?

刘铁罡 liutiegang at bdstar.com
Tue Sep 17 12:08:42 UTC 2019


Dear DBus Support List,

Now I want to method-call via dbus-send, my command is :
dbus-send --session --type=method_call --print-reply --dest=carservice.McuAdapterService.v1_0_McuAdapterService /McuAdapterService carservice.McuAdapterService.v1_0.request uint16:1015 uint16:1016 array:byte:1,2,3
But I got error:
Error org.freedesktop.DBus.Error.UnknownMethod: Method "request" with signature "qqay" on interface "carservice.McuAdapterService.v1_0" doesn't exist

In fact, I want to send "(qqay)" via dbus-send.
I can’t find a struct sample of dbus-send.

Would you please help me on it.

Thanks
TiegangLiu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dbus/attachments/20190917/af463ab1/attachment.html>


More information about the dbus mailing list