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

刘铁罡 <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <[email protected]>
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

_______________________________________________
dbus mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.