2005-03-18 10:44:04

by Ka Kin Cheung

[permalink] [raw]
Subject: Re: [Bluez-users] adding sdp service record attributes

Hi all!
I've coded myself about how to add SDP services
and its attributes. But everytime I reboot Linux, the
service record handle and attribute do not exist, so I
have to run my program every time so that the record
and attribute are set. Also, even though I added the
headset service in my PC, T610 still searched my PC as
computer, not headset instead. So, I wish to ask 3
questions:
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?
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?
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?
Attached is my code that I've written referencing
to sdptool.c. Hope you can give me solution about it.
Thank you very much.
Michael

_______________________________________________________________________
Yahoo! ?u???C - ???m?????u?X?????u???I
http://toolbar.yahoo.com.hk


Attachments:
bic_sdp2.c (41.63 kB)
bic_sdp2.c