2004-07-15 23:06:49

by Stefan Mischke

[permalink] [raw]
Subject: [Bluez-devel] 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


2004-07-16 06:37:09

by Collin R. Mulliner

[permalink] [raw]
Subject: Re: [Bluez-devel] SDP service example

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

--
Collin R. Mulliner <[email protected]>
BETAVERSiON Systems [http://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

2004-07-16 06:38:26

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] SDP service example

Hi Stefan,

> 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