Skip to contentSkip to conversation

Timeout on sdp_connect()

Bluez-users Marco Pracucci 2 participants 4 messages Feb 23, 2007 – Feb 26, 2007 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi Marco,

Quoted 2 lines

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw

Hi Marcel,

Quoted 6 lines
Quoted 3 lines

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#3 lore raw

Hi Marco,

Quoted 5 lines
Quoted 5 lines
Quoted 2 lines

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.

Quoted 7 lines

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users