re: Limit to number of incoming channels?
re: Limit to number of incoming channels?
- Subject: re: Limit to number of incoming channels?
- From: luc bergevin <email@hidden>
- Date: Thu, 6 May 2004 10:01:59 -0400
hi,
I'm not sure about the Apple implementation of Bluetooth, but at the
baseband level of the protocol stack, the hardware divise the timeline
into slots. These slots are grouped by packets of 6, which may be use
differently depending of the quality of service. One normal use is:
--- link 1 sends
--- link 1 receives
--- link 2 sends
--- link 2 receives
--- link 3 sends
--- link 3 receives
If Apple's implementation uses only one link for all the rfcomm
channels, then there should be as much channels as you want, with a
lower quality for a bigger number of channels. But if the
implementation creates one link for each channel, then you are blocked
at 3 channels. And the hardware may reserve one link for his own needs,
which would block you at 2 channels.
I hope it helps.
luc bergevin, student.
Okay,
After redesigning my app to run a separate process for each BT
device, I
have a new problem.
As each process starts, it attempts to set up and add a service.
It then
registers for incoming connections. Once connection is complete, the
main
process launches another sub-process which repeats the procedure.
My first process launches and sets up channel 1.
A device connects on channel 1. A new process is started which
sets up
channel 2.
A device connects on channel 2. A new process is started which
stes up
channel 4. (What happened to channel 3?)
I try to connect a third device, but to no avail. No notification
ever
gets called. The device can't connect. If I disconnect one of the
first 2
devices, then the third device will successfully connect in on channel
4.
So I'm wondering, is there a limit to the number of incoming
channels I
can set up?
I was able to connect more than 2 incoming devices with my old,
single
process design. But that design only set up 1 channel.
...Thanx...
...Eric...
_______________________________________________
bluetooth-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/bluetooth-dev
Do not post admin requests to the list. They will be ignored.