avdtp over l2cap
A message that is not in the archive (sent off-list or not yet received): 1061384470.10494.48.camel@pegasus
I am trying place avdtp layer over l2cap layer with the existing bluez stack.
I have just come up with basic socket implementation for avdtp.
I am not sure whether existing l2cap layer supports avdp, and whether i need to make any changes to it. As far as i could understand all the layers above l2cap have there psm set, and l2cap layer is not aware of these values.
I understand the BTPROTO has been defined for l2cap,rfcomm,bnep, sco from 0-4 and while registering it checks for the value less than 5, so if need to register avdtp as BTPROTO_AVDTP 5 , i have to modify the condition.
What else do i need to do , so that i can send and receive messages through avdtp sockets ?
Also I am not sure about the Socket Option level (SOL_AVDTP) value for AVDTP ?
I quite new to this kernel programming stuff , so pardon me if my question is too naive .
Thanks,
Aarti.
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
Hi Aarti,
Quoted 12 lines
I am trying place avdtp layer over l2cap layer with the existing bluez stack.
I have just come up with basic socket implementation for avdtp.
I am not sure whether existing l2cap layer supports avdp, and whether i need to make any changes to it. As far as i could understand all the layers above l2cap have there psm set, and l2cap layer is not aware of these values.
I understand the BTPROTO has been defined for l2cap,rfcomm,bnep, sco from 0-4 and while registering it checks for the value less than 5, so if need to
Quoted 8 lines
register avdtp as
BTPROTO_AVDTP5 , i have to modify the condition.
What else do i need to do , so that i can send and receive messages through avdtp sockets ? Also I am not sure about the Socket Option level (SOL_AVDTP) value for AVDTP ?
I quite new to this kernel programming stuff , so pardon me if my question is too naive .
some time ago I also looked at the AVDTP and you don't need to write a kernel module for it. It can be done in userspace like SDP, OBEX, HCRP etc.
Regards
Marcel
-------------------------------------------------------
This SF.net email is sponsored by Dice.com.
Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi,
So you suggest that i can have the implementation of audio video tranport protocol in the userspace itself. This means that i dont need to have socket ineterface for audio video distribution protocol , instead i will have the program which will be using l2cap sockets and forming a connection between two devices.
What i think is audio video tranfer protocol should be implemented as module (like bnep, rfcomm and sco) and regisered in bluetooth stack. The profile development or the application using this will be in userspace (like pand and sdp).
Thats it for now.
Thanks,
Aarti.
--- Marcel Holtmann <[email protected]>
Quoted 37 lines · wrote:
Hi Aarti,
Quoted 1 line
I am trying place avdtp layer over l2cap layer
with
Quoted 2 lines
the existing bluez stack.
I have just come up with basic socketimplementation
Quoted 2 lines
for avdtp.
I am not sure whether existing l2cap layersupports
Quoted 1 line
avdp, and whether i need to make any changes to
it. As
Quoted 1 line
far as i could understand all the layers above
l2cap
Quoted 1 line
have there psm set, and l2cap layer is not aware
of
Quoted 3 lines
these values.
I understand the BTPROTO has been defined for l2cap,rfcomm,bnep, sco from 0-4 and whileregistering
Quoted 2 lines
it checks for the value less than 5, so if need to register avdtp as
BTPROTO_AVDTP5 , i have tomodify
Quoted 7 lines
the condition.
What else do i need to do , so that i can send and receive messages through avdtp sockets ? Also I am not sure about the Socket Option level (SOL_AVDTP) value for AVDTP ?
I quite new to this kernel programming stuff , so pardon me if my question is too naive .some time ago I also looked at the AVDTP and you don't need to write a
kernel module for it. It can be done in userspace like SDP, OBEX, HCRP
etc.
Quoted 5 lines
Regards
Marcel
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
Hi Aarti,
Quoted 7 lines
So you suggest that i can have the implementation of audio video tranport protocol in the userspace itself. This means that i dont need to have socket ineterface for audio video distribution protocol , instead i will have the program which will be using l2cap sockets and forming a connection between two devices.
Quoted 5 lines
What i think is audio video tranfer protocol should be implemented as module (like bnep, rfcomm and sco) and regisered in bluetooth stack. The profile development or the application using this will be in userspace (like pand and sdp).
take another deep look into the AVDTP spec. and you will see that it adopts the two major protocols RTP and RTCP. The TCP/IP implementation of both protocols fits perfect into userspace and so should AVDTP do as well. The AVDTP has not to interact with any other kernel subsystems and so there is no need to put it into the kernel.
Regards
Marcel
-------------------------------------------------------
This SF.net email is sponsored by Dice.com.
Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel