Return-Path: Message-ID: <445B4849.9070308@service2media.com> From: Herman Meerlo MIME-Version: 1.0 To: bluez-devel@lists.sourceforge.net Subject: Re: [Bluez-devel] D-Bus and two inquiries References: <4450A0A7.1000504@service2media.com> In-Reply-To: Content-Type: multipart/mixed; boundary="------------020602030101070602060609" Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri, 05 May 2006 14:42:49 +0200 This is a multi-part message in MIME format. --------------020602030101070602060609 Content-Type: multipart/alternative; boundary="------------010402050703020308070308" --------------010402050703020308070308 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Claudio, thanks for your reply. It does indeed work as expected, the error was in some library at my side which caused the DiscoveryCompleted signal to be routed to the wrong application. Regards, Herman Claudio Takahasi wrote: > Hi Herman, > > If you have two local Bluetooth adapter, it's possible run two > inquiries simultaneously. > You can reproduce sending the inquiry command using dbus-send: > $dbus-send --system --type=method_call --print-reply --dest=org.bluez > /org/bluez/hci0 org.bluez.Adapter.DiscoverDevices > $dbus-send --system --type=method_call --print-reply --dest=org.bluez > /org/bluez/hci1 org.bluez.Adapter.DiscoverDevices > > If you have just one local adapter, the second inquiry request can be > processed after the DiscoveryCompleted signal only. > > Regards, > Claudio. > > On 4/27/06, Herman Meerlo wrote: >> Hi all, >> >> I noticed that when I try to perform two inquiries on two different >> devices simultaneously (using DBus), that one of the two will report >> 'Discover already in progress'. Is this by design and if so why? >> >> Regards, >> Herman Meerlo >> >> >> >> ------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your >> job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Bluez-devel mailing list >> Bluez-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bluez-devel >> > > > -- > --------------------------------------------------------- > Claudio Takahasi > Instituto Nokia de Tecnologia - INdT > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 > _______________________________________________ > Bluez-devel mailing list > Bluez-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bluez-devel -- service2media **Herman Meerlo** Software Engineer Service2Media B.V. Capitool 41 7521 PL Enschede Postbus 75040 1070 AA Amsterdam Mob +31 (0) 622 999 457 Tel +31 (0) 534 500 612 Fax +31 (0) 534 500 613 http://www.service2media.com --------------010402050703020308070308 Content-Type: multipart/related; boundary="------------030405090703010106020400" --------------030405090703010106020400 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Claudio,

thanks for your reply. It does indeed work as expected, the error was in some library at my side which caused the DiscoveryCompleted signal to be routed to the wrong application.

Regards,
Herman

Claudio Takahasi wrote:
Hi Herman,

If you have two local Bluetooth adapter, it's possible run two
inquiries simultaneously.
You can reproduce sending the inquiry command using dbus-send:
$dbus-send --system --type=method_call --print-reply --dest=org.bluez
/org/bluez/hci0 org.bluez.Adapter.DiscoverDevices
$dbus-send --system --type=method_call --print-reply --dest=org.bluez
/org/bluez/hci1 org.bluez.Adapter.DiscoverDevices

If you have just one local adapter, the second inquiry request can be
processed after the DiscoveryCompleted signal only.

Regards,
Claudio.

On 4/27/06, Herman Meerlo <herman@service2media.com> wrote:
Hi all,

I noticed that when I try to perform two inquiries on two different
devices simultaneously (using DBus), that one of the two will report
'Discover already in progress'. Is this by design and if so why?

Regards,
Herman Meerlo



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel



--
---------------------------------------------------------
Claudio Takahasi
Instituto Nokia de Tecnologia - INdT


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

--
service2media

Herman Meerlo
Software Engineer

Service2Media B.V.
Capitool 41 7521 PL Enschede
Postbus 75040 1070 AA Amsterdam

Mob +31 (0) 622 999 457
Tel +31 (0) 534 500 612
Fax +31 (0) 534 500 613

http://www.service2media.com

--------------030405090703010106020400 Content-Type: image/gif; name="s2m.gif" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="s2m.gif" R0lGODlhygA/AMQAAP+MY//Yy/+yl//i2P9vPP/18v94Sf/Fsf+fff/s5f+CVv+piv/Pvv+V cP+7pP9lL/9mAP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA ACH5BAAAAAAALAAAAADKAD8AAAX/YCSOZGmeaKqubOu+cCzPdG3feK7vfO//wKBwSCwaj8ik cslsOp/QqHRKrVqvuYIAEAEICtiw+HYwPLiAB+EwbrtXg/Tj3J2fA+/8u7BQCOxodlsIYHqG Vg4GDhEBgHVzeGWLh5RPAQoLhY1zgZAifAZ4RgECAg6FpamlEQmpDgMipKIkBwIJtQklDK65 IqqlbCIDwIWxAQGwJQPHogXMzwG5ztABxSPMySTLx9kpDwskm3RyD7MRCw9GB3Zquex2jO8A BQMPBiUJanWzA2bvCiLe0bnEjkA2OwbDsYslcI6AeA0VmH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fu+uuwxy67HhDUbvvtuOeu++689+77 78AHL/zwxBdv/O+zJ6/88sw37/zz0Ecv/fRghwAAOw== --------------030405090703010106020400-- --------------010402050703020308070308-- --------------020602030101070602060609 Content-Type: text/x-vcard; charset=utf-8; name="herman.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="herman.vcf" begin:vcard fn:'t Haofke n:'t Haofke adr;dom:;;Veldstraat 20;Roermond;;6041GS tel;work:0475317535 x-mozilla-html:FALSE version:2.1 end:vcard --------------020602030101070602060609-- ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel