SDP service example
Hi!
I'm looking for a small example to show me how to write my own SDP service? Particularly, I'd like to know where exactly the service functions of my new service are bound to SDP. I looked into the souce code, but I couldn't find it. I almost suppose SDP just provides the L2CAP channel id where the new service is listening or how does it work? Sorry, I'm not so much into this Linux developer thing and I have not yet found any good documentation. I'm also looking for docs how this Linux/Unix socket interface stuff works (preferably in German ;-). Yes, I checked the manpages, but they are not quite explanatory.
Thanks for any help!
Kind regards
Stefan
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi,
just look into the code of dund (from the bluez-utils package) the file you're interested in is dund/sdp.c it shows you how to register and/or unregister a service. It's simple and clear.
... Collin
Signature · 15 lines
Collin R. Mulliner <[email protected]> BETAVERSiON Systems [www.betaversion.net] info/pgp: finger [email protected] Life is hard, but unfair! ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Bluez-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bluez-devel
Marcel Holtmann
maintainerHi Stefan,
Quoted 9 lines
I'm looking for a small example to show me how to write my own SDP service? Particularly, I'd like to know where exactly the service functions of my new service are bound to SDP. I looked into the souce code, but I couldn't find it. I almost suppose SDP just provides the L2CAP channel id where the new service is listening or how does it work? Sorry, I'm not so much into this Linux developer thing and I have not yet found any good documentation. I'm also looking for docs how this Linux/Unix socket interface stuff works (preferably in German ;-). Yes, I checked the manpages, but they are not quite explanatory.
look at the source code of pand, dund or sdptool.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel