Hi Pavan, * Marcel Holtmann <marcel@xxxxxxxxxxxx> [2010-04-13 17:59:32 -0700]: > Hi Pavan, > > > Is there a possibility as of now for me to extract the l2cap connection ID into my application ? > > > > I require 2 sets of information about an L2CAP connection in my bluetooth application, I require the connection ID on connection to a remote headset/sink, and also the maximum packet size for that connection (which I think is the MTU, I can get via the getsockopt). > > you need a recent kernel and then getsockname() and getpeername() will > give you the SCID and DCID. Sorry for the wrong info, I didn't know about that calls inside L2CAP. ;) -- Gustavo F. Padovan http://padovan.org -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html