public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] Connections
@ 2006-06-07 21:00 markusv
  2006-06-07 21:11 ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: markusv @ 2006-06-07 21:00 UTC (permalink / raw)
  To: bluez-devel

hi
I have created a bluetooth service and registeret it. Doing sdptool browse
local shows me my service. So the registering should have gone fine. But I
wonder how i listen for connections to that service? How do I receive
connections made to my service from other bluetooth devices in my C
program. Any code examples on this?

thanks
Markus






_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [Bluez-devel] connections
@ 2006-11-28 14:35 mark bernard
  2006-11-28 14:57 ` Peter Wippich
  0 siblings, 1 reply; 5+ messages in thread
From: mark bernard @ 2006-11-28 14:35 UTC (permalink / raw)
  To: bluez-devel

hi,
im trying to connect 7 devices on bluetooth, but i get stuck at 3 devices.
the 4th device refuses to connect.
http://by108fd.bay108.hotmail.msn.com/cgi-bin/compose?&curmbox=00000000%2d0000%2d0000%2d0000%2d000000000001&a=d56e940c65c89244b0be101733a1c79516289b6786b97bffd0ecea592e886438#
Verzenden
the message i got from hcidump is:

>ACL data: handle 42 flags 0x02 dlen 12
   L2CAP(s): Connect req: psm 4097 scid 0x0040
< ACL data: handle 42 flags 0x02 dlen 16
   L2CAP(s): Connect rsp: dcid 0x0000 scid 0x0040 result 4 status 0
         Connection refused - no resources available

then it starts disconnecting this device.
connection 3 devices works good, and i can send messages to every of them. 
but connecting 4 or more will refuse the connection. "no resources 
available", what does that mean? how can i fix that?


Gr,
mark

_________________________________________________________________
Typ je SMS sneller binnen Messenger 
http://join.msn.com/mobile-Messaging/overview


-------------------------------------------------------------------------
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-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

end of thread, other threads:[~2006-12-07 10:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-07 21:00 [Bluez-devel] Connections markusv
2006-06-07 21:11 ` Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2006-11-28 14:35 [Bluez-devel] connections mark bernard
2006-11-28 14:57 ` Peter Wippich
2006-12-07 10:48   ` Steven Singer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox