[maemo-developers] [maemo-developers] Gwconnect problem search BT

From: Kimmo Hämäläinen kimmo.hamalainen at nokia.com
Date: Mon Jan 16 12:38:50 EET 2006
On Sat, 2006-01-14 at 15:25, ext 程波 程 wrote:
> simple a button,press it then begin to BT search 
> I do like this:
> button_clicked_cb
> {....
> osso_rpc_run_with_defaults(osso_context,"btsearch","start_search",NULL,NULL,
> DBUS_TYPE_INVALID);
> );
> ....
> }
> the problem is how  I should write to get the signal
> from com.nokia.btsearch.signal interface.
> anybody help me?     thanks very much!!

I think you have to use the DBus API directly. For example, use
dbus_connection_add_filter() to register a callback function and
subscribe to the signal with dbus_bus_add_match(). You can get the DBus
connection from Libosso with osso_get_sys_dbus_connection().

BR; Kimmo

> 
> 
> 	
> 
> 	
> 		
> ___________________________________________________________ 
> 雅虎1G免费邮箱百分百防垃圾信 
> http://cn.mail.yahoo.com/
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers

More information about the maemo-developers mailing list