Skip to contentSkip to conversation

Question regarding sdptool

Bluez-users Charles-Edouard Ruault 3 participants 4 messages Oct 7, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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.

Signature · 13 lines
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
#1 lore raw

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?

Quoted 15 lines · Charles-Edouard Ruault

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.

Signature · 2 lines
Stephen Crane, Rococo Software Ltd. http://www.rococosoft.com
[email protected] +353-1-6601315 (ext 209)
maintainer
#2 lore raw
In reply to Charles-Edouard Ruault

Hi Charles,

Quoted 10 lines

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

#3 lore raw
Quoted 17 lines · Marcel Holtmann

Hi Charles,

Quoted 12 lines

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 ?

Quoted 5 lines

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.

Quoted 17 lines

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

Signature · 13 lines
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