Skip to contentSkip to conversation

browsing non-public services?

Bluez-devel Simon Vogl 3 participants 10 messages Feb 24, 2004 2 messages not in the archive Bluetooth drivers

lore
Share & tools
lore

Simon Vogl

author
#0 lore raw

Hi,
can I retrieve service information on non-public services? My nokia phone= s
show an SDP-entry for service class 0x5555 that the phones also inquire w= hen
connecting, now I'd like to see what is registered there...

Cheers,
Simon

--=20
_______________________________________________________________________
Dr. Simon Vogl
Institut f=C3=BCr Pervasive Computing, Johannes Kepler Universit=C3=A4t L= inz
Altenberger Stra=C3=9Fe 69, A-4040 Linz, Austria

Tel: +43 732 2468-8517, Fax: +43 732 2468-8426
mailto: [email protected], http://www.soft.uni-linz.ac.at/

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#1 lore raw

Hi Simon,

Quoted 3 lines

can I retrieve service information on non-public services? My nokia phones show an SDP-entry for service class 0x5555 that the phones also inquire when connecting, now I'd like to see what is registered there...

read the manpage or use "sdptool -h" ;)

	sdptool search --bdaddr <bdaddr> --tree 0x5555

Must be something vendor specific. Please show us the output.

Regards

Marcel

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#2 lore raw

Hi,

Quoted 4 lines
Quoted 4 lines

can I retrieve service information on non-public services? My nokia phones show an SDP-entry for service class 0x5555 that the phones also inquire when connecting, now I'd like to see what is registered there...

I bet that 0x5555 refers to RFCOMM channel 17,18 or both ;-)

... Collin

Signature · 15 lines
Collin R. Mulliner <[email protected]>
BATAVERSiON Systems [www.betaversion.net]
info/pgp: finger [email protected]
Don't ask me! I don't use windoze!


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
maintainer
#3 lore raw

Hi Collin,

Quoted 6 lines
Quoted 4 lines
Quoted 4 lines

can I retrieve service information on non-public services? My nokia phones show an SDP-entry for service class 0x5555 that the phones also inquire when connecting, now I'd like to see what is registered there...

I bet that 0x5555 refers to RFCOMM channel 17,18 or both ;-)

what is on RFCOMM channel 17 and 18? On channel 14 we have the Nokia PC Suite FBUS protocol for Bluetooth.

My Nokia 6310 has a UUID128 that starts with 0x5555

	Sequence
	        Attribute 0x0000 - Service record handle
	                UINT32 0x00010008
	        Attribute 0x0001 - Service class ID list
	                Sequence
	                        UUID128 00005555-0000-1000-8000-0002ee000001
	        Attribute 0x0300
	                UINT16 0x005f

Maybe this is only checked to activate some Nokia<->Nokia special features. For example remote PIN code or name change.

Regards

Marcel

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#4 lore raw

Hi Marcel,

the Nokia 6310 has a serial port running on RFCOMM 17 and/or 18 which allows you to connect and fire AT commands, without having a pairing.

See:
http://www.betaversion.net/btdsd/db/Nokia6310i.txt
http://www.saftware.de/bluetooth/btxml.c

... Collin

Signature · 16 lines
Collin R. Mulliner <[email protected]>
BATAVERSiON Systems [www.betaversion.net]
info/pgp: finger [email protected]
Code written before 10:00 pm will be replaced by code written after
2:00am


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
maintainer
#5 lore raw

Hi Collin,

Quoted 2 lines

the Nokia 6310 has a serial port running on RFCOMM 17 and/or 18 which allows you to connect and fire AT commands, without having a pairing.

are you sure? Using attest with my Nokia 6310 on channel 17 or 18, I get a connection refused message.

Regards

Marcel

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

A message that is not in the archive (sent off-list or not yet received): 20040224142400.212a912f@coredump

maintainer
#7 lore raw

Hi Collin,

Quoted 2 lines

yes I'm sure - a friend of me test this very well (he wrote btxml.c). There for I thought 0x5555 would be the "key" to these two channels.

then there is a difference between 6310 and 6310i, because the Nokia 6310 have no service on RFCOMM channel 17 and 18. Phonebook reading without pairing goes through OBEX.

The btxml.c is much too complex for this and there is no need to go through a TTY device for it. I can be done directly through a socket. Maybe he should look at attest.c for an example.

I need the output of "sdptest records <bdaddr-6310i>" to see if this model has more hidden SDP records.

Regards

Marcel

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

A message that is not in the archive (sent off-list or not yet received): 20040224144209.3b34125d@coredump

maintainer
#9 lore raw

Hi Collin,

Quoted 4 lines
Quoted 2 lines

I need the output of "sdptest records <bdaddr-6310i>" to see if this model has more hidden SDP records.

sdptest, where is it? in the CVS?

you can found it under libs2/test/sdptest.c in CVS.

Regards

Marcel

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

author
#10 lore raw
In reply to Marcel Holtmann
Quoted 8 lines · Marcel Holtmann

Hi Simon,

Quoted 3 lines

can I retrieve service information on non-public services? My nokia phones show an SDP-entry for service class 0x5555 that the phones also inquire when connecting, now I'd like to see what is registered there...

Quoted 6 lines

read the manpage or use "sdptool -h" ;)

	sdptool search --bdaddr <bdaddr> --tree 0x5555

Must be something vendor specific. Please show us the output.

tried that already, but with no luck. From hcidump, I see that this is a 128bit uuid - how can I specify this as an argument??
Cheers
Simon

Quoted 4 lines

Regards

Marcel

Signature · 7 lines
_______________________________________________________________________
Dr. Simon Vogl
Institut für Pervasive Computing, Johannes Kepler Universität Linz
Altenberger Straße 69, A-4040 Linz, Austria

Tel: +43 732 2468-8517, Fax: +43 732 2468-8426
mailto: [email protected],  http://www.soft.uni-linz.ac.at/
maintainer
#11 lore raw

Hi Simon,

Quoted 2 lines

tried that already, but with no luck. From hcidump, I see that this is a 128bit uuid - how can I specify this as an argument??

I think sdptool isn't capable of it. Write your own code or use sdptest from libs2/test CVS repository.

sdptest records <bdaddr>

Regards

Marcel

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel