Skip to contentSkip to conversation

inquiry frequency

Bluez-devel ermal mino 2 participants 3 messages Jan 4, 2006 – Jan 5, 2006 Bluetooth drivers

lore
Share & tools
lore

ermal mino

author
#0 lore raw

Hi,

I made a program wich searches for bluettooth devices continuously.
I saw that until about 20-30 seconds from the first inquiry the results that were given to me were the same as the first one.

I don't know if i explained it well, in a few words it makes a real inquiry every 20-30 seconds. How can i fix this or at least to make this delay smaller?

regards,
Ermal Mino.

---------------------------------
Yahoo! Messenger: chiamate gratuite in tutto il mondo

#1 lore raw

Hi Ermal.
Try to use the flag IREQ_CACHE_FLUSH with hci_inquiry().

regards,
-
Cezar

2006/1/4, ermal mino <[email protected]>:

Quoted 7 lines

Hi,

I made a program wich searches for bluettooth devices continuously. I saw that until about 20-30 seconds from the first inquiry the results that were given to me were the same as the first one.

I don't know if i explained it well, in a few words it makes a real inqui=

ry

Quoted 10 lines

every 20-30 seconds.
How can i fix this or at least to make this delay smaller?

regards,
Ermal Mino.

________________________________
Yahoo! Messenger: chiamate gratuite in tutto il mondo

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

author
#2 lore raw

Thank you Cesar,
it worked fine.
Regards.

Cezar Sá Espinola <[email protected]> ha scritto:
Hi Ermal.
Try to use the flag IREQ_CACHE_FLUSH with hci_inquiry().

regards,
-
Cezar

2006/1/4, ermal mino :

Quoted 10 lines

Hi,

I made a program wich searches for bluettooth devices continuously. I saw that until about 20-30 seconds from the first inquiry the results that were given to me were the same as the first one.

I don't know if i explained it well, in a few words it makes a real inquiry every 20-30 seconds.
How can i fix this or at least to make this delay smaller?

Quoted 7 lines

regards,
Ermal Mino.

________________________________
Yahoo! Messenger: chiamate gratuite in tutto il mondo

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

---------------------------------
Yahoo! Mail: gratis 1GB per i messaggi, antispam, antivirus, POP3