The way you are listening for signals seems strange. This is the code
I have used:
object->handle =
g_dbus_connection_signal_subscribe(g_bus_get_sync(G_BUS_TYPE_SYSTEM,
NULL, NULL),
"org.automotive.message.broker",
"org.freedesktop.DBus.Properties",
"PropertiesChanged",
object_path.c_str(), NULL,
G_DBUS_SIGNAL_FLAGS_NONE,
SignalCallback, &amb_objects_,
NULL);
Hope that helps.
On Wed, Sep 10, 2014 at 8:27 PM, Ruchi Sharma <[email protected]> wrote:
> Hello,
>
>
>
> I have checked dbus-monitor --system. Its shows signals when USB device is
> inserted.
>
> Thanks!!
>
>
>
> Regards,
>
> Ruchi
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Disclaimer~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Information contained and transmitted by this e-mail is confidential and
> proprietary to IGATE and its affiliates and is intended for use only by the
> recipient. If you are not the intended recipient, you are hereby notified
> that any dissemination, distribution, copying or use of this e-mail is
> strictly prohibited and you are requested to delete this e-mail immediately
> and notify the originator or [email protected]. IGATE does not enter into
> any agreement with any party by e-mail. Any views expressed by an individual
> do not necessarily reflect the view of IGATE. IGATE is not responsible for
> the consequences of any actions taken on the basis of information provided,
> through this email. The contents of an attachment to this e-mail may contain
> software viruses, which could damage your own computer system. While IGATE
> has taken every reasonable precaution to minimise this risk, we cannot
> accept liability for any damage which you sustain as a result of software
> viruses. You should carry out your own virus checks before opening an
> attachment. To know more about IGATE please visit www.igate.com.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> _______________________________________________
> IVI mailing list
> [email protected]
> https://lists.tizen.org/listinfo/ivi
>
_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi