2007-11-07 15:01:49

by Olivier Le Pogam

[permalink] [raw]
Subject: [Bluez-devel] Bluez libs 3.22 & hci_read_remote_name

Hello,

I have big problems making "hci_read_remote_name" work using libs 3.22, it
is very long or blocking.
I had to roll back to 3.20 which is working fine.
I have 4 dongles on my computer, maybe has there been a change on
multi-devices in 3.22 ?
If you need me to investigate further just ask me what to do and I'll
provide you with more details.

Regards,
Oli


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel


2007-11-07 18:28:21

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] Bluez libs 3.22 & hci_read_remote_name

Hi Olivier,

> I have big problems making "hci_read_remote_name" work using libs 3.22, it
> is very long or blocking.

I have seen that issue, too. However right now, I don't know what is
wrong with the code. It looks good to me. Must be some obvious thinko.

> I had to roll back to 3.20 which is working fine.

The 3.21 should be fine, too.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2007-11-07 18:26:29

by Manuel Naranjo

[permalink] [raw]
Subject: Re: [Bluez-devel] Bluez libs 3.22 & hci_read_remote_name

I had seen the same problem, but by doing "hcitool scan". I have a piece
of code in C that does scanning (based on the web site example) and it
doesn't seem to be having the same problem.

Maybe hci_* functions had started failing? And it's time to move to D-BUS?

D-BUS is a great solution, I really like it, I had my first experience
with it during the weekend, and it's much better than calling libbluez
directly, but AFAIK there's no way to open an rfcomm channel and wait
for connections. So moving to D-BUS is not 100% applicable yet.

Thanks
Manuel
> I have big problems making "hci_read_remote_name" work using libs 3.22, it
> is very long or blocking.
> I had to roll back to 3.20 which is working fine.
> I have 4 dongles on my computer, maybe has there been a change on
> multi-devices in 3.22 ?
> If you need me to investigate further just ask me what to do and I'll
> provide you with more details.
>


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel