linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-devel] D-Bus and two inquiries
@ 2006-04-27 10:44 Herman Meerlo
  2006-05-02 18:03 ` Claudio Takahasi
  0 siblings, 1 reply; 3+ messages in thread
From: Herman Meerlo @ 2006-04-27 10:44 UTC (permalink / raw)
  To: bluez-devel

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

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

* Re: [Bluez-devel] D-Bus and two inquiries
  2006-04-27 10:44 [Bluez-devel] D-Bus and two inquiries Herman Meerlo
@ 2006-05-02 18:03 ` Claudio Takahasi
  2006-05-05 12:42   ` Herman Meerlo
  0 siblings, 1 reply; 3+ messages in thread
From: Claudio Takahasi @ 2006-05-02 18:03 UTC (permalink / raw)
  To: bluez-devel

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=3Dmethod_call --print-reply --dest=3Dorg.bluez
/org/bluez/hci0 org.bluez.Adapter.DiscoverDevices
$dbus-send --system --type=3Dmethod_call --print-reply --dest=3Dorg.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 ea=
sier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronim=
o
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=
=3D121642
> _______________________________________________
> 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=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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

* Re: [Bluez-devel] D-Bus and two inquiries
  2006-05-02 18:03 ` Claudio Takahasi
@ 2006-05-05 12:42   ` Herman Meerlo
  0 siblings, 0 replies; 3+ messages in thread
From: Herman Meerlo @ 2006-05-05 12:42 UTC (permalink / raw)
  To: bluez-devel


[-- Attachment #1.1: Type: text/plain, Size: 2608 bytes --]

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&kid\x120709&bid&3057&dat\x121642
> _______________________________________________
> 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


[-- Attachment #1.2.1: Type: text/html, Size: 5596 bytes --]

[-- Attachment #1.2.2: s2m.gif --]
[-- Type: image/gif, Size: 1219 bytes --]

[-- Attachment #2: herman.vcf --]
[-- Type: text/x-vcard, Size: 142 bytes --]

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


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

end of thread, other threads:[~2006-05-05 12:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-27 10:44 [Bluez-devel] D-Bus and two inquiries Herman Meerlo
2006-05-02 18:03 ` Claudio Takahasi
2006-05-05 12:42   ` Herman Meerlo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).