2008-03-27 02:10:10

by I-Chung Chane

[permalink] [raw]
Subject: [Bluez-users] sdptool add service

Hi there:

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.

2.>rfcomm listen 1 1
Need to run sdptool add SP to register SPP service to sdpd.

Am I correct?

Thanks a lot,

Chane


Attachments:
(No filename) (278.00 B)
(No filename) (164.00 B)
Download all attachments

2008-03-27 14:58:35

by Marcel Holtmann

[permalink] [raw]
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

2008-04-08 01:39:20

by I-Chung Chane

[permalink] [raw]
Subject: Re: [Bluez-users] sdptool add service

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
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users