message error?

Thiago Macieira thiago at kde.org
Wed Jul 15 23:35:52 PDT 2009


Alex Bunnett wrote:
>Hi guys really in a pickle at the moment.
>Trying to get dbus running on our arm9 platform and having problems
> creating a message. I have it all working the other day im sure but can
> no longer create/read a message sent across the bus.
>
>This is the code im just trying to create and read a message with. Any
> help would be huge as im currently pulling out my hair and there is
> little to no help on the internet.

You're trying to create and read the same message. Why are you trying to 
read what you wrote? You should know what you wrote.

If you want the reply to your message, you need to wait for the reply to 
come, with a reply identifier that matches the value of serial. Or you 
should use dbus_connection_send_with_reply (_and_block).

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/dbus/attachments/20090716/dbd1396d/attachment.pgp 


More information about the dbus mailing list