2005-10-07 08:52:34

by Charles-Edouard Ruault

[permalink] [raw]
Subject: [Bluez-users] Question regarding sdptool

Hi All,

i'm developping a Midlet using JSR82 on a Nokia 6680.
The midlet is running as a server and therefore registers a service in
the device SDP.
I had been desperately trying to see if everything was going ok on the
device using sdptool browse add and i was not seeing my service ...
I was getting kind of desperate since everything was looking fine in my
code when i tried using
sdptool records btaddr and there i saw my service listed !
Can someone explain the difference between the browse & records options
of sdptool ?
Thanks in advance !
Regards.

--
Charles-Edouard Ruault
GPG key Id E4D2B80C



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2005-10-07 09:50:53

by Charles-Edouard Ruault

[permalink] [raw]
Subject: Re: [Bluez-users] Question regarding sdptool

Marcel Holtmann wrote:

>Hi Charles,
>
>
>
>>i'm developping a Midlet using JSR82 on a Nokia 6680.
>>The midlet is running as a server and therefore registers a service in
>>the device SDP.
>>I had been desperately trying to see if everything was going ok on the
>>device using sdptool browse add and i was not seeing my service ...
>>I was getting kind of desperate since everything was looking fine in my
>>code when i tried using
>>sdptool records btaddr and there i saw my service listed !
>>Can someone explain the difference between the browse & records options
>>of sdptool ?
>>
>>
>
>the browse command looks for records in the public browse group and the
>records command brute forces the record handles 0x10000 onwards.
>
>
>
Ok so that means that my sevice has not been added to the public browse
group ... I'll try to figure out how to do that with JSR82
Sorry for the basic questions but i'm just getting started with
bluetooth and i still have a lot to learn !
Thanks for the explanation ! Things are getting clearer now.

>Regards
>
>Marcel
>
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by:
>Power Architecture Resource Center: Free content, downloads, discussions,
>and more. http://solutions.newsforge.com/ibmarch.tmpl
>_______________________________________________
>Bluez-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/bluez-users
>
>


--
Charles-Edouard Ruault
GPG key Id E4D2B80C



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-10-07 09:38:06

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Question regarding sdptool

Hi Charles,

> i'm developping a Midlet using JSR82 on a Nokia 6680.
> The midlet is running as a server and therefore registers a service in
> the device SDP.
> I had been desperately trying to see if everything was going ok on the
> device using sdptool browse add and i was not seeing my service ...
> I was getting kind of desperate since everything was looking fine in my
> code when i tried using
> sdptool records btaddr and there i saw my service listed !
> Can someone explain the difference between the browse & records options
> of sdptool ?

the browse command looks for records in the public browse group and the
records command brute forces the record handles 0x10000 onwards.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-10-07 09:11:07

by Stephen Crane

[permalink] [raw]
Subject: Re: [Bluez-users] Question regarding sdptool

Hi Charles-Eduard,
This is off-topic for the group but perhaps you're not adding the
browse-group attribute to the service record you're advertising?

On Fri, 2005-10-07 at 10:52 +0200, Charles-Edouard Ruault wrote:
> Hi All,
>
> i'm developping a Midlet using JSR82 on a Nokia 6680.
> The midlet is running as a server and therefore registers a service in
> the device SDP.
> I had been desperately trying to see if everything was going ok on the
> device using sdptool browse add and i was not seeing my service ...
> I was getting kind of desperate since everything was looking fine in my
> code when i tried using
> sdptool records btaddr and there i saw my service listed !
> Can someone explain the difference between the browse & records options
> of sdptool ?
> Thanks in advance !
> Regards.
>
--
Stephen Crane, Rococo Software Ltd. http://www.rococosoft.com
[email protected] +353-1-6601315 (ext 209)


Attachments:
signature.asc (189.00 B)
This is a digitally signed message part