Re: sdptool add service

<[email protected]>
Newsgroups gmane.linux.bluez.user
Message-ID <[email protected]>
Hi, there:

Thanks for the reply.

Hi, there:

Thanks for the reply.

I observe that "sdptool add SP" always sets rfcomm channel to 1.
Thus, "rfcomm listen 0 2" which should set channel to 2 does not
correctly set to SDP's service record for other rfcomm clients
to use channel 2 to make rfcomm connection.

Is there any way to set rfcomm channel to SDP's service record
in addition to channel 1 ?

Thanks a lot,

Chane

----- Original Message ----- 
From: "Marcel Holtmann" <[email protected]>
To: "BlueZ users" <[email protected]>
Sent: Thursday, March 27, 2008 10:58 PM
Subject: Re: [Bluez-users] sdptool add service


> Hi Chane,
>
>> Do I need to add service manually using sdptool add? I got different
>> results using pand and rfcomm listen as servers.
>>
>> 1. >pand -s -M --role=NAP
>> After run the command above, no need to run "sdptool add NAP". The
>> service is already registered to sdpd.
>
> the pand will register service records for you. Why are you not using
> the network service?
>
>> 2.>rfcomm listen 1 1
>> Need to run sdptool add SP to register SPP service to sdpd.
>
> Yes, you need to register your own service record. However using the
> serial service might be a better idea here.
>
> Regards
>
> Marcel
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.