Skip to contentSkip to conversation

Multiply connections to different phones via different dongles at same time

Bluez-devel Vikulov Yuriy 2 participants 3 messages Feb 19, 2006 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hello everybody!

I have problem.
I can't create more than one connection to different phones.
It means that I create rfcomm connection to one phone and no more to others. I'm using forks. I can find all devices, all phones and needed rfcomm channel May be someone can help me and give me a piece of source code for solving my problem? or give me some advices?

Thanks for reading and answers

P.S.
Sorry for my english

-------------------------------------------------------
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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#1 lore raw

Hi Vikulov,

Quoted 5 lines

I can't create more than one connection to different phones.
It means that I create rfcomm connection to one phone and no more to others. I'm using forks. I can find all devices, all phones and needed rfcomm channel May be someone can help me and give me a piece of source code for solving my problem? or give me some advices?

looks like your Bluetooth hardware might be too old and doesn't support multiple connections. Check with "hciconfig hci0 version revision".

Regards

Marcel

-------------------------------------------------------
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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#2 lore raw
Quoted 5 lines · Marcel Holtmann <marcel <at> holtmann.org> writes:

Hi Vikulov,

Quoted 2 lines

I can't create more than one connection to different phones. It means that I create rfcomm connection to one phone and no more to

others.

Quoted 1 line
Quoted 1 line

I'm using forks. I can find all devices, all phones and needed rfcomm

channel

Quoted 1 line
Quoted 1 line

May be someone can help me and give me a piece of source code for solving

my

Quoted 7 lines
Quoted 1 line

problem? or give me some advices?

looks like your Bluetooth hardware might be too old and doesn't support multiple connections. Check with "hciconfig hci0 version revision".

Regards

Quoted 8 lines

Marcel

-------------------------------------------------------
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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642

Thanks, Marcel

I think I have decided my problem.
In one fork I tried to send data (my own obex implementation) and in another I tried to get RFCOMM channel. At this moment the second fork did nothing( no result).

I solved my problem this way:

At the begging of any transmitting data I got needed RFCOMM channels of all phones I had found and saved them to array.

May be I wrong, but after this I can make different connections via different dongles(one dongle to one phone,another dongle to another phone and so on)

Thanks for answer

P.S.

Sorry for my English

-------------------------------------------------------
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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel