All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ka Kin Cheung <michaelhku2002@yahoo.com.hk>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Re: adding sdp service record attributes
Date: Sat, 19 Mar 2005 20:37:11 +0800 (CST)	[thread overview]
Message-ID: <20050319123711.14688.qmail@web60901.mail.yahoo.com> (raw)
In-Reply-To: 6667

Hi Marcel!
    I've set the SDP service profile and the
attributes for headset and set the class of my
computer to headset. Then my T610 can search my Linux
PC as headset. However, when I pressed "connect" item,
the phone tried to connect to the PC, but then the
phone showed "Bluetooth connection failed". Is there
any thing that I need to set in my PC, or how to
modify my sdp program so that the phone can connect to
PC?
    My steps are as follows:
1.run my sdp program to add service and set the
attributes.
2.change the class of my PC to be the one of headset.
3.let T610 to search my PC and then connect to PC.
    Is there anything wrong here?
    Thank you very much.
Michael

--- Marcel Holtmann <marcel@holtmann.org> wrote:
> Hi Andreas,
> 
> > > 1.Is there any extra thing I have to put so that
> the
> > > service record and attributes are set in my PC
> > > permanently and not being erased after reboot?
> > 
> > Small shell script ?
> 
> there is no shell script needed, because if you
> wanna run a server then
> you need to write a program (and start it) that
> fulfils this job. The
> same program can create the SDP record when it
> starts.
> 
> > > 2.After I add the service record and attribute,
> I wish
> > > to let T610 to search my PC as headset. So, is
> there
> > > any extra thing that I have to put in my code?
> > 
> > I guess you has to change your device class of
> your BT-device to phone. Please 
> > have a look into the hcid config file.
> 
> You must set yourself to the headset class of device
> (0x200404).
> 
> > > 3.Is it possible that to browse the services in
> T610,
> > > and even other mobile devices, and then add the
> > > service records and attributes automatically?
> > 
> > Where? In our own SDP database? What would you
> like to reach with those?
> 
> No it is not possible and it also makes no sense at
> all.
> 
> Regards
> 
> Marcel
> 
> 
> 
> 
>
-------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT
> Products from real users.
> Discover which products truly live up to the hype.
> Start reading now.
>
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/bluez-users
> 

_______________________________________________________________________
Yahoo! 工具列 - 內置防止彈出視窗工能!
http://toolbar.yahoo.com.hk


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

             reply	other threads:[~2005-03-19 12:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-19 12:37 Ka Kin Cheung [this message]
2005-03-22 12:16 ` [Bluez-users] Re: adding sdp service record attributes Andreas
  -- strict thread matches above, loose matches on Subject: below --
2005-03-24 14:38 Ka Kin Cheung
2005-03-23 13:42 Ka Kin Cheung
2005-03-24  9:27 ` Marcel Holtmann
2005-03-18 14:28 Ka Kin Cheung
2005-03-18 10:44 [Bluez-users] " Ka Kin Cheung
2005-03-18 13:13 ` [Bluez-users] " Andreas
2005-03-18 15:33   ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050319123711.14688.qmail@web60901.mail.yahoo.com \
    --to=michaelhku2002@yahoo.com.hk \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.