tags:

views:

10

answers:

0

Hi,

In my application on android phones I create server socekt using method:

BluetoothServerSocket mmServerSocket = mAdapter.listenUsingRfcommWithServiceRecord( "MyName", UUID.fromString("00001101-0000-1000-8000-00805F9B34FB") );

Then, I use Usb bluetooth stick to discover which sdp services are available

On ubuntu I use commands: "hcitool scan" and then "sdptool browse XX:XX:XX:XX:XX:XX"

On HTC Desire and Samsung GalaxyS i9000 (android 2.1 update1) - sevice is available but without name!

On HTC G2 Touch, HTC Legend (android 2.1 update1) - services is available but "Service name: Generic service"

On HTC Nexus One (android 2.1 update1 and android 2.2) and Motorola Milestone (android 2.1 update1)- service is available and with properly name "Service name: MyName".

Does anybody know why HTC Desire, HTC Legend, HTC G2 Touch and Samsung GalaxyS i9000 set wrong service name? Or how to force properly name?

Is it possible that something wrong with bluetooth stack on that phones?

Properly service name is important to me.

Sory for my english. Thanks for all advice.