Hi Michael,

you can connect to a property change on dbus level. That is the way we do 
it.


"RAUC" <rauc-boun...@pengutronix.de> schrieb am 03.08.2021 08:21:32:

> Von: "Stahl, Michael" <mst...@moba.de>
> An: "eugen.wi...@jumo.net" <eugen.wi...@jumo.net>
> Kopie: "RAUC" <rauc-boun...@pengutronix.de>, "RAUC@pengutronix.de" 
> <RAUC@pengutronix.de>
> Datum: 03.08.2021 08:21
> Betreff: Re: [RAUC] Antwort: Re:  Antwort: Re:  Antwort:  D-Bus control 
Qt
> Gesendet von: "RAUC" <rauc-boun...@pengutronix.de>
> 
> Hi Eugen,
> 
> thanks again. I implemented the signal and now I get the signal that
> the update is finished.
> But thats the only signal that rauc is provided, isn't it? To get 
> the progress I have to poll the property, or are there general 
> signals on the dbus that I can connect to?
> 
> Do you read the property "Progress" like 
> QDBusInterface iface( "de.pengutronix.rauc", 
>                  "/",
>                  "de.pengutronix.rauc.Installer",
>                  QDBusConnection::systemBus() );
> QVariant property = iface.property("Progress");
> MyProgress parameterProgress;
> property.value<QDBusArgument>() >> parameterProgress;
> 
> or did you use another possibility?
> If I use the above I get a message five times and the marshaled data (
> m_Progress, m_Message, ..) are always empty.
> QDBusArgument: read from a write-only object

> 
> Von: eugen.wi...@jumo.net <eugen.wi...@jumo.net>
> Gesendet: Montag, 2. August 2021 16:53
> An: Stahl, Michael <mst...@moba.de>
> Cc: RAUC@pengutronix.de <RAUC@pengutronix.de>; RAUC <rauc-
> boun...@pengutronix.de>
> Betreff: Antwort: Re: [RAUC] Antwort: Re: Antwort: D-Bus control Qt 
> 
> Hi Michael,
> 
> "RAUC" <rauc-boun...@pengutronix.de> schrieb am 02.08.2021 16:29:18:
> 
> > Von: "Stahl, Michael" <mst...@moba.de>
> > An: "eugen.wi...@jumo.net" <eugen.wi...@jumo.net>
> > Kopie: RAUC <rauc-boun...@pengutronix.de>, "RAUC@pengutronix.de" 
> > <RAUC@pengutronix.de>
> > Datum: 02.08.2021 16:29
> > Betreff: Re: [RAUC] Antwort: Re:  Antwort:  D-Bus control Qt
> > Gesendet von: "RAUC" <rauc-boun...@pengutronix.de>
> > 
> > Okay, thanks a lot.
> > 
> > A last question. Is it correct that I have to poll the "Progress" 
> > property or is there any signal system where I can subcribe to get a
> > notification at every change of progress status?
> 
> We are using a dbus signal. You can connect to it with Qt.
> 
> Best regards,
> Eugen 
> Diese E-Mail kann vertrauliche und/oder rechtlich gesch?tzte 
> Informationen beinhalten und ist ausschlie?lich f?r die im Verteiler
> genannten Personen bestimmt. Das unerlaubte Kopieren sowie die 
> unbefugte Weitergabe dieser Mail sind nicht gestattet. Bitte 
> benachrichtigen Sie uns gegebenenfalls telefonisch oder mit Antwort-
> Mail, falls Sie nicht der richtige Adressat dieser E-Mail sind. 
> Bitte l?schen Sie diese Nachricht und alle Anh?nge dazu unverz?
> glich. Falls nicht ausdr?cklich vermerkt, ist diese E-Mail keine 
> rechtlich bindende Vereinbarung.
> 
> Kommanditgesellschaft: JUMO GmbH & Co. KG, Sitz: 36039 Fulda, 
> Amtsgericht Fulda HRA 302, Pers?nlich haftende Gesellschafterin: M. 
> K. JUCHHEIM GmbH, Sitz: 36039 Fulda, Amtsgericht Fulda HRB 17, 
> Gesch?ftsf?hrer: Dipl.-Ing. Bernhard Juchheim, Dipl.-Kfm. Michael 
> Juchheim, Dipl.-Ing. Dimitrios Charisiadis
> Ust.-Id.-Nr.: DE 
112411234_______________________________________________
> RAUC mailing list

Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen 
beinhalten und ist ausschließlich für die im Verteiler genannten Personen 
bestimmt. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail 
sind nicht gestattet. Bitte benachrichtigen Sie uns gegebenenfalls telefonisch 
oder mit Antwort-Mail, falls Sie nicht der richtige Adressat dieser E-Mail 
sind. Bitte löschen Sie diese Nachricht und alle Anhänge dazu unverzüglich. 
Falls nicht ausdrücklich vermerkt, ist diese E-Mail keine rechtlich bindende 
Vereinbarung. 

Kommanditgesellschaft: JUMO GmbH & Co. KG, Sitz: 36039 Fulda, Amtsgericht Fulda 
HRA 302, Persönlich haftende Gesellschafterin: M. K. JUCHHEIM GmbH, Sitz: 36039 
Fulda, Amtsgericht Fulda HRB 17, Geschäftsführer: Dipl.-Ing. Bernhard Juchheim, 
Dipl.-Kfm. Michael Juchheim, Dipl.-Ing. Dimitrios Charisiadis 
Ust.-Id.-Nr.: DE 112411234 
_______________________________________________
RAUC mailing list

Reply via email to