All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] [PATCH] DBus GetRemoteName problem
@ 2006-06-06 14:35 Frederic Danis
  2006-06-06 16:52 ` Claudio Takahasi
  0 siblings, 1 reply; 3+ messages in thread
From: Frederic Danis @ 2006-06-06 14:35 UTC (permalink / raw)
  To: bluez-devel

[-- Attachment #1: Type: text/plain, Size: 556 bytes --]

Hello,

When I use GetRemoteName of dbus-test program I receive a 
DiscoveryCompleted signal after the RemoteNameUpdated (or 
RemoteNameFailed) signal.
You can find attached a patch to fix this.

Hope this helps.

Regards

Fred

-- 
-----------------------------------------------
It is not by improving the oil lamp that one invents the electric bulb!
-----------------------------------------------
Danis Frederic            PalmSource Europe
Software engineer
Mail : mailto:frederic.danis@palmsource.com
-----------------------------------------------


[-- Attachment #2: fix_dbus_get_remote_name.patch --]
[-- Type: text/plain, Size: 430 bytes --]

--- dbus-adapter.c.orig	2006-06-06 11:35:32.000000000 +0200
+++ dbus-adapter.c	2006-06-06 14:51:57.000000000 +0200
@@ -1255,8 +1255,7 @@
 	 * Otherwise, send the HCI cmd to get the remote name
 	 */
 	if (dbus_data->discover_state == STATE_IDLE) {
-		if (!disc_device_req_name(dbus_data))
-			dbus_data->discover_state = STATE_RESOLVING_NAMES;
+		disc_device_req_name(dbus_data);
 	}
 
 	return error_request_deferred(conn, msg);

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



[-- Attachment #4: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-06-07 12:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-06 14:35 [Bluez-devel] [PATCH] DBus GetRemoteName problem Frederic Danis
2006-06-06 16:52 ` Claudio Takahasi
2006-06-07 12:45   ` Claudio Takahasi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.