Hi,
I have one question to the folks in Bluez group. I saw that we have to specify channel for L2CAP and RFCOMM connections:
struct sockaddr_rc rfcommclient = { 0 };
rfcommclient.rc_channel = channel;
Since Bluetooth uses frequency hopping and hops from one channel to another what is the need to specify this field??
Also, I see that throughout the L2CAP or RFCOMM connections it shows the same PSM value(one we specify for the channel) in the hcidump.
Does that mean no hopping is taking place ??
I am sorry if its a silly question but expecting an answer ??
thanks
robert.
---------------------------------
Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool.
Hi Robert,
> I have one question to the folks in Bluez group. I saw that we have to
> specify channel for L2CAP and RFCOMM connections:
>
> struct sockaddr_rc rfcommclient = { 0 };
>
> rfcommclient.rc_channel = channel;
>
> Since Bluetooth uses frequency hopping and hops from one channel to
> another what is the need to specify this field??
>
> Also, I see that throughout the L2CAP or RFCOMM connections it shows
> the same PSM value(one we specify for the channel) in the hcidump.
>
> Does that mean no hopping is taking place ??
>
> I am sorry if its a silly question but expecting an answer ??
you might wanna read the specification again. I know it is big, but you
mixed up a couple of things here. The RFCOMM channels and L2CAP PSMs are
part of the multiplexing (like TCP port numbers). They have nothing to
do with any frequency hopping inside the Bluetooth radio.
Regards
Marcel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users