* [Bluez-users] Timeout on sdp_connect()
@ 2007-02-23 11:26 Marco Pracucci
2007-02-25 23:51 ` Marcel Holtmann
0 siblings, 1 reply; 4+ messages in thread
From: Marco Pracucci @ 2007-02-23 11:26 UTC (permalink / raw)
To: Bluez Users ML
Hi,
I would like to set a timeout on sdp_connect(), because the default
socket timeout is too high for my application. Is there any way to do it?
Thanks,
Marco Pracucci
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-users] Timeout on sdp_connect()
2007-02-23 11:26 [Bluez-users] Timeout on sdp_connect() Marco Pracucci
@ 2007-02-25 23:51 ` Marcel Holtmann
2007-02-26 9:22 ` Marco Pracucci
0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2007-02-25 23:51 UTC (permalink / raw)
To: BlueZ users
Hi Marco,
> I would like to set a timeout on sdp_connect(), because the default
> socket timeout is too high for my application. Is there any way to do it?
my guess is that you wanna modify the page timeout. Look up on that.
Regards
Marcel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-users] Timeout on sdp_connect()
2007-02-25 23:51 ` Marcel Holtmann
@ 2007-02-26 9:22 ` Marco Pracucci
2007-02-26 9:25 ` Marcel Holtmann
0 siblings, 1 reply; 4+ messages in thread
From: Marco Pracucci @ 2007-02-26 9:22 UTC (permalink / raw)
To: BlueZ users
Hi Marcel,
>> I would like to set a timeout on sdp_connect(), because the default
>> socket timeout is too high for my application. Is there any way to do it?
>>
>
> my guess is that you wanna modify the page timeout. Look up on that.
>
No.
Sometimes it happens that the paging is done successfully but, for any
reason, the L2CAP connection to the remote SDP server fails with a
"Connection timeout". This could happen when the remote device exits
from the coverage area of the device that created the connection.
However, the default timeout is too high for my application, so I would
like to decrease it. Is there any way to do it?
Thanks,
Marco Pracucci
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-users] Timeout on sdp_connect()
2007-02-26 9:22 ` Marco Pracucci
@ 2007-02-26 9:25 ` Marcel Holtmann
0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2007-02-26 9:25 UTC (permalink / raw)
To: BlueZ users
Hi Marco,
> >> I would like to set a timeout on sdp_connect(), because the default
> >> socket timeout is too high for my application. Is there any way to do it?
> >
> > my guess is that you wanna modify the page timeout. Look up on that.
> >
> No.
> Sometimes it happens that the paging is done successfully but, for any
> reason, the L2CAP connection to the remote SDP server fails with a
> "Connection timeout". This could happen when the remote device exits
> from the coverage area of the device that created the connection.
> However, the default timeout is too high for my application, so I would
> like to decrease it. Is there any way to do it?
if I remember correctly then this is hardcoded into the SDP part of the
Bluetooth library.
Regards
Marcel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-02-26 9:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-23 11:26 [Bluez-users] Timeout on sdp_connect() Marco Pracucci
2007-02-25 23:51 ` Marcel Holtmann
2007-02-26 9:22 ` Marco Pracucci
2007-02-26 9:25 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox