32feet icon indicating copy to clipboard operation
32feet copied to clipboard

How to get SDP Info

Open DatenThielt opened this issue 3 years ago • 5 comments

Afternoon, I am connecting to a controller and I am looking to browse the attributes for the InstalledServices, However I can only seem to get the GUID , and cannot find a way to use that GUID to get the Attributes information I am looking for,

Did I miss something? Thanks!

DatenThielt avatar Jul 26 '21 16:07 DatenThielt

Just an update I can see this was available with the 3.5-3.7 Libaries but I would love to be able to do this in the latest version of the library, however sill have not found the GetServiceRecords(guid record) or its equivalent

DatenThielt avatar Jul 27 '21 15:07 DatenThielt

I was also trying to use the GetServiceRecords method with the new libraries but realized it is not available and couldn't find an equivalent. InstalledServices doesn't do the same thing.

Though, this likely isn't a bug/issue - more of a lack of user knowledge / failure to properly read documentation.

bl1980 avatar Mar 29 '22 12:03 bl1980

I have also been struggling with GetServiceRecords not being available in the current version. I am trying to identify if the remote server is listening on the ObexObjectPush service either using sdp or ServiceName. How can I achieve this?

DavidR5 avatar Jul 05 '23 23:07 DavidR5

Hi, while it doesn't currently have the full service records available, you can get a list of services using BluetoothDeviceInfo.GetRfcommServicesAsync which will return a list of UUIDs of services supported - you can check this for ObexObjectPush to see if the server supports that service.

peterfoot avatar Jul 06 '23 12:07 peterfoot

BluetoothService has static fields for the Uuids of all the well known Rfcomm services.

peterfoot avatar Jul 06 '23 12:07 peterfoot