This project has moved. For the latest updates, please go here.

How to get Services available on device

Topics: Bluetooth - Other, Project Management Forum, Samples
May 15, 2013 at 8:10 AM
Hi,
How to find Services available on another device, like whether it contains headset profile, filetransfer profile or not..
Coordinator
May 15, 2013 at 9:27 AM
The BluetoothDeviceInfo class provides a method to receive service records. There is a sample app SdpBrowserDesktop which demonstrates how to query supported services.
May 15, 2013 at 10:07 AM
Edited May 15, 2013 at 10:09 AM
Is this the code you are saying about


ServiceRecord[] recs = bdi.GetServiceRecords(BluetoothService.ObexObjectPush);




If it is so, IS it finding service w.r.t OBEXOBJECTPUSH?

I want to know what are the other services remote device is supporting

and also SDPBROWSER DESKTOP is in VB...

Can you tell me in C#
May 15, 2013 at 10:34 AM
Hi,
I got it we have to search each and every profile whether exists or not....


one more thing...How to respond to pinrequest which is coming from Remote device..

Can you explaing me with example