2007-04-23 10:12:52

by Robert Rawlins

[permalink] [raw]
Subject: [Bluez-users] Write error: Too many links

Hello Guys,

I'm getting a Write error: Too many links when I try to connect to more than 4 devices using RFCOMM for an ObexPush. My understanding was that we should be able to establish 7 ACL connections, however once I've done 4 the chip seems to not respond to further commands, so SDP enquiries return 0 results and things like that.

The code I'm using to test this is quite simple.

result1 = bluetooth.find_service(None,'1105','00:17:B0:A0:E7:09')
print result1[0]['port']
popen2.popen2('ussp-push 00:17:B0:A0:E7:09@9 /pblue/Mmmmmmy.gif Mmmmmmy.gif')

result2 = bluetooth.find_service(None,'1105','00:13:70:D9:71:45')
print result2[0]['port']
popen2.popen2('ussp-push 00:13:70:D9:71:45@9 /pblue/Mmmmmmy.gif Mmmmmmy.gif')

result3 = bluetooth.find_service(None,'1105','00:0F:DE:26:26:CE')
print result3[0]['port']
popen2.popen2('ussp-push 00:0F:DE:26:26:CE@10 /pblue/Mmmmmmy.gif Mmmmmmy.gif')

result4 = bluetooth.find_service(None,'1105','00:0F:DE:A8:AB:6F')
print result4[0]['port']
popen2.popen2('ussp-push 00:0F:DE:A8:AB:6F@6 /pblue/Mmmmmmy.gif Mmmmmmy.gif')

result5 = bluetooth.find_service(None,'1105','00:18:13:AD:80:13')
print result5[0]['port']
popen2.popen2('ussp-push 00:18:13:AD:80:13@6 /pblue/Mmmmmmy.gif Mmmmmmy.gif')

result6 = bluetooth.find_service(None,'1105','00:12:EE:35:DC:AB')
print result6[0]['port']
popen2.popen2('ussp-push 00:12:EE:35:DC:AB@6 /pblue/Mmmmmmy.gif Mmmmmmy.gif')


It does the first 4 perfectly, but on device 5 I start getting this error message. I'm using a CSR ver2.0 +EDR chip for this and thought it would be up to the job, any ideas on this?

Thanks again guys,

Rob
_________________________________________________________________
Try Live.com - your fast, personalized homepage with all the things you care about in one place.
http://www.live.com/getstarted


Attachments:
(No filename) (286.00 B)
(No filename) (164.00 B)
Download all attachments