Score:0

how to pass to cli util gdbus emit signal with types uint8 int16?

er flag

How to pass to cli util gdbus emit signal with types uint8 int16?

For example

sudo gdbus emit --system --object-path /com/application --signal com.application.example "[{'ThisisString', [{'FirstString', 'NextString', [{1, 2, 3}]}]}]"

On that result I've got 1,2,3 as int32

How to specify rule for values??? Thank's in advance

Score:0
er flag

I've found solution to use structures instead of dictionary on DBUS. Solution looks like:

sudo gdbus emit --system --object-path /com/example/obj --signal com.example.obj "[('ThisIsString', [('FirstString','SecondString',[(byte 1,byte 5,byte 10),(byte 2,byte 3,byte 8),(byte 3,byte 9,byte 15)])])]"
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.